Lines Matching refs:blk_zone
64 static inline bool sb_zone_is_full(const struct blk_zone *zone) in sb_zone_is_full()
70 static int copy_zone_info_cb(struct blk_zone *zone, unsigned int idx, void *data) in copy_zone_info_cb()
72 struct blk_zone *zones = data; in copy_zone_info_cb()
79 static int sb_write_pointer(struct block_device *bdev, struct blk_zone *zones, in sb_write_pointer()
193 struct blk_zone *zones, unsigned int nr_zones) in emulate_report_zones()
218 struct blk_zone *zones, unsigned int *nr_zones) in btrfs_get_dev_zones()
246 struct blk_zone *zone_info; in btrfs_get_dev_zones()
360 struct blk_zone *zones = NULL; in btrfs_get_dev_zone_info()
470 zones = kvcalloc(BTRFS_REPORT_NR_ZONES, sizeof(struct blk_zone), GFP_KERNEL); in btrfs_get_dev_zone_info()
482 zone_info->zone_cache = vzalloc(sizeof(struct blk_zone) * in btrfs_get_dev_zone_info()
684 struct blk_zone *zone) in btrfs_get_dev_zone()
805 static int sb_log_location(struct block_device *bdev, struct blk_zone *zones, in sb_log_location()
821 struct blk_zone *reset = NULL; in sb_log_location()
866 struct blk_zone zones[BTRFS_NR_SB_LOG_ZONES]; in btrfs_sb_log_location_bdev()
950 struct blk_zone *zone; in btrfs_advance_sb_log()
1345 struct blk_zone zone; in btrfs_load_block_group_zone_info()
1770 struct blk_zone *zone) in read_zone_info()
1821 struct blk_zone zone; in btrfs_sync_zone_write_pointer()