Home
last modified time | relevance | path

Searched refs:devs (Results 1 – 13 of 13) sorted by relevance

/fs/crypto/
Dinline_crypt.c28 struct request_queue *devs[]; member
39 struct request_queue **devs) in fscrypt_get_devices() argument
42 devs[0] = bdev_get_queue(sb->s_bdev); in fscrypt_get_devices()
44 sb->s_cop->get_devices(sb, devs); in fscrypt_get_devices()
76 struct request_queue **devs; in fscrypt_select_encryption_impl() local
113 devs = kmalloc_array(num_devs, sizeof(*devs), GFP_KERNEL); in fscrypt_select_encryption_impl()
114 if (!devs) in fscrypt_select_encryption_impl()
116 fscrypt_get_devices(sb, num_devs, devs); in fscrypt_select_encryption_impl()
119 if (!blk_crypto_config_supported(devs[i], &crypto_cfg)) in fscrypt_select_encryption_impl()
125 kfree(devs); in fscrypt_select_encryption_impl()
[all …]
/fs/erofs/
Dsuper.c276 if (ondisk_extradevs != sbi->devs->extra_devices) { in erofs_init_devices()
278 ondisk_extradevs, sbi->devs->extra_devices); in erofs_init_devices()
286 down_read(&sbi->devs->rwsem); in erofs_init_devices()
287 idr_for_each_entry(&sbi->devs->tree, dif, id) { in erofs_init_devices()
300 up_read(&sbi->devs->rwsem); in erofs_init_devices()
322 up_read(&sbi->devs->rwsem); in erofs_init_devices()
552 down_write(&ctx->devs->rwsem); in erofs_fc_parse_param()
553 ret = idr_alloc(&ctx->devs->tree, dif, 0, 0, GFP_KERNEL); in erofs_fc_parse_param()
554 up_write(&ctx->devs->rwsem); in erofs_fc_parse_param()
560 ++ctx->devs->extra_devices; in erofs_fc_parse_param()
[all …]
Ddata.c156 struct erofs_dev_context *devs = EROFS_SB(sb)->devs; in erofs_map_dev() local
165 down_read(&devs->rwsem); in erofs_map_dev()
166 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev()
168 up_read(&devs->rwsem); in erofs_map_dev()
173 up_read(&devs->rwsem); in erofs_map_dev()
174 } else if (devs->extra_devices) { in erofs_map_dev()
175 down_read(&devs->rwsem); in erofs_map_dev()
176 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev()
192 up_read(&devs->rwsem); in erofs_map_dev()
Dinternal.h81 struct erofs_dev_context *devs; member
110 struct erofs_dev_context *devs; member
/fs/btrfs/
Dreada.c72 struct btrfs_device *devs[BTRFS_MAX_MIRRORS]; /* full list, incl member
275 zone->devs[i] = bbio->stripes[i].dev; in reada_find_zone()
589 peer = radix_tree_lookup(&zone->devs[i]->reada_zones, index); in reada_peer_zones_set_lock()
869 zone->devs[j]->devid); in dump_devs()
896 re->zones[i]->devs[j]->devid); in dump_devs()
928 re->zones[i]->devs[j]->devid); in dump_devs()
Dvolumes.c7692 struct btrfs_fs_devices *devs; in verify_one_dev_extent() local
7694 devs = list_first_entry(&fs_info->fs_devices->seed_list, in verify_one_dev_extent()
7696 dev = btrfs_find_device(devs, devid, NULL, NULL, false); in verify_one_dev_extent()
/fs/nfs/
Dcallback_xdr.c276 args->devs = kmalloc_array(n, sizeof(*args->devs), GFP_KERNEL); in decode_devicenotify_args()
277 if (!args->devs) { in decode_devicenotify_args()
284 struct cb_devicenotifyitem *dev = &args->devs[i]; in decode_devicenotify_args()
336 kfree(args->devs); in decode_devicenotify_args()
338 args->devs = NULL; in decode_devicenotify_args()
Dcallback.h174 struct cb_devicenotifyitem *devs; member
Dcallback_proc.c367 struct cb_devicenotifyitem *dev = &args->devs[i]; in nfs4_callback_devicenotify()
379 kfree(args->devs); in nfs4_callback_devicenotify()
/fs/ext4/
DKconfig112 in TAP format (https://testanything.org/). Only useful for kernel devs
/fs/f2fs/
Dsuper.c1548 kvfree(sbi->devs); in destroy_device_list()
3069 struct request_queue **devs) in f2fs_get_devices() argument
3075 devs[i] = bdev_get_queue(FDEV(i).bdev); in f2fs_get_devices()
3893 sbi->devs = f2fs_kzalloc(sbi, in f2fs_scan_devices()
3897 if (!sbi->devs) in f2fs_scan_devices()
Dgc.c2047 le32_to_cpu(raw_sb->devs[last_dev].total_segments); in update_sb_metadata()
2049 raw_sb->devs[last_dev].total_segments = in update_sb_metadata()
Df2fs.h1242 #define FDEV(i) (sbi->devs[i])
1243 #define RDEV(i) (raw_super->devs[i])
1801 struct f2fs_dev_info *devs; /* for device list */ member