Lines Matching refs:btrfs_fs_devices

247 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid)  in alloc_fs_devices()
249 struct btrfs_fs_devices *fs_devs; in alloc_fs_devices()
274 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices()
302 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids()
306 struct btrfs_fs_devices, fs_list); in btrfs_cleanup_fs_uuids()
357 static struct btrfs_device *find_device(struct btrfs_fs_devices *fs_devices, in find_device()
371 static noinline struct btrfs_fs_devices *find_fsid(u8 *fsid) in find_fsid()
373 struct btrfs_fs_devices *fs_devices; in find_fsid()
636 struct btrfs_fs_devices *fs_devices, *tmp_fs_devices; in btrfs_free_stale_devices()
680 static int btrfs_open_one_device(struct btrfs_fs_devices *fs_devices, in btrfs_open_one_device()
758 struct btrfs_fs_devices *fs_devices; in device_list_add()
881 static struct btrfs_fs_devices *clone_fs_devices(struct btrfs_fs_devices *orig) in clone_fs_devices()
883 struct btrfs_fs_devices *fs_devices; in clone_fs_devices()
933 void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices, int step) in btrfs_free_extra_devids()
1019 struct btrfs_fs_devices *fs_devices = device->fs_devices; in btrfs_close_one_device()
1054 static int close_fs_devices(struct btrfs_fs_devices *fs_devices) in close_fs_devices()
1075 int btrfs_close_devices(struct btrfs_fs_devices *fs_devices) in btrfs_close_devices()
1077 struct btrfs_fs_devices *seed_devices = NULL; in btrfs_close_devices()
1097 static int open_fs_devices(struct btrfs_fs_devices *fs_devices, in open_fs_devices()
1140 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, in btrfs_open_devices()
1816 struct btrfs_fs_devices *fs_devs, struct btrfs_device *device) in btrfs_find_next_active_device()
1861 struct btrfs_fs_devices *cur_devices; in btrfs_rm_device()
1862 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_rm_device()
2002 struct btrfs_fs_devices *fs_devices; in btrfs_rm_dev_replace_remove_srcdev()
2030 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev()
2042 struct btrfs_fs_devices *tmp_fs_devices; in btrfs_rm_dev_replace_free_srcdev()
2068 struct btrfs_fs_devices *fs_devices = tgtdev->fs_info->fs_devices; in btrfs_destroy_dev_replace_tgtdev()
2182 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_prepare_sprout()
2183 struct btrfs_fs_devices *old_devices; in btrfs_prepare_sprout()
2184 struct btrfs_fs_devices *seed_devices; in btrfs_prepare_sprout()
2323 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_new_device()
2591 struct btrfs_fs_devices *fs_devices; in btrfs_grow_device()
2745 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_remove_chunk()
4582 struct btrfs_fs_devices *fs_devices = info->fs_devices; in __btrfs_alloc_chunk()
6232 struct btrfs_fs_devices *cur_devices; in btrfs_find_device()
6247 static struct btrfs_device *add_missing_dev(struct btrfs_fs_devices *fs_devices, in add_missing_dev()
6549 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_fs_info *fs_info, in open_seed_devices()
6552 struct btrfs_fs_devices *fs_devices; in open_seed_devices()
6608 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in read_one_dev()
6982 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_devices_late()
7008 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_dev_stats()
7135 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_run_dev_stats()
7213 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_get_dev_stats()
7280 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_update_commit_device_size()
7324 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_set_fs_info_ptr()
7333 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_reset_fs_info_ptr()