Lines Matching refs:blk_zone
71 static inline bool sb_zone_is_full(const struct blk_zone *zone) in sb_zone_is_full()
77 static int copy_zone_info_cb(struct blk_zone *zone, unsigned int idx, void *data) in copy_zone_info_cb()
79 struct blk_zone *zones = data; in copy_zone_info_cb()
86 static int sb_write_pointer(struct block_device *bdev, struct blk_zone *zones, in sb_write_pointer()
199 struct blk_zone *zones, unsigned int nr_zones) in emulate_report_zones()
224 struct blk_zone *zones, unsigned int *nr_zones) in btrfs_get_dev_zones()
252 struct blk_zone *zone_info; in btrfs_get_dev_zones()
369 struct blk_zone *zones = NULL; in btrfs_get_dev_zone_info()
459 zones = kvcalloc(BTRFS_REPORT_NR_ZONES, sizeof(struct blk_zone), GFP_KERNEL); in btrfs_get_dev_zone_info()
472 sizeof(struct blk_zone)); in btrfs_get_dev_zone_info()
674 struct blk_zone *zone) in btrfs_get_dev_zone()
817 static int sb_log_location(struct block_device *bdev, struct blk_zone *zones, in sb_log_location()
833 struct blk_zone *reset = NULL; in sb_log_location()
878 struct blk_zone zones[BTRFS_NR_SB_LOG_ZONES]; in btrfs_sb_log_location_bdev()
962 struct blk_zone *zone; in btrfs_advance_sb_log()
1299 struct blk_zone zone; in btrfs_load_zone_info()
1891 struct blk_zone *zone) in read_zone_info()
1942 struct blk_zone zone; in btrfs_sync_zone_write_pointer()