Lines Matching +defs:device +defs:path
403 static void btrfs_free_device(struct btrfs_device *device) in btrfs_free_device()
414 struct btrfs_device *device; in free_fs_devices() local
527 struct btrfs_device *device, *tmp_device; in btrfs_free_stale_devices() local
601 struct btrfs_device *device; in find_fsid_by_device() local
647 struct btrfs_device *device, blk_mode_t flags, in btrfs_open_one_device()
747 struct path path = { .mnt = NULL, .dentry = NULL }; in is_good_dev_path() local
781 struct path path = { .mnt = NULL, .dentry = NULL }; in get_canonical_dev_path() local
812 static bool is_same_device(struct btrfs_device *device, const char *new_path) in is_same_device()
855 static noinline struct btrfs_device *device_list_add(const char *path, in device_list_add()
859 struct btrfs_device *device; in device_list_add() local
1071 struct btrfs_device *device; in clone_fs_devices() local
1125 struct btrfs_device *device, *next; in __btrfs_free_extra_devids() local
1186 static void btrfs_close_bdev(struct btrfs_device *device) in btrfs_close_bdev()
1199 static void btrfs_close_one_device(struct btrfs_device *device) in btrfs_close_one_device()
1252 struct btrfs_device *device, *tmp; in close_fs_devices() local
1303 struct btrfs_device *device; in open_fs_devices() local
1460 const char *path, dev_t devt, in btrfs_skip_registration()
1472 struct btrfs_device *device; in btrfs_skip_registration() local
1509 struct btrfs_device *btrfs_scan_one_device(const char *path, blk_mode_t flags, in btrfs_scan_one_device()
1514 struct btrfs_device *device = NULL; in btrfs_scan_one_device() local
1596 static bool contains_pending_extent(struct btrfs_device *device, u64 *start, in contains_pending_extent()
1617 static u64 dev_extent_search_start(struct btrfs_device *device) in dev_extent_search_start()
1634 static bool dev_extent_hole_check_zoned(struct btrfs_device *device, in dev_extent_hole_check_zoned()
1689 static bool dev_extent_hole_check(struct btrfs_device *device, u64 *hole_start, in dev_extent_hole_check()
1760 static int find_free_dev_extent(struct btrfs_device *device, u64 num_bytes, in find_free_dev_extent()
1767 struct btrfs_path *path; in find_free_dev_extent() local
1904 struct btrfs_device *device, in btrfs_free_dev_extent()
1910 struct btrfs_path *path; in btrfs_free_dev_extent() local
1981 struct btrfs_path *path; in find_next_devid() local
2023 struct btrfs_device *device) in btrfs_add_dev_item()
2026 struct btrfs_path *path; in btrfs_add_dev_item() local
2085 struct path path; in update_dev_time() local
2097 struct btrfs_device *device) in btrfs_rm_dev_item()
2101 struct btrfs_path *path; in btrfs_rm_dev_item() local
2159 struct btrfs_fs_devices *fs_devs, struct btrfs_device *device) in btrfs_find_next_active_device()
2179 void __cold btrfs_assign_next_active_device(struct btrfs_device *device, in btrfs_assign_next_active_device()
2237 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, struct btrfs_device *device) in btrfs_scratch_superblocks()
2264 struct btrfs_device *device; in btrfs_rm_device() local
2531 const char *path) in btrfs_get_dev_args_from_path()
2587 struct btrfs_device *device; in btrfs_find_device_by_devspec() local
2658 struct btrfs_device *device; in btrfs_setup_sprout() local
2710 struct btrfs_path *path; in btrfs_finish_sprout() local
2713 struct btrfs_device *device; in btrfs_finish_sprout() local
2782 struct btrfs_device *device; in btrfs_init_new_device() local
3022 struct btrfs_device *device) in btrfs_update_device()
3025 struct btrfs_path *path; in btrfs_update_device() local
3066 struct btrfs_device *device, u64 new_size) in btrfs_grow_device()
3114 struct btrfs_path *path; in btrfs_free_chunk() local
3357 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk() local
3564 struct btrfs_path *path; in btrfs_relocate_sys_chunks() local
3733 struct btrfs_path *path; in insert_balance_item() local
3781 struct btrfs_path *path; in del_balance_item() local
4149 struct btrfs_path *path = NULL; in __btrfs_balance() local
4776 struct btrfs_path *path; in btrfs_recover_balance() local
4926 int btrfs_shrink_device(struct btrfs_device *device, u64 new_size) in btrfs_shrink_device()
4932 struct btrfs_path *path; in btrfs_shrink_device() local
5308 struct btrfs_device *device; in gather_device_info() local
5497 struct btrfs_device *device = stripe->dev; in chunk_map_device_set_bits() local
5509 struct btrfs_device *device = stripe->dev; in chunk_map_device_clear_bits() local
5765 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item() local
5774 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item() local
5981 const struct btrfs_device *device = map->stripes[index].dev; in btrfs_read_preferred() local
6024 struct btrfs_device *device = map->stripes[first].dev; in btrfs_read_rr() local
6844 const struct btrfs_device *device) in dev_args_match_device()
6870 struct btrfs_device *device; in btrfs_find_device() local
6895 struct btrfs_device *device; in add_missing_dev() local
6938 const char *path) in btrfs_alloc_device()
7166 struct btrfs_device *device) in fill_device_from_item()
7251 struct btrfs_device *device; in read_one_dev() local
7494 struct btrfs_path *path; in btrfs_read_chunk_tree() local
7619 struct btrfs_device *device; in btrfs_init_devices_late() local
7664 static int btrfs_device_init_dev_stats(struct btrfs_device *device, in btrfs_device_init_dev_stats()
7665 struct btrfs_path *path) in btrfs_device_init_dev_stats()
7711 struct btrfs_device *device; in btrfs_init_dev_stats() local
7712 struct btrfs_path *path = NULL; in btrfs_init_dev_stats() local
7740 struct btrfs_device *device) in update_dev_stat_item()
7744 struct btrfs_path *path; in update_dev_stat_item() local
7809 struct btrfs_device *device; in btrfs_run_dev_stats() local
8090 struct btrfs_path *path; in btrfs_verify_dev_extents() local