Lines Matching refs:btrfs_fs_devices

254 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid)  in alloc_fs_devices()
256 struct btrfs_fs_devices *fs_devs; in alloc_fs_devices()
281 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices()
309 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids()
313 struct btrfs_fs_devices, fs_list); in btrfs_cleanup_fs_uuids()
357 static noinline struct btrfs_fs_devices *find_fsid(u8 *fsid) in find_fsid()
359 struct btrfs_fs_devices *fs_devices; in find_fsid()
622 struct btrfs_fs_devices *fs_devices, *tmp_fs_devices; in btrfs_free_stale_devices()
671 static int btrfs_open_one_device(struct btrfs_fs_devices *fs_devices, in btrfs_open_one_device()
749 struct btrfs_fs_devices *fs_devices; in device_list_add()
909 static struct btrfs_fs_devices *clone_fs_devices(struct btrfs_fs_devices *orig) in clone_fs_devices()
911 struct btrfs_fs_devices *fs_devices; in clone_fs_devices()
961 void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices, int step) in btrfs_free_extra_devids()
1038 struct btrfs_fs_devices *fs_devices = device->fs_devices; in btrfs_close_one_device()
1078 static int close_fs_devices(struct btrfs_fs_devices *fs_devices) in close_fs_devices()
1099 int btrfs_close_devices(struct btrfs_fs_devices *fs_devices) in btrfs_close_devices()
1101 struct btrfs_fs_devices *seed_devices = NULL; in btrfs_close_devices()
1121 static int open_fs_devices(struct btrfs_fs_devices *fs_devices, in open_fs_devices()
1164 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, in btrfs_open_devices()
1849 struct btrfs_fs_devices *fs_devs, struct btrfs_device *device) in btrfs_find_next_active_device()
1894 struct btrfs_fs_devices *cur_devices; in btrfs_rm_device()
1895 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_rm_device()
2035 struct btrfs_fs_devices *fs_devices; in btrfs_rm_dev_replace_remove_srcdev()
2063 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev()
2075 struct btrfs_fs_devices *tmp_fs_devices; in btrfs_rm_dev_replace_free_srcdev()
2101 struct btrfs_fs_devices *fs_devices = tgtdev->fs_info->fs_devices; in btrfs_destroy_dev_replace_tgtdev()
2217 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_prepare_sprout()
2218 struct btrfs_fs_devices *old_devices; in btrfs_prepare_sprout()
2219 struct btrfs_fs_devices *seed_devices; in btrfs_prepare_sprout()
2359 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_new_device()
2628 struct btrfs_fs_devices *fs_devices; in btrfs_grow_device()
2782 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_remove_chunk()
4619 struct btrfs_fs_devices *fs_devices = info->fs_devices; in __btrfs_alloc_chunk()
6267 struct btrfs_device *btrfs_find_device(struct btrfs_fs_devices *fs_devices, in btrfs_find_device()
6292 static struct btrfs_device *add_missing_dev(struct btrfs_fs_devices *fs_devices, in add_missing_dev()
6516 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_fs_info *fs_info, in open_seed_devices()
6519 struct btrfs_fs_devices *fs_devices; in open_seed_devices()
6575 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in read_one_dev()
6958 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_devices_late()
6984 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_dev_stats()
7111 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_run_dev_stats()
7189 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_get_dev_stats()
7259 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_update_commit_device_size()
7304 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_set_fs_info_ptr()
7313 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_reset_fs_info_ptr()