Home
last modified time | relevance | path

Searched refs:zones (Results 1 – 6 of 6) sorted by relevance

/fs/btrfs/
Dzoned.c72 struct blk_zone *zones = data; in copy_zone_info_cb() local
74 memcpy(&zones[idx], zone, sizeof(*zone)); in copy_zone_info_cb()
79 static int sb_write_pointer(struct block_device *bdev, struct blk_zone *zones, in sb_write_pointer() argument
88 ASSERT(zones[i].type != BLK_ZONE_TYPE_CONVENTIONAL); in sb_write_pointer()
89 empty[i] = (zones[i].cond == BLK_ZONE_COND_EMPTY); in sb_write_pointer()
90 full[i] = sb_zone_is_full(&zones[i]); in sb_write_pointer()
112 *wp_ret = zones[0].start << SECTOR_SHIFT; in sb_write_pointer()
122 u64 zone_end = (zones[i].start + zones[i].capacity) << SECTOR_SHIFT; in sb_write_pointer()
138 sector = zones[1].start; in sb_write_pointer()
140 sector = zones[0].start; in sb_write_pointer()
[all …]
/fs/pstore/
Dzone.c281 static int psz_flush_dirty_zones(struct pstore_zone **zones, unsigned int cnt) in psz_flush_dirty_zones() argument
286 if (!zones) in psz_flush_dirty_zones()
290 zone = zones[i]; in psz_flush_dirty_zones()
569 struct pstore_zone **zones, unsigned int cnt) in psz_recover_zones() argument
575 if (!zones) in psz_recover_zones()
579 zone = zones[i]; in psz_recover_zones()
1125 struct pstore_zone **zones = *pszones; in psz_free_zones() local
1127 if (!zones) in psz_free_zones()
1132 psz_free_zone(&(zones[*cnt])); in psz_free_zones()
1134 kfree(zones); in psz_free_zones()
[all …]
DKconfig171 to manage storage in zones.
/fs/zonefs/
Dsuper.c679 struct blk_zone *zones; member
772 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone)); in zonefs_get_zone_info_cb()
782 zd->zones = kvcalloc(bdev_nr_zones(bdev), sizeof(struct blk_zone), in zonefs_get_zone_info()
784 if (!zd->zones) in zonefs_get_zone_info()
806 kvfree(zd->zones); in zonefs_free_zone_info()
837 end = zd->zones + bdev_nr_zones(sb->s_bdev); in zonefs_init_zgroup()
838 for (zone = &zd->zones[1]; zone < end; zone = next) { in zonefs_init_zgroup()
DKconfig8 zonefs is a simple file system which exposes zones of a zoned block
/fs/affs/
DChanges226 create allocation zones ...