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()
338 struct btrfs_device *device; in btrfs_get_dev_zone_info_all_devices() local
360 int btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache) in btrfs_get_dev_zone_info()
618 void btrfs_destroy_dev_zone_info(struct btrfs_device *device) in btrfs_destroy_dev_zone_info()
673 int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, in btrfs_get_dev_zone()
688 struct btrfs_device *device; in btrfs_check_for_zoned_device() local
706 struct btrfs_device *device; in btrfs_check_zoned_mode() local
915 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw, in btrfs_sb_log_location()
959 int btrfs_advance_sb_log(struct btrfs_device *device, int mirror) in btrfs_advance_sb_log()
1044 u64 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start, in btrfs_find_allocatable_zones()
1103 static bool btrfs_dev_set_active_zone(struct btrfs_device *device, u64 pos) in btrfs_dev_set_active_zone()
1125 static void btrfs_dev_clear_active_zone(struct btrfs_device *device, u64 pos) in btrfs_dev_clear_active_zone()
1138 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, in btrfs_reset_device_zone()
1161 int btrfs_ensure_empty_zones(struct btrfs_device *device, u64 start, u64 size) in btrfs_ensure_empty_zones()
1291 struct btrfs_device *device; in btrfs_load_block_group_zone_info() local
1871 int btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length) in btrfs_zoned_issue_zeroout()
1967 struct btrfs_device *device; in btrfs_zone_activate() local
2158 struct btrfs_device *device = map->stripes[i].dev; in do_zone_finish() local
2205 struct btrfs_device *device; in btrfs_can_activate_zone() local
2322 struct btrfs_device *device; in btrfs_free_zone_cache() local
2340 struct btrfs_device *device; in btrfs_zoned_should_reclaim() local
2495 struct btrfs_device *device; in btrfs_check_active_zone_reservation() local