Lines Matching defs:fs_devices
381 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices()
396 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids() local
447 struct btrfs_fs_devices *fs_devices; in find_fsid() local
470 struct btrfs_fs_devices *fs_devices; in find_fsid_with_metadata_uuid() local
600 struct btrfs_fs_devices *fs_devices, *tmp_fs_devices; in btrfs_free_stale_devices() local
649 static int btrfs_open_one_device(struct btrfs_fs_devices *fs_devices, in btrfs_open_one_device()
729 struct btrfs_fs_devices *fs_devices; in find_fsid_inprogress() local
747 struct btrfs_fs_devices *fs_devices; in find_fsid_changed() local
782 struct btrfs_fs_devices *fs_devices; in find_fsid_reverted_metadata() local
816 struct btrfs_fs_devices *fs_devices = NULL; in device_list_add() local
1030 struct btrfs_fs_devices *fs_devices; in clone_fs_devices() local
1078 static void __btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices, in __btrfs_free_extra_devids()
1125 void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices, int step) in btrfs_free_extra_devids()
1156 struct btrfs_fs_devices *fs_devices = device->fs_devices; in btrfs_close_one_device() local
1204 static void close_fs_devices(struct btrfs_fs_devices *fs_devices) in close_fs_devices()
1223 void btrfs_close_devices(struct btrfs_fs_devices *fs_devices) in btrfs_close_devices()
1241 static int open_fs_devices(struct btrfs_fs_devices *fs_devices, in open_fs_devices()
1289 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, in btrfs_open_devices()
2102 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_rm_device() local
2248 struct btrfs_fs_devices *fs_devices; in btrfs_rm_dev_replace_remove_srcdev() local
2275 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev() local
2302 struct btrfs_fs_devices *fs_devices = tgtdev->fs_info->fs_devices; in btrfs_destroy_dev_replace_tgtdev() local
2404 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_prepare_sprout() local
2552 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_new_device() local
2984 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_remove_chunk() local
4907 struct btrfs_fs_devices *fs_devices, in init_alloc_chunk_ctl_policy_regular()
4937 static void init_alloc_chunk_ctl(struct btrfs_fs_devices *fs_devices, in init_alloc_chunk_ctl()
4962 static int gather_device_info(struct btrfs_fs_devices *fs_devices, in gather_device_info()
5083 static int decide_stripe_size(struct btrfs_fs_devices *fs_devices, in decide_stripe_size()
5212 struct btrfs_fs_devices *fs_devices = info->fs_devices; in btrfs_alloc_chunk() local
6510 struct btrfs_device *btrfs_find_device(struct btrfs_fs_devices *fs_devices, in btrfs_find_device()
6542 static struct btrfs_device *add_missing_dev(struct btrfs_fs_devices *fs_devices, in add_missing_dev()
6783 struct btrfs_fs_devices *fs_devices; in open_seed_devices() local
6838 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in read_one_dev() local
7249 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices, *seed_devs; in btrfs_init_devices_late() local
7333 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices, *seed_devs; in btrfs_init_dev_stats() local
7433 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_run_dev_stats() local
7511 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_get_dev_stats() local