Lines Matching defs:device

400 static void btrfs_free_device(struct btrfs_device *device)  in btrfs_free_device()
415 struct btrfs_device *device; in free_fs_devices() local
529 struct btrfs_device *device, *tmp_device; in btrfs_free_stale_devices() local
603 struct btrfs_device *device; in find_fsid_by_device() local
649 struct btrfs_device *device, blk_mode_t flags, in btrfs_open_one_device()
738 static bool is_same_device(struct btrfs_device *device, const char *new_path) in is_same_device()
785 struct btrfs_device *device; in device_list_add() local
1003 struct btrfs_device *device; in clone_fs_devices() local
1057 struct btrfs_device *device, *next; in __btrfs_free_extra_devids() local
1118 static void btrfs_close_bdev(struct btrfs_device *device) in btrfs_close_bdev()
1131 static void btrfs_close_one_device(struct btrfs_device *device) in btrfs_close_one_device()
1184 struct btrfs_device *device, *tmp; in close_fs_devices() local
1235 struct btrfs_device *device; in open_fs_devices() local
1414 struct btrfs_device *device; in btrfs_skip_registration() local
1456 struct btrfs_device *device = NULL; in btrfs_scan_one_device() local
1510 static bool contains_pending_extent(struct btrfs_device *device, u64 *start, in contains_pending_extent()
1531 static u64 dev_extent_search_start(struct btrfs_device *device) in dev_extent_search_start()
1549 static bool dev_extent_hole_check_zoned(struct btrfs_device *device, in dev_extent_hole_check_zoned()
1605 static bool dev_extent_hole_check(struct btrfs_device *device, u64 *hole_start, in dev_extent_hole_check()
1677 static int find_free_dev_extent(struct btrfs_device *device, u64 num_bytes, in find_free_dev_extent()
1823 struct btrfs_device *device, in btrfs_free_dev_extent()
1942 struct btrfs_device *device) in btrfs_add_dev_item()
2016 struct btrfs_device *device) in btrfs_rm_dev_item()
2078 struct btrfs_fs_devices *fs_devs, struct btrfs_device *device) in btrfs_find_next_active_device()
2098 void __cold btrfs_assign_next_active_device(struct btrfs_device *device, in btrfs_assign_next_active_device()
2156 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, struct btrfs_device *device) in btrfs_scratch_superblocks()
2183 struct btrfs_device *device; in btrfs_rm_device() local
2506 struct btrfs_device *device; in btrfs_find_device_by_devspec() local
2577 struct btrfs_device *device; in btrfs_setup_sprout() local
2632 struct btrfs_device *device; in btrfs_finish_sprout() local
2701 struct btrfs_device *device; in btrfs_init_new_device() local
2941 struct btrfs_device *device) in btrfs_update_device()
2985 struct btrfs_device *device, u64 new_size) in btrfs_grow_device()
3277 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk() local
4857 int btrfs_shrink_device(struct btrfs_device *device, u64 new_size) in btrfs_shrink_device()
5242 struct btrfs_device *device; in gather_device_info() local
5436 struct btrfs_device *device = stripe->dev; in chunk_map_device_set_bits() local
5448 struct btrfs_device *device = stripe->dev; in chunk_map_device_clear_bits() local
5706 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item() local
5715 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item() local
5934 const struct btrfs_device *device = map->stripes[index].dev; in btrfs_read_preferred() local
5977 struct btrfs_device *device = map->stripes[first].dev; in btrfs_read_rr() local
6803 const struct btrfs_device *device) in dev_args_match_device()
6829 struct btrfs_device *device; in btrfs_find_device() local
6854 struct btrfs_device *device; in add_missing_dev() local
7125 struct btrfs_device *device) in fill_device_from_item()
7210 struct btrfs_device *device; in read_one_dev() local
7578 struct btrfs_device *device; in btrfs_init_devices_late() local
7623 static int btrfs_device_init_dev_stats(struct btrfs_device *device, in btrfs_device_init_dev_stats()
7670 struct btrfs_device *device; in btrfs_init_dev_stats() local
7699 struct btrfs_device *device) in update_dev_stat_item()
7768 struct btrfs_device *device; in btrfs_run_dev_stats() local