Lines Matching refs:btrfs_fs_devices
136 static struct btrfs_fs_devices *__alloc_fs_devices(void) in __alloc_fs_devices()
138 struct btrfs_fs_devices *fs_devs; in __alloc_fs_devices()
163 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid) in alloc_fs_devices()
165 struct btrfs_fs_devices *fs_devs; in alloc_fs_devices()
179 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices()
208 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids()
212 struct btrfs_fs_devices, list); in btrfs_cleanup_fs_uuids()
256 static noinline struct btrfs_fs_devices *find_fsid(u8 *fsid) in find_fsid()
258 struct btrfs_fs_devices *fs_devices; in find_fsid()
530 struct btrfs_fs_devices *fs_devs; in btrfs_free_stale_device()
592 u64 devid, struct btrfs_fs_devices **fs_devices_ret) in device_list_add()
595 struct btrfs_fs_devices *fs_devices; in device_list_add()
708 static struct btrfs_fs_devices *clone_fs_devices(struct btrfs_fs_devices *orig) in clone_fs_devices()
710 struct btrfs_fs_devices *fs_devices; in clone_fs_devices()
755 void btrfs_close_extra_devices(struct btrfs_fs_devices *fs_devices, int step) in btrfs_close_extra_devices()
838 static int __btrfs_close_devices(struct btrfs_fs_devices *fs_devices) in __btrfs_close_devices()
859 int btrfs_close_devices(struct btrfs_fs_devices *fs_devices) in btrfs_close_devices()
861 struct btrfs_fs_devices *seed_devices = NULL; in btrfs_close_devices()
887 static int __btrfs_open_devices(struct btrfs_fs_devices *fs_devices, in __btrfs_open_devices()
973 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, in btrfs_open_devices()
995 struct btrfs_fs_devices **fs_devices_ret) in btrfs_scan_one_device()
1697 struct btrfs_fs_devices *cur_devices; in btrfs_rm_device()
1864 struct btrfs_fs_devices *fs_devices; in btrfs_rm_device()
1956 struct btrfs_fs_devices *fs_devices; in btrfs_rm_dev_replace_remove_srcdev()
1987 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev()
1999 struct btrfs_fs_devices *tmp_fs_devices; in btrfs_rm_dev_replace_free_srcdev()
2108 struct btrfs_fs_devices *fs_devices = root->fs_info->fs_devices; in btrfs_prepare_sprout()
2109 struct btrfs_fs_devices *old_devices; in btrfs_prepare_sprout()
2110 struct btrfs_fs_devices *seed_devices; in btrfs_prepare_sprout()
2611 struct btrfs_fs_devices *fs_devices; in btrfs_grow_device()
4490 struct btrfs_fs_devices *fs_devices = info->fs_devices; in __btrfs_alloc_chunk()
6106 struct btrfs_fs_devices *cur_devices; in btrfs_find_device()
6123 struct btrfs_fs_devices *fs_devices, in add_missing_dev()
6307 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_root *root, in open_seed_devices()
6310 struct btrfs_fs_devices *fs_devices; in open_seed_devices()
6366 struct btrfs_fs_devices *fs_devices = root->fs_info->fs_devices; in read_one_dev()
6618 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_devices_late()
6644 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_dev_stats()
6770 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_run_dev_stats()
6834 struct btrfs_fs_devices *fs_devices = root->fs_info->fs_devices; in btrfs_get_dev_stats()
6901 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_update_commit_device_size()
6945 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_set_fs_info_ptr()
6954 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_reset_fs_info_ptr()
6963 struct btrfs_fs_devices *fs_devices = device->fs_devices; in btrfs_close_one_device()