Lines Matching refs:btrfs_fs_devices

314 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid,  in alloc_fs_devices()
317 struct btrfs_fs_devices *fs_devs; in alloc_fs_devices()
348 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices()
363 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids()
367 struct btrfs_fs_devices, fs_list); in btrfs_cleanup_fs_uuids()
412 static noinline struct btrfs_fs_devices *find_fsid( in find_fsid()
415 struct btrfs_fs_devices *fs_devices; in find_fsid()
735 struct btrfs_fs_devices *fs_devices, *tmp_fs_devices; in btrfs_free_stale_devices()
781 static int btrfs_open_one_device(struct btrfs_fs_devices *fs_devices, in btrfs_open_one_device()
858 static struct btrfs_fs_devices *find_fsid_inprogress( in find_fsid_inprogress()
861 struct btrfs_fs_devices *fs_devices; in find_fsid_inprogress()
876 static struct btrfs_fs_devices *find_fsid_changed( in find_fsid_changed()
879 struct btrfs_fs_devices *fs_devices; in find_fsid_changed()
911 struct btrfs_fs_devices *fs_devices = NULL; in device_list_add()
1113 static struct btrfs_fs_devices *clone_fs_devices(struct btrfs_fs_devices *orig) in clone_fs_devices()
1115 struct btrfs_fs_devices *fs_devices; in clone_fs_devices()
1168 void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices, int step) in btrfs_free_extra_devids()
1246 struct btrfs_fs_devices *fs_devices = device->fs_devices; in btrfs_close_one_device()
1282 static int close_fs_devices(struct btrfs_fs_devices *fs_devices) in close_fs_devices()
1303 int btrfs_close_devices(struct btrfs_fs_devices *fs_devices) in btrfs_close_devices()
1305 struct btrfs_fs_devices *seed_devices = NULL; in btrfs_close_devices()
1325 static int open_fs_devices(struct btrfs_fs_devices *fs_devices, in open_fs_devices()
1368 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, in btrfs_open_devices()
2031 struct btrfs_fs_devices *fs_devs, struct btrfs_device *device) in btrfs_find_next_active_device()
2094 struct btrfs_fs_devices *cur_devices; in btrfs_rm_device()
2095 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_rm_device()
2244 struct btrfs_fs_devices *fs_devices; in btrfs_rm_dev_replace_remove_srcdev()
2272 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev()
2285 struct btrfs_fs_devices *tmp_fs_devices; in btrfs_rm_dev_replace_free_srcdev()
2311 struct btrfs_fs_devices *fs_devices = tgtdev->fs_info->fs_devices; in btrfs_destroy_dev_replace_tgtdev()
2414 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_prepare_sprout()
2415 struct btrfs_fs_devices *old_devices; in btrfs_prepare_sprout()
2416 struct btrfs_fs_devices *seed_devices; in btrfs_prepare_sprout()
2556 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_new_device()
2974 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_remove_chunk()
4909 struct btrfs_fs_devices *fs_devices = info->fs_devices; in __btrfs_alloc_chunk()
6590 struct btrfs_device *btrfs_find_device(struct btrfs_fs_devices *fs_devices, in btrfs_find_device()
6615 static struct btrfs_device *add_missing_dev(struct btrfs_fs_devices *fs_devices, in add_missing_dev()
6852 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_fs_info *fs_info, in open_seed_devices()
6855 struct btrfs_fs_devices *fs_devices; in open_seed_devices()
6911 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in read_one_dev()
7286 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_devices_late()
7326 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_dev_stats()
7450 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_run_dev_stats()
7528 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_get_dev_stats()
7623 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_set_fs_info_ptr()
7632 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_reset_fs_info_ptr()