Lines Matching refs:btrfs_fs_devices

372 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid,  in alloc_fs_devices()
375 struct btrfs_fs_devices *fs_devs; in alloc_fs_devices()
408 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices()
423 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids()
427 struct btrfs_fs_devices, fs_list); in btrfs_cleanup_fs_uuids()
433 static noinline struct btrfs_fs_devices *find_fsid( in find_fsid()
436 struct btrfs_fs_devices *fs_devices; in find_fsid()
455 static struct btrfs_fs_devices *find_fsid_with_metadata_uuid( in find_fsid_with_metadata_uuid()
459 struct btrfs_fs_devices *fs_devices; in find_fsid_with_metadata_uuid()
557 struct btrfs_fs_devices *fs_devices, *tmp_fs_devices; in btrfs_free_stale_devices()
608 static int btrfs_open_one_device(struct btrfs_fs_devices *fs_devices, in btrfs_open_one_device()
685 static struct btrfs_fs_devices *find_fsid_inprogress( in find_fsid_inprogress()
688 struct btrfs_fs_devices *fs_devices; in find_fsid_inprogress()
703 static struct btrfs_fs_devices *find_fsid_changed( in find_fsid_changed()
706 struct btrfs_fs_devices *fs_devices; in find_fsid_changed()
738 static struct btrfs_fs_devices *find_fsid_reverted_metadata( in find_fsid_reverted_metadata()
741 struct btrfs_fs_devices *fs_devices; in find_fsid_reverted_metadata()
775 struct btrfs_fs_devices *fs_devices = NULL; in device_list_add()
986 static struct btrfs_fs_devices *clone_fs_devices(struct btrfs_fs_devices *orig) in clone_fs_devices()
988 struct btrfs_fs_devices *fs_devices; in clone_fs_devices()
1036 static void __btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices, in __btrfs_free_extra_devids()
1083 void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices) in btrfs_free_extra_devids()
1086 struct btrfs_fs_devices *seed_dev; in btrfs_free_extra_devids()
1114 struct btrfs_fs_devices *fs_devices = device->fs_devices; in btrfs_close_one_device()
1161 static void close_fs_devices(struct btrfs_fs_devices *fs_devices) in close_fs_devices()
1180 void btrfs_close_devices(struct btrfs_fs_devices *fs_devices) in btrfs_close_devices()
1183 struct btrfs_fs_devices *tmp; in btrfs_close_devices()
1198 static int open_fs_devices(struct btrfs_fs_devices *fs_devices, in open_fs_devices()
1248 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, in btrfs_open_devices()
1974 struct btrfs_fs_devices *fs_devs, struct btrfs_device *device) in btrfs_find_next_active_device()
2079 struct btrfs_fs_devices *cur_devices; in btrfs_rm_device()
2080 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_rm_device()
2237 struct btrfs_fs_devices *fs_devices; in btrfs_rm_dev_replace_remove_srcdev()
2264 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev()
2291 struct btrfs_fs_devices *fs_devices = tgtdev->fs_info->fs_devices; in btrfs_destroy_dev_replace_tgtdev()
2393 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_prepare_sprout()
2394 struct btrfs_fs_devices *old_devices; in btrfs_prepare_sprout()
2395 struct btrfs_fs_devices *seed_devices; in btrfs_prepare_sprout()
2541 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_new_device()
3007 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_remove_chunk()
5007 struct btrfs_fs_devices *fs_devices, in init_alloc_chunk_ctl_policy_regular()
5038 struct btrfs_fs_devices *fs_devices, in init_alloc_chunk_ctl_policy_zoned()
5070 static void init_alloc_chunk_ctl(struct btrfs_fs_devices *fs_devices, in init_alloc_chunk_ctl()
5098 static int gather_device_info(struct btrfs_fs_devices *fs_devices, in gather_device_info()
5251 static int decide_stripe_size(struct btrfs_fs_devices *fs_devices, in decide_stripe_size()
5384 struct btrfs_fs_devices *fs_devices = info->fs_devices; in btrfs_alloc_chunk()
6765 struct btrfs_device *btrfs_find_device(struct btrfs_fs_devices *fs_devices, in btrfs_find_device()
6769 struct btrfs_fs_devices *seed_devs; in btrfs_find_device()
6796 static struct btrfs_device *add_missing_dev(struct btrfs_fs_devices *fs_devices, in add_missing_dev()
7097 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_fs_info *fs_info, in open_seed_devices()
7100 struct btrfs_fs_devices *fs_devices; in open_seed_devices()
7155 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in read_one_dev()
7580 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices, *seed_devs; in btrfs_init_devices_late()
7667 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices, *seed_devs; in btrfs_init_dev_stats()
7767 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_run_dev_stats()
7845 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_get_dev_stats()