Lines Matching defs:device
372 void btrfs_free_device(struct btrfs_device *device) in btrfs_free_device()
383 struct btrfs_device *device; in free_fs_devices() local
550 static bool device_matched(const struct btrfs_device *device, const char *path) in device_matched()
601 struct btrfs_device *device, *tmp_device; in btrfs_free_stale_devices() local
650 struct btrfs_device *device, fmode_t flags, in btrfs_open_one_device()
815 struct btrfs_device *device; in device_list_add() local
1031 struct btrfs_device *device; in clone_fs_devices() local
1081 struct btrfs_device *device, *next; in __btrfs_free_extra_devids() local
1141 static void btrfs_close_bdev(struct btrfs_device *device) in btrfs_close_bdev()
1154 static void btrfs_close_one_device(struct btrfs_device *device) in btrfs_close_one_device()
1206 struct btrfs_device *device, *tmp; in close_fs_devices() local
1244 struct btrfs_device *device; in open_fs_devices() local
1386 struct btrfs_device *device = NULL; in btrfs_scan_one_device() local
1429 static bool contains_pending_extent(struct btrfs_device *device, u64 *start, in contains_pending_extent()
1450 static u64 dev_extent_search_start(struct btrfs_device *device, u64 start) in dev_extent_search_start()
1475 static bool dev_extent_hole_check(struct btrfs_device *device, u64 *hole_start, in dev_extent_hole_check()
1531 static int find_free_dev_extent_start(struct btrfs_device *device, in find_free_dev_extent_start()
1673 int find_free_dev_extent(struct btrfs_device *device, u64 num_bytes, in find_free_dev_extent()
1681 struct btrfs_device *device, in btrfs_free_dev_extent()
1740 struct btrfs_device *device, in btrfs_alloc_dev_extent()
1848 struct btrfs_device *device) in btrfs_add_dev_item()
1922 static int btrfs_rm_dev_item(struct btrfs_device *device) in btrfs_rm_dev_item()
2001 struct btrfs_fs_devices *fs_devs, struct btrfs_device *device) in btrfs_find_next_active_device()
2021 void __cold btrfs_assign_next_active_device(struct btrfs_device *device, in btrfs_assign_next_active_device()
2100 struct btrfs_device *device; in btrfs_rm_device() local
2342 struct btrfs_device *device; in btrfs_find_device_by_path() local
2372 struct btrfs_device *device; in btrfs_find_device_by_devspec() local
2408 struct btrfs_device *device; in btrfs_prepare_sprout() local
2478 struct btrfs_device *device; in btrfs_finish_sprout() local
2548 struct btrfs_device *device; in btrfs_init_new_device() local
2776 struct btrfs_device *device) in btrfs_update_device()
2822 struct btrfs_device *device, u64 new_size) in btrfs_grow_device()
3008 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk() local
4624 int btrfs_shrink_device(struct btrfs_device *device, u64 new_size) in btrfs_shrink_device()
4967 struct btrfs_device *device; in gather_device_info() local
5274 struct btrfs_device *device; in btrfs_finish_chunk_alloc() local
6514 struct btrfs_device *device; in btrfs_find_device() local
6545 struct btrfs_device *device; in add_missing_dev() local
6759 struct btrfs_device *device) in fill_device_from_item()
6839 struct btrfs_device *device; in read_one_dev() local
7250 struct btrfs_device *device; in btrfs_init_devices_late() local
7290 static int btrfs_device_init_dev_stats(struct btrfs_device *device, in btrfs_device_init_dev_stats()
7334 struct btrfs_device *device; in btrfs_init_dev_stats() local
7363 struct btrfs_device *device) in update_dev_stat_item()
7434 struct btrfs_device *device; in btrfs_run_dev_stats() local