Home
last modified time | relevance | path

Searched refs:err (Results 1 – 20 of 20) sorted by relevance

/block/
A Dsed-opal.c1276 int err; in generic_get_columns() local
1294 if (err) in generic_get_columns()
1336 int err; in gen_key() local
1383 int err; in get_active_key() local
1387 if (err) in get_active_key()
1391 if (err) in get_active_key()
1404 int err; in generic_table_write_data() local
1470 int err; in generic_lr_enable_disable() local
1507 int err; in enable_global_lr() local
1511 if (err) in enable_global_lr()
[all …]
A Dblk-crypto-profile.c161 if (err) in devm_blk_crypto_profile_init()
162 return err; in devm_blk_crypto_profile_init()
254 int err; in blk_crypto_get_keyslot() local
296 if (err) { in blk_crypto_get_keyslot()
369 int err; in __blk_crypto_evict_key() local
376 return err; in __blk_crypto_evict_key()
388 err = 0; in __blk_crypto_evict_key()
408 return err; in __blk_crypto_evict_key()
431 int err; in blk_crypto_reprogram_all_keys() local
490 int err; in blk_crypto_derive_sw_secret() local
[all …]
A Dblk-crypto-fallback.c96 int err; in blk_crypto_fallback_evict_keyslot() local
103 WARN_ON(err); in blk_crypto_fallback_evict_keyslot()
115 int err; in blk_crypto_fallback_keyslot_program() local
124 if (err) { in blk_crypto_fallback_keyslot_program()
126 return err; in blk_crypto_fallback_keyslot_program()
538 int err; in blk_crypto_fallback_init() local
546 if (err) in blk_crypto_fallback_init()
559 if (err) in blk_crypto_fallback_init()
617 return err; in blk_crypto_fallback_init()
644 if (err) in blk_crypto_fallback_start_using_mode()
[all …]
A Dioctl.c128 int err; in blk_ioctl_discard() local
143 if (err) in blk_ioctl_discard()
149 if (err) in blk_ioctl_discard()
172 err = 0; in blk_ioctl_discard()
188 int err; in blk_ioctl_secure_erase() local
208 if (!err) in blk_ioctl_secure_erase()
222 int err; in blk_ioctl_zeroout() local
247 if (err) in blk_ioctl_zeroout()
803 int err; in blkdev_cmd_discard() local
812 if (err) in blkdev_cmd_discard()
[all …]
A Dblk-integrity.c279 int err; in flag_store() local
281 err = kstrtoul(page, 10, &val); in flag_store()
282 if (err) in flag_store()
283 return err; in flag_store()
292 err = queue_limits_commit_update_frozen(q, &lim); in flag_store()
293 if (err) in flag_store()
294 return err; in flag_store()
A Dblk-sysfs.c42 int err; in queue_var_store() local
45 err = kstrtoul(page, 10, &v); in queue_var_store()
46 if (err || v > UINT_MAX) in queue_var_store()
68 int ret, err; in queue_requests_store() local
85 if (err) in queue_requests_store()
86 ret = err; in queue_requests_store()
438 int err; in queue_io_timeout_store() local
442 if (err || val == 0) in queue_io_timeout_store()
575 int err; in queue_var_store64() local
579 if (err < 0) in queue_var_store64()
[all …]
A Dblk-crypto-sysfs.c168 int err; in blk_crypto_sysfs_register() local
178 err = kobject_init_and_add(&obj->kobj, &blk_crypto_ktype, in blk_crypto_sysfs_register()
180 if (err) { in blk_crypto_sysfs_register()
182 return err; in blk_crypto_sysfs_register()
A Dblk-pm.c120 void blk_post_runtime_suspend(struct request_queue *q, int err) in blk_post_runtime_suspend() argument
126 if (!err) { in blk_post_runtime_suspend()
134 if (err) in blk_post_runtime_suspend()
A Delevator.c746 int err; in elevator_set_default() local
766 err = elevator_change(q, &ctx); in elevator_set_default()
767 if (err < 0) in elevator_set_default()
769 ctx.name, err); in elevator_set_default()
779 int err; in elevator_set_none() local
781 err = elevator_change(q, &ctx); in elevator_set_none()
782 if (err < 0) in elevator_set_none()
783 pr_warn("%s: set none elevator failed %d\n", __func__, err); in elevator_set_none()
A Dblk-crypto.c454 int err; in blk_crypto_evict_key() local
457 err = __blk_crypto_evict_key(q->crypto_profile, key); in blk_crypto_evict_key()
459 err = blk_crypto_fallback_evict_key(key); in blk_crypto_evict_key()
468 if (err) in blk_crypto_evict_key()
469 pr_warn_ratelimited("%pg: error %d evicting key\n", bdev, err); in blk_crypto_evict_key()
A Dblk-ioc.c246 int err; in set_task_ioprio() local
258 err = security_task_setioprio(task, ioprio); in set_task_ioprio()
259 if (err) in set_task_ioprio()
260 return err; in set_task_ioprio()
A Dbdev.c120 int err = bd_prepare_to_claim(bdev, truncate_bdev_range, NULL); in truncate_bdev_range() local
121 if (err) in truncate_bdev_range()
441 int err; in bdev_cache_init() local
447 err = register_filesystem(&bd_type); in bdev_cache_init()
448 if (err) in bdev_cache_init()
A Dblk-settings.c311 int err; in blk_validate_limits() local
476 err = blk_validate_integrity_limits(lim); in blk_validate_limits()
477 if (err) in blk_validate_limits()
478 return err; in blk_validate_limits()
A Dfops.c479 int err; in blkdev_writepages() local
482 while ((folio = writeback_iter(mapping, wbc, folio, &err))) in blkdev_writepages()
483 err = block_write_full_folio(folio, wbc, blkdev_get_block); in blkdev_writepages()
486 return err; in blkdev_writepages()
A Dblk-iocost.c3136 goto err; in ioc_weight_write()
3160 err: in ioc_weight_write()
3233 goto err; in ioc_qos_write()
3240 goto err; in ioc_qos_write()
3247 goto err; in ioc_qos_write()
3357 err: in ioc_qos_write()
3424 goto err; in ioc_cost_model_write()
3430 goto err; in ioc_cost_model_write()
3437 goto err; in ioc_cost_model_write()
3505 err: in ioc_cost_model_write()
A Dblk-mq.c2660 int err; in blk_mq_bio_to_request() local
2674 err = blk_crypto_rq_bio_prep(rq, bio, GFP_NOIO); in blk_mq_bio_to_request()
2675 WARN_ON_ONCE(err); in blk_mq_bio_to_request()
4674 int err; in blk_mq_alloc_set_map_and_rqs() local
4678 err = __blk_mq_alloc_rq_maps(set); in blk_mq_alloc_set_map_and_rqs()
4679 if (!err) in blk_mq_alloc_set_map_and_rqs()
4684 err = -ENOMEM; in blk_mq_alloc_set_map_and_rqs()
4689 if (!set->queue_depth || err) { in blk_mq_alloc_set_map_and_rqs()
A Dkyber-iosched.c362 goto err; in kyber_queue_data_alloc()
398 err: in kyber_queue_data_alloc()
/block/partitions/
A Dcore.c120 int i, res, err; in check_partition() local
147 err = res; in check_partition()
159 err = -ENOSPC; in check_partition()
163 if (err) in check_partition()
164 res = err; in check_partition()
302 int err; in add_partition() local
325 err = -ENOMEM; in add_partition()
350 if (err < 0) in add_partition()
366 if (err) in add_partition()
377 if (err) in add_partition()
[all …]
A Defi.c626 int err; in find_valid_gpt() local
628 err = fops->alternative_gpt_sector(disk, &agpt_sector); in find_valid_gpt()
629 if (!err) in find_valid_gpt()
A Dldm.c368 goto err; in ldm_validate_tocblocks()
390 goto err; in ldm_validate_tocblocks()
397 goto err; in ldm_validate_tocblocks()
403 goto err; in ldm_validate_tocblocks()
408 err: in ldm_validate_tocblocks()

Completed in 826 milliseconds