Lines Matching refs:blk_zone
61 static inline bool sb_zone_is_full(const struct blk_zone *zone) in sb_zone_is_full()
67 static int copy_zone_info_cb(struct blk_zone *zone, unsigned int idx, void *data) in copy_zone_info_cb()
69 struct blk_zone *zones = data; in copy_zone_info_cb()
76 static int sb_write_pointer(struct block_device *bdev, struct blk_zone *zones, in sb_write_pointer()
189 struct blk_zone *zones, unsigned int nr_zones) in emulate_report_zones()
214 struct blk_zone *zones, unsigned int *nr_zones) in btrfs_get_dev_zones()
322 struct blk_zone *zones = NULL; in btrfs_get_dev_zone_info()
404 zones = kcalloc(BTRFS_REPORT_NR_ZONES, sizeof(struct blk_zone), GFP_KERNEL); in btrfs_get_dev_zone_info()
566 struct blk_zone *zone) in btrfs_get_dev_zone()
706 static int sb_log_location(struct block_device *bdev, struct blk_zone *zones, in sb_log_location()
722 struct blk_zone *reset = NULL; in sb_log_location()
767 struct blk_zone zones[BTRFS_NR_SB_LOG_ZONES]; in btrfs_sb_log_location_bdev()
851 struct blk_zone *zone; in btrfs_advance_sb_log()
1224 struct blk_zone zone; in btrfs_load_block_group_zone_info()
1636 struct blk_zone *zone) in read_zone_info()
1684 struct blk_zone zone; in btrfs_sync_zone_write_pointer()