Lines Matching refs:btrfs_fs_devices
56 static struct btrfs_fs_devices *__alloc_fs_devices(void) in __alloc_fs_devices()
58 struct btrfs_fs_devices *fs_devs; in __alloc_fs_devices()
83 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid) in alloc_fs_devices()
85 struct btrfs_fs_devices *fs_devs; in alloc_fs_devices()
99 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices()
128 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids()
132 struct btrfs_fs_devices, list); in btrfs_cleanup_fs_uuids()
176 static noinline struct btrfs_fs_devices *find_fsid(u8 *fsid) in find_fsid()
178 struct btrfs_fs_devices *fs_devices; in find_fsid()
455 u64 devid, struct btrfs_fs_devices **fs_devices_ret) in device_list_add()
458 struct btrfs_fs_devices *fs_devices; in device_list_add()
565 static struct btrfs_fs_devices *clone_fs_devices(struct btrfs_fs_devices *orig) in clone_fs_devices()
567 struct btrfs_fs_devices *fs_devices; in clone_fs_devices()
612 void btrfs_close_extra_devices(struct btrfs_fs_devices *fs_devices, int step) in btrfs_close_extra_devices()
695 static int __btrfs_close_devices(struct btrfs_fs_devices *fs_devices) in __btrfs_close_devices()
745 int btrfs_close_devices(struct btrfs_fs_devices *fs_devices) in btrfs_close_devices()
747 struct btrfs_fs_devices *seed_devices = NULL; in btrfs_close_devices()
773 static int __btrfs_open_devices(struct btrfs_fs_devices *fs_devices, in __btrfs_open_devices()
859 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, in btrfs_open_devices()
881 struct btrfs_fs_devices **fs_devices_ret) in btrfs_scan_one_device()
1553 struct btrfs_fs_devices *cur_devices; in btrfs_rm_device()
1720 struct btrfs_fs_devices *fs_devices; in btrfs_rm_device()
1812 struct btrfs_fs_devices *fs_devices; in btrfs_rm_dev_replace_remove_srcdev()
1843 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev()
1855 struct btrfs_fs_devices *tmp_fs_devices; in btrfs_rm_dev_replace_free_srcdev()
1963 struct btrfs_fs_devices *fs_devices = root->fs_info->fs_devices; in btrfs_prepare_sprout()
1964 struct btrfs_fs_devices *old_devices; in btrfs_prepare_sprout()
1965 struct btrfs_fs_devices *seed_devices; in btrfs_prepare_sprout()
2464 struct btrfs_fs_devices *fs_devices; in btrfs_grow_device()
4222 struct btrfs_fs_devices *fs_devices = info->fs_devices; in __btrfs_alloc_chunk()
5919 struct btrfs_fs_devices *cur_devices; in btrfs_find_device()
5936 struct btrfs_fs_devices *fs_devices, in add_missing_dev()
6118 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_root *root, in open_seed_devices()
6121 struct btrfs_fs_devices *fs_devices; in open_seed_devices()
6177 struct btrfs_fs_devices *fs_devices = root->fs_info->fs_devices; in read_one_dev()
6428 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_devices_late()
6454 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_dev_stats()
6580 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_run_dev_stats()
6644 struct btrfs_fs_devices *fs_devices = root->fs_info->fs_devices; in btrfs_get_dev_stats()
6699 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_update_commit_device_size()