Lines Matching defs:zones
102 * bdev_nr_zones - Get number of zones
105 * Return the total number of zones of a zoned block device. For a block
106 * device without zone capabilities, the number of zones is always 0.
120 * blkdev_report_zones - Get zones information
122 * @sector: Sector from which to report zones
123 * @nr_zones: Maximum number of zones to report
130 * To report all zones in a device starting from @sector, the BLK_ALL_ZONES
132 * Returns the number of zones reported by the device, or a negative errno
165 * For an all-zones reset, ignore conventional, empty, read-only
166 * and offline zones.
235 * blkdev_zone_mgmt - Execute a zone management operation on a range of zones
237 * @op: Operation to be performed on the zones
244 * Perform the specified operation on the range of zones specified by
246 * is valid, but the specified range should not contain conventional zones.
281 * In the case of a zone reset operation over all zones,
284 * identifying the zones needing a reset.
309 struct blk_zone __user *zones;
317 if (copy_to_user(&args->zones[idx], zone, sizeof(struct blk_zone)))
346 args.zones = argp + sizeof(struct blk_zone_report);
449 * Helper function to check the validity of zones of a zoned block device.
460 /* Check for bad zones and holes in the zone report */
474 * All zones must have the same size, with the exception on an eventual
532 * executed with the device request queue frozen after all zones have been
579 pr_warn("%s: No zones reported\n", disk->disk_name);
585 * If zones where reported, make sure that the entire disk capacity
589 pr_warn("%s: Missing zones from sector %llu\n",
608 pr_warn("%s: failed to revalidate zones\n", disk->disk_name);