Lines Matching refs:btrfs_device
192 static int emulate_report_zones(struct btrfs_device *device, u64 pos, in emulate_report_zones()
217 static int btrfs_get_dev_zones(struct btrfs_device *device, u64 pos, in btrfs_get_dev_zones()
329 struct btrfs_device *device; in btrfs_get_dev_zone_info_all_devices()
351 int btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache) in btrfs_get_dev_zone_info()
628 void btrfs_destroy_dev_zone_info(struct btrfs_device *device) in btrfs_destroy_dev_zone_info()
643 struct btrfs_zoned_device_info *btrfs_clone_dev_zone_info(struct btrfs_device *orig_dev) in btrfs_clone_dev_zone_info()
683 int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, in btrfs_get_dev_zone()
698 struct btrfs_device *device; in btrfs_check_for_zoned_device()
715 struct btrfs_device *device; in btrfs_check_zoned_mode()
903 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw, in btrfs_sb_log_location()
947 int btrfs_advance_sb_log(struct btrfs_device *device, int mirror) in btrfs_advance_sb_log()
1032 u64 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start, in btrfs_find_allocatable_zones()
1091 static bool btrfs_dev_set_active_zone(struct btrfs_device *device, u64 pos) in btrfs_dev_set_active_zone()
1113 static void btrfs_dev_clear_active_zone(struct btrfs_device *device, u64 pos) in btrfs_dev_clear_active_zone()
1126 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, in btrfs_reset_device_zone()
1149 int btrfs_ensure_empty_zones(struct btrfs_device *device, u64 start, u64 size) in btrfs_ensure_empty_zones()
1279 struct btrfs_device *device; in btrfs_load_block_group_zone_info()
1760 int btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length) in btrfs_zoned_issue_zeroout()
1794 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info()
1817 int btrfs_sync_zone_write_pointer(struct btrfs_device *tgt_dev, u64 logical, in btrfs_sync_zone_write_pointer()
1845 struct btrfs_device *btrfs_zoned_get_device(struct btrfs_fs_info *fs_info, in btrfs_zoned_get_device()
1848 struct btrfs_device *device; in btrfs_zoned_get_device()
1877 struct btrfs_device *device; in btrfs_zone_activate()
2042 struct btrfs_device *device = map->stripes[i].dev; in do_zone_finish()
2086 struct btrfs_device *device; in btrfs_can_activate_zone()
2186 struct btrfs_device *device; in btrfs_free_zone_cache()
2204 struct btrfs_device *device; in btrfs_zoned_should_reclaim()