Lines Matching full:zones

3  * Simple file system for zoned block devices exposing zones as files.
59 * For zones that transitioned to the offline or readonly condition, in zonefs_account_active()
108 * open operation on other zones if the drive active zone resources in zonefs_zone_mgmt()
202 * The write pointer of read-only zones is invalid, so we cannot in zonefs_check_zone_condition()
216 /* The write pointer of full zones is invalid. */ in zonefs_check_zone_condition()
227 * offline and readonly zones.
234 /* Offline zones cannot be read nor written */ in zonefs_inode_update_mode()
238 /* Readonly zones cannot be written */ in zonefs_inode_update_mode()
304 * First handle bad zones signaled by hardware. The mount options in zonefs_handle_io_error()
396 * may prevent IO forward progress. Executing the report zones under in __zonefs_io_error()
716 * the "cnv" directory if we have conventional zones. in zonefs_get_dir_inode()
850 struct blk_zone *zones; member
868 * Count the number of zones that will be exposed as files. in zonefs_get_zone_info_cb()
869 * For sequential zones, we always have as many files as zones. in zonefs_get_zone_info_cb()
870 * FOr conventional zones, the number of files depends on if we have in zonefs_get_zone_info_cb()
871 * conventional zones aggregation enabled. in zonefs_get_zone_info_cb()
876 /* One file per set of contiguous conventional zones */ in zonefs_get_zone_info_cb()
896 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone)); in zonefs_get_zone_info_cb()
906 zd->zones = kvcalloc(bdev_nr_zones(bdev), sizeof(struct blk_zone), in zonefs_get_zone_info()
908 if (!zd->zones) in zonefs_get_zone_info()
911 /* Get zones information from the device */ in zonefs_get_zone_info()
920 zonefs_err(zd->sb, "Invalid zone report (%d/%u zones)\n", in zonefs_get_zone_info()
930 kvfree(zd->zones); in zonefs_free_zone_info()
961 end = zd->zones + bdev_nr_zones(sb->s_bdev); in zonefs_init_zgroup()
962 for (zone = &zd->zones[1]; zone < end; zone = next) { in zonefs_init_zgroup()
972 * For conventional zones, contiguous zones can be aggregated in zonefs_init_zgroup()
974 * length of the first zone of the set of contiguous zones in zonefs_init_zgroup()
976 * found, assume that all zones aggregated have the same in zonefs_init_zgroup()
1028 * For sequential zones, make sure that any open zone is closed in zonefs_init_zgroup()
1029 * first to ensure that the initial number of open zones is 0, in zonefs_init_zgroup()
1232 * Check that the device is zoned. If it is, get the list of zones and create
1287 zonefs_info(sb, "Mounting %u zones", bdev_nr_zones(sb->s_bdev)); in zonefs_fill_super()