Lines Matching full:zones
120 * blkdev_nr_zones - Get number of zones
123 * Return the total number of zones of a zoned block device. For a block
124 * device without zone capabilities, the number of zones is always 0.
137 * blkdev_report_zones - Get zones information
139 * @sector: Sector from which to report zones
140 * @nr_zones: Maximum number of zones to report
147 * To report all zones in a device starting from @sector, the BLK_ALL_ZONES
149 * Returns the number of zones reported by the device, or a negative errno
187 * blkdev_zone_mgmt - Execute a zone management operation on a range of zones
189 * @op: Operation to be performed on the zones
196 * Perform the specified operation on the range of zones specified by
198 * is valid, but the specified range should not contain conventional zones.
239 * zones, this is useful for applications like mkfs. in blkdev_zone_mgmt()
263 struct blk_zone __user *zones; member
271 if (copy_to_user(&args->zones[idx], zone, sizeof(struct blk_zone))) in blkdev_copy_zone_to_user()
305 args.zones = argp + sizeof(struct blk_zone_report); in blkdev_report_zones_ioctl()
426 * Helper function to check the validity of zones of a zoned block device.
437 * All zones must have the same size, with the exception on an eventual in blk_revalidate_zone_cb()
511 * executed with the device request queue frozen after all zones have been
556 pr_warn("%s: failed to revalidate zones\n", disk->disk_name); in blk_revalidate_disk_zones()