Lines Matching refs:blk_zone
69 static inline bool sb_zone_is_full(const struct blk_zone *zone) in sb_zone_is_full()
75 static int copy_zone_info_cb(struct blk_zone *zone, unsigned int idx, void *data) in copy_zone_info_cb()
77 struct blk_zone *zones = data; in copy_zone_info_cb()
84 static int sb_write_pointer(struct block_device *bdev, struct blk_zone *zones, in sb_write_pointer()
195 struct blk_zone *zones, unsigned int nr_zones) in emulate_report_zones()
220 struct blk_zone *zones, unsigned int *nr_zones) in btrfs_get_dev_zones()
248 struct blk_zone *zone_info; in btrfs_get_dev_zones()
358 struct blk_zone *zones = NULL; in btrfs_get_dev_zone_info()
448 zones = kvcalloc(BTRFS_REPORT_NR_ZONES, sizeof(struct blk_zone), GFP_KERNEL); in btrfs_get_dev_zone_info()
461 sizeof(struct blk_zone)); in btrfs_get_dev_zone_info()
646 static int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, struct blk_zone *zone) in btrfs_get_dev_zone()
792 static int sb_log_location(struct block_device *bdev, struct blk_zone *zones, in sb_log_location()
808 struct blk_zone *reset = NULL; in sb_log_location()
856 struct blk_zone zones[BTRFS_NR_SB_LOG_ZONES]; in btrfs_sb_log_location_bdev()
940 struct blk_zone *zone; in btrfs_advance_sb_log()
1282 struct blk_zone zone; in btrfs_load_zone_info()
1992 struct blk_zone *zone) in read_zone_info()
2043 struct blk_zone zone; in btrfs_sync_zone_write_pointer()