Lines Matching refs:btrfs_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()
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()
613 struct btrfs_zoned_device_info *btrfs_clone_dev_zone_info(struct btrfs_device *orig_dev) in btrfs_clone_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()
684 struct btrfs_device *device; in btrfs_check_zoned_mode()
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()
2064 int btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length) in btrfs_zoned_issue_zeroout()
2098 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info()
2121 int btrfs_sync_zone_write_pointer(struct btrfs_device *tgt_dev, u64 logical, in btrfs_sync_zone_write_pointer()
2160 struct btrfs_device *device; in btrfs_zone_activate()
2263 struct btrfs_device *device = stripe->dev; in call_zone_finish()
2414 struct btrfs_device *device; in btrfs_can_activate_zone()
2632 struct btrfs_device *device; in btrfs_free_zone_cache()
2650 struct btrfs_device *device; in btrfs_zoned_should_reclaim()
2804 struct btrfs_device *device; in btrfs_check_active_zone_reservation()