Searched refs:fs_devices (Results 1 – 9 of 9) sorted by relevance
/fs/btrfs/ |
D | volumes.c | 75 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices() argument 78 WARN_ON(fs_devices->opened); in free_fs_devices() 79 while (!list_empty(&fs_devices->devices)) { in free_fs_devices() 80 device = list_entry(fs_devices->devices.next, in free_fs_devices() 86 kfree(fs_devices); in free_fs_devices() 91 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids() local 94 fs_devices = list_entry(fs_uuids.next, in btrfs_cleanup_fs_uuids() 96 list_del(&fs_devices->list); in btrfs_cleanup_fs_uuids() 97 free_fs_devices(fs_devices); in btrfs_cleanup_fs_uuids() 118 struct btrfs_fs_devices *fs_devices; in find_fsid() local [all …]
|
D | super.c | 241 struct btrfs_fs_devices **fs_devices) in btrfs_parse_early_options() argument 270 flags, holder, fs_devices); in btrfs_parse_early_options() 296 struct btrfs_fs_devices *fs_devices, in btrfs_fill_super() argument 314 tree_root = open_ctree(sb, fs_devices, (char *)data); in btrfs_fill_super() 398 return root->fs_info->fs_devices == test_fs_devices; in btrfs_test_super() 414 struct btrfs_fs_devices *fs_devices = NULL; in btrfs_get_sb() local 422 &subvol_name, &fs_devices); in btrfs_get_sb() 426 error = btrfs_scan_one_device(dev_name, mode, fs_type, &fs_devices); in btrfs_get_sb() 430 error = btrfs_open_devices(fs_devices, mode, fs_type); in btrfs_get_sb() 434 if (!(flags & MS_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_get_sb() [all …]
|
D | volumes.h | 29 struct btrfs_fs_devices *fs_devices; member 138 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, 142 int btrfs_close_devices(struct btrfs_fs_devices *fs_devices); 143 int btrfs_close_extra_devices(struct btrfs_fs_devices *fs_devices);
|
D | disk-io.c | 128 BTRFS_I(inode)->root->fs_info->fs_devices->latest_bdev; in btree_get_extent() 143 em->bdev = BTRFS_I(inode)->root->fs_info->fs_devices->latest_bdev; in btree_get_extent() 368 struct btrfs_fs_devices *fs_devices = root->fs_info->fs_devices; in check_tree_block_fsid() local 374 while (fs_devices) { in check_tree_block_fsid() 375 if (!memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE)) { in check_tree_block_fsid() 379 fs_devices = fs_devices->seed; in check_tree_block_fsid() 503 info->fs_devices->open_devices); in btrfs_async_submit_limit() 1255 list_for_each_entry(device, &info->fs_devices->devices, dev_list) { in btrfs_congested_fn() 1277 list_for_each_entry(device, &info->fs_devices->devices, dev_list) { in __unplug_io_fn() 1316 if (BTRFS_I(inode)->root->fs_info->fs_devices->open_devices <= 2) { in btrfs_unplug_io_fn() [all …]
|
D | disk-io.h | 48 struct btrfs_fs_devices *fs_devices,
|
D | compression.c | 366 bdev = BTRFS_I(inode)->root->fs_info->fs_devices->latest_bdev; in btrfs_submit_compressed_write() 626 bdev = BTRFS_I(inode)->root->fs_info->fs_devices->latest_bdev; in btrfs_submit_compressed_read()
|
D | inode.c | 611 em->bdev = root->fs_info->fs_devices->latest_bdev; in submit_compressed_extents() 748 em->bdev = root->fs_info->fs_devices->latest_bdev; in cow_file_range() 1083 em->bdev = root->fs_info->fs_devices->latest_bdev; in run_delalloc_nocow() 3911 em->bdev = root->fs_info->fs_devices->latest_bdev; in btrfs_get_extent() 3927 em->bdev = root->fs_info->fs_devices->latest_bdev; in btrfs_get_extent()
|
D | extent-tree.c | 1975 u64 num_devices = root->fs_info->fs_devices->rw_devices; in btrfs_reduce_alloc_profile() 4586 em->bdev = root->fs_info->fs_devices->latest_bdev; in relocate_data_extent() 5962 num_devices = root->fs_info->fs_devices->rw_devices; in update_block_group_flags()
|
D | ctree.h | 786 struct btrfs_fs_devices *fs_devices; member
|