Lines Matching full:zones

108  * bdev_nr_zones - Get number of zones
111 * Return the total number of zones of a zoned block device. For a block
112 * device without zone capabilities, the number of zones is always 0.
126 * blkdev_report_zones - Get zones information
128 * @sector: Sector from which to report zones
129 * @nr_zones: Maximum number of zones to report
136 * To report all zones in a device starting from @sector, the BLK_ALL_ZONES
138 * Returns the number of zones reported by the device, or a negative errno
171 * For an all-zones reset, ignore conventional, empty, read-only in blk_zone_need_reset_cb()
172 * and offline zones. in blk_zone_need_reset_cb()
241 * blkdev_zone_mgmt - Execute a zone management operation on a range of zones
243 * @op: Operation to be performed on the zones
250 * Perform the specified operation on the range of zones specified by
252 * is valid, but the specified range should not contain conventional zones.
287 * In the case of a zone reset operation over all zones, in blkdev_zone_mgmt()
290 * identifying the zones needing a reset. in blkdev_zone_mgmt()
315 struct blk_zone __user *zones; member
323 if (copy_to_user(&args->zones[idx], zone, sizeof(struct blk_zone))) in blkdev_copy_zone_to_user()
357 args.zones = argp + sizeof(struct blk_zone_report); in blkdev_report_zones_ioctl()
466 * Helper function to check the validity of zones of a zoned block device.
477 * All zones must have the same size, with the exception on an eventual in blk_revalidate_zone_cb()
551 * executed with the device request queue frozen after all zones have been
580 pr_warn("%s: No zones reported\n", disk->disk_name); in blk_revalidate_disk_zones()
586 * If zones where reported, make sure that the entire disk capacity in blk_revalidate_disk_zones()
590 pr_warn("%s: Missing zones from sector %llu\n", in blk_revalidate_disk_zones()
610 pr_warn("%s: failed to revalidate zones\n", disk->disk_name); in blk_revalidate_disk_zones()