Lines Matching defs:fs_devices
413 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices()
429 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids() local
439 static bool match_fsid_fs_devices(const struct btrfs_fs_devices *fs_devices, in match_fsid_fs_devices()
457 struct btrfs_fs_devices *fs_devices; in find_fsid() local
522 struct btrfs_fs_devices *fs_devices, *tmp_fs_devices; in btrfs_free_stale_devices() local
642 static int btrfs_open_one_device(struct btrfs_fs_devices *fs_devices, in btrfs_open_one_device()
734 struct btrfs_fs_devices *fs_devices = NULL; in device_list_add() local
940 struct btrfs_fs_devices *fs_devices; in clone_fs_devices() local
992 static void __btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices, in __btrfs_free_extra_devids()
1040 void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices) in btrfs_free_extra_devids()
1071 struct btrfs_fs_devices *fs_devices = device->fs_devices; in btrfs_close_one_device() local
1119 static void close_fs_devices(struct btrfs_fs_devices *fs_devices) in close_fs_devices()
1138 void btrfs_close_devices(struct btrfs_fs_devices *fs_devices) in btrfs_close_devices()
1169 static int open_fs_devices(struct btrfs_fs_devices *fs_devices, in open_fs_devices()
1217 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, in btrfs_open_devices()
2065 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_rm_device() local
2233 struct btrfs_fs_devices *fs_devices; in btrfs_rm_dev_replace_remove_srcdev() local
2260 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev() local
2287 struct btrfs_fs_devices *fs_devices = tgtdev->fs_info->fs_devices; in btrfs_destroy_dev_replace_tgtdev() local
2411 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_sprout() local
2457 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_setup_sprout() local
2588 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_new_device() local
3138 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_remove_chunk() local
5159 struct btrfs_fs_devices *fs_devices, in init_alloc_chunk_ctl_policy_regular()
5180 struct btrfs_fs_devices *fs_devices, in init_alloc_chunk_ctl_policy_zoned()
5212 static void init_alloc_chunk_ctl(struct btrfs_fs_devices *fs_devices, in init_alloc_chunk_ctl()
5240 static int gather_device_info(struct btrfs_fs_devices *fs_devices, in gather_device_info()
5396 static int decide_stripe_size(struct btrfs_fs_devices *fs_devices, in decide_stripe_size()
5603 struct btrfs_fs_devices *fs_devices = info->fs_devices; in btrfs_create_chunk() local
6723 const struct btrfs_fs_devices *fs_devices) in dev_args_match_fs_devices()
6756 struct btrfs_device *btrfs_find_device(const struct btrfs_fs_devices *fs_devices, in btrfs_find_device()
6781 static struct btrfs_device *add_missing_dev(struct btrfs_fs_devices *fs_devices, in add_missing_dev()
7088 struct btrfs_fs_devices *fs_devices; in open_seed_devices() local
7144 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in read_one_dev() local
7549 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices, *seed_devs; in btrfs_init_devices_late() local
7643 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices, *seed_devs; in btrfs_init_dev_stats() local
7743 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_run_dev_stats() local
7818 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_get_dev_stats() local