Searched refs:devs (Results 1 – 12 of 12) sorted by relevance
/fs/crypto/ |
D | inline_crypt.c | 27 struct block_device **devs; in fscrypt_get_devices() local 30 devs = sb->s_cop->get_devices(sb, num_devs); in fscrypt_get_devices() 31 if (devs) in fscrypt_get_devices() 32 return devs; in fscrypt_get_devices() 34 devs = kmalloc(sizeof(*devs), GFP_KERNEL); in fscrypt_get_devices() 35 if (!devs) in fscrypt_get_devices() 37 devs[0] = sb->s_bdev; in fscrypt_get_devices() 39 return devs; in fscrypt_get_devices() 72 struct block_device **devs, in fscrypt_log_blk_crypto_impl() argument 80 blk_crypto_config_supported_natively(devs[i], cfg)) { in fscrypt_log_blk_crypto_impl() [all …]
|
/fs/erofs/ |
D | super.c | 240 if (sbi->devs->extra_devices && in erofs_scan_devices() 241 ondisk_extradevs != sbi->devs->extra_devices) { in erofs_scan_devices() 243 ondisk_extradevs, sbi->devs->extra_devices); in erofs_scan_devices() 251 down_read(&sbi->devs->rwsem); in erofs_scan_devices() 252 if (sbi->devs->extra_devices) { in erofs_scan_devices() 253 idr_for_each_entry(&sbi->devs->tree, dif, id) { in erofs_scan_devices() 266 err = idr_alloc(&sbi->devs->tree, dif, 0, 0, GFP_KERNEL); in erofs_scan_devices() 271 ++sbi->devs->extra_devices; in erofs_scan_devices() 278 up_read(&sbi->devs->rwsem); in erofs_scan_devices() 513 down_write(&ctx->devs->rwsem); in erofs_fc_parse_param() [all …]
|
D | data.c | 205 struct erofs_dev_context *devs = EROFS_SB(sb)->devs; in erofs_map_dev() local 216 down_read(&devs->rwsem); in erofs_map_dev() 217 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev() 219 up_read(&devs->rwsem); in erofs_map_dev() 226 up_read(&devs->rwsem); in erofs_map_dev() 227 } else if (devs->extra_devices) { in erofs_map_dev() 228 down_read(&devs->rwsem); in erofs_map_dev() 229 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev() 247 up_read(&devs->rwsem); in erofs_map_dev()
|
D | internal.h | 89 struct erofs_dev_context *devs; member 136 struct erofs_dev_context *devs; member
|
/fs/nfs/ |
D | callback_xdr.c | 275 args->devs = kmalloc_array(n, sizeof(*args->devs), GFP_KERNEL); in decode_devicenotify_args() 276 if (!args->devs) { in decode_devicenotify_args() 283 struct cb_devicenotifyitem *dev = &args->devs[i]; in decode_devicenotify_args() 335 kfree(args->devs); in decode_devicenotify_args() 337 args->devs = NULL; in decode_devicenotify_args()
|
D | callback.h | 174 struct cb_devicenotifyitem *devs; member
|
D | callback_proc.c | 372 struct cb_devicenotifyitem *dev = &args->devs[i]; in nfs4_callback_devicenotify() 384 kfree(args->devs); in nfs4_callback_devicenotify()
|
/fs/f2fs/ |
D | super.c | 1583 kvfree(sbi->devs); in destroy_device_list() 3170 struct block_device **devs; in f2fs_get_devices() local 3176 devs = kmalloc_array(sbi->s_ndevs, sizeof(*devs), GFP_KERNEL); in f2fs_get_devices() 3177 if (!devs) in f2fs_get_devices() 3181 devs[i] = FDEV(i).bdev; in f2fs_get_devices() 3183 return devs; in f2fs_get_devices() 4055 sbi->devs = f2fs_kzalloc(sbi, in f2fs_scan_devices() 4059 if (!sbi->devs) in f2fs_scan_devices()
|
D | gc.c | 2065 le32_to_cpu(raw_sb->devs[last_dev].total_segments); in update_sb_metadata() 2067 raw_sb->devs[last_dev].total_segments = in update_sb_metadata()
|
D | f2fs.h | 1234 #define FDEV(i) (sbi->devs[i]) 1235 #define RDEV(i) (raw_super->devs[i]) 1716 struct f2fs_dev_info *devs; /* for device list */ member
|
D | data.c | 1584 struct f2fs_dev_info *dev = &sbi->devs[bidx]; in f2fs_map_blocks_cached()
|
/fs/ext4/ |
D | Kconfig | 112 in TAP format (https://testanything.org/). Only useful for kernel devs
|