Lines Matching defs:device
198 static int emulate_report_zones(struct btrfs_device *device, u64 pos, in emulate_report_zones()
223 static int btrfs_get_dev_zones(struct btrfs_device *device, u64 pos, in btrfs_get_dev_zones()
331 struct btrfs_device *device; in btrfs_get_dev_zone_info_all_devices() local
353 int btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache) in btrfs_get_dev_zone_info()
598 void btrfs_destroy_dev_zone_info(struct btrfs_device *device) in btrfs_destroy_dev_zone_info()
653 static int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, struct blk_zone *zone) in btrfs_get_dev_zone()
667 struct btrfs_device *device; in btrfs_check_for_zoned_device() local
684 struct btrfs_device *device; in btrfs_check_zoned_mode() local
904 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw, in btrfs_sb_log_location()
948 int btrfs_advance_sb_log(struct btrfs_device *device, int mirror) in btrfs_advance_sb_log()
1041 u64 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start, in btrfs_find_allocatable_zones()
1100 static bool btrfs_dev_set_active_zone(struct btrfs_device *device, u64 pos) in btrfs_dev_set_active_zone()
1122 static void btrfs_dev_clear_active_zone(struct btrfs_device *device, u64 pos) in btrfs_dev_clear_active_zone()
1135 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, in btrfs_reset_device_zone()
1160 int btrfs_ensure_empty_zones(struct btrfs_device *device, u64 start, u64 size) in btrfs_ensure_empty_zones()
1290 struct btrfs_device *device; in btrfs_load_zone_info() local
2064 int btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length) in btrfs_zoned_issue_zeroout()
2160 struct btrfs_device *device; in btrfs_zone_activate() local
2263 struct btrfs_device *device = stripe->dev; in call_zone_finish() local
2414 struct btrfs_device *device; in btrfs_can_activate_zone() local
2632 struct btrfs_device *device; in btrfs_free_zone_cache() local
2650 struct btrfs_device *device; in btrfs_zoned_should_reclaim() local
2804 struct btrfs_device *device; in btrfs_check_active_zone_reservation() local