• Home
  • Raw
  • Download

Lines Matching full:zones

3  * Simple file system for zoned block devices exposing zones as files.
58 * For zones that transitioned to the offline or readonly condition, in zonefs_account_active()
107 * open operation on other zones if the drive active zone resources in zonefs_zone_mgmt()
201 * The write pointer of read-only zones is invalid, so we cannot in zonefs_check_zone_condition()
215 /* The write pointer of full zones is invalid. */ in zonefs_check_zone_condition()
226 * offline and readonly zones.
233 /* Offline zones cannot be read nor written */ in zonefs_inode_update_mode()
237 /* Readonly zones cannot be written */ in zonefs_inode_update_mode()
303 * First handle bad zones signaled by hardware. The mount options in zonefs_handle_io_error()
395 * may prevent IO forward progress. Executing the report zones under in __zonefs_io_error()
732 * the "cnv" directory if we have conventional zones. in zonefs_get_dir_inode()
868 struct blk_zone *zones; member
886 * Count the number of zones that will be exposed as files. in zonefs_get_zone_info_cb()
887 * For sequential zones, we always have as many files as zones. in zonefs_get_zone_info_cb()
888 * FOr conventional zones, the number of files depends on if we have in zonefs_get_zone_info_cb()
889 * conventional zones aggregation enabled. in zonefs_get_zone_info_cb()
894 /* One file per set of contiguous conventional zones */ in zonefs_get_zone_info_cb()
914 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone)); in zonefs_get_zone_info_cb()
924 zd->zones = kvcalloc(bdev_nr_zones(bdev), sizeof(struct blk_zone), in zonefs_get_zone_info()
926 if (!zd->zones) in zonefs_get_zone_info()
929 /* Get zones information from the device */ in zonefs_get_zone_info()
938 zonefs_err(zd->sb, "Invalid zone report (%d/%u zones)\n", in zonefs_get_zone_info()
948 kvfree(zd->zones); in zonefs_free_zone_info()
979 end = zd->zones + bdev_nr_zones(sb->s_bdev); in zonefs_init_zgroup()
980 for (zone = &zd->zones[1]; zone < end; zone = next) { in zonefs_init_zgroup()
990 * For conventional zones, contiguous zones can be aggregated in zonefs_init_zgroup()
992 * length of the first zone of the set of contiguous zones in zonefs_init_zgroup()
994 * found, assume that all zones aggregated have the same in zonefs_init_zgroup()
1046 * For sequential zones, make sure that any open zone is closed in zonefs_init_zgroup()
1047 * first to ensure that the initial number of open zones is 0, in zonefs_init_zgroup()
1251 * Check that the device is zoned. If it is, get the list of zones and create
1309 zonefs_info(sb, "Mounting %u zones", bdev_nr_zones(sb->s_bdev)); in zonefs_fill_super()