Lines Matching refs:zones
3 * Simple file system for zoned block devices exposing zones as files.
59 * For zones that transitioned to the offline or readonly condition,
108 * open operation on other zones if the drive active zone resources
202 * The write pointer of read-only zones is invalid, so we cannot
216 /* The write pointer of full zones is invalid. */
227 * offline and readonly zones.
234 /* Offline zones cannot be read nor written */
238 /* Readonly zones cannot be written */
304 * First handle bad zones signaled by hardware. The mount options
396 * may prevent IO forward progress. Executing the report zones under
722 * the "cnv" directory if we have conventional zones.
856 struct blk_zone *zones;
874 * Count the number of zones that will be exposed as files.
875 * For sequential zones, we always have as many files as zones.
876 * FOr conventional zones, the number of files depends on if we have
877 * conventional zones aggregation enabled.
882 /* One file per set of contiguous conventional zones */
902 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone));
912 zd->zones = kvzalloc_objs(struct blk_zone, bdev_nr_zones(bdev));
913 if (!zd->zones)
916 /* Get zones information from the device */
925 zonefs_err(zd->sb, "Invalid zone report (%d/%u zones)\n",
935 kvfree(zd->zones);
965 end = zd->zones + bdev_nr_zones(sb->s_bdev);
966 for (zone = &zd->zones[1]; zone < end; zone = next) {
976 * For conventional zones, contiguous zones can be aggregated
978 * length of the first zone of the set of contiguous zones
980 * found, assume that all zones aggregated have the same
1032 * For sequential zones, make sure that any open zone is closed
1033 * first to ensure that the initial number of open zones is 0,
1227 * Check that the device is zoned. If it is, get the list of zones and create
1282 zonefs_info(sb, "Mounting %u zones", bdev_nr_zones(sb->s_bdev));