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()
658 struct blk_zone *zone) in btrfs_get_dev_zone()
803 static int sb_log_location(struct block_device *bdev, struct blk_zone *zones, in sb_log_location()
819 struct blk_zone *reset = NULL; in sb_log_location()
864 struct blk_zone zones[BTRFS_NR_SB_LOG_ZONES]; in btrfs_sb_log_location_bdev()
948 struct blk_zone *zone; in btrfs_advance_sb_log()
1285 struct blk_zone zone; in btrfs_load_zone_info()
1971 struct blk_zone *zone) in read_zone_info()
2022 struct blk_zone zone; in btrfs_sync_zone_write_pointer()