Lines Matching defs: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() local
415 struct btrfs_fs_devices *fs_devices; in find_fsid() local
735 struct btrfs_fs_devices *fs_devices, *tmp_fs_devices; in btrfs_free_stale_devices() local
781 static int btrfs_open_one_device(struct btrfs_fs_devices *fs_devices, in btrfs_open_one_device()
861 struct btrfs_fs_devices *fs_devices; in find_fsid_inprogress() local
879 struct btrfs_fs_devices *fs_devices; in find_fsid_changed() local
911 struct btrfs_fs_devices *fs_devices = NULL; in device_list_add() local
1115 struct btrfs_fs_devices *fs_devices; in clone_fs_devices() local
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() local
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()
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()
2095 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_rm_device() local
2244 struct btrfs_fs_devices *fs_devices; in btrfs_rm_dev_replace_remove_srcdev() local
2272 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev() local
2311 struct btrfs_fs_devices *fs_devices = tgtdev->fs_info->fs_devices; in btrfs_destroy_dev_replace_tgtdev() local
2414 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_prepare_sprout() local
2556 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_new_device() local
2974 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_remove_chunk() local
4913 struct btrfs_fs_devices *fs_devices = info->fs_devices; in __btrfs_alloc_chunk() local
6594 struct btrfs_device *btrfs_find_device(struct btrfs_fs_devices *fs_devices, in btrfs_find_device()
6619 static struct btrfs_device *add_missing_dev(struct btrfs_fs_devices *fs_devices, in add_missing_dev()
6858 struct btrfs_fs_devices *fs_devices; in open_seed_devices() local
6914 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in read_one_dev() local
7289 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_devices_late() local
7329 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_dev_stats() local
7453 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_run_dev_stats() local
7531 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_get_dev_stats() local
7626 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_set_fs_info_ptr() local
7635 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_reset_fs_info_ptr() local