Searched refs:zones (Results 26 - 46 of 46) sorted by relevance

12

/linux-master/drivers/mtd/
H A Dsm_ftl.c467 struct ftl_zone *zone = &ftl->zones[zone_num];
754 struct ftl_zone *zone = &ftl->zones[zone_num];
886 zone = &ftl->zones[zone_num];
946 zone = &ftl->zones[zone_num];
1160 ftl->zones = kcalloc(ftl->zone_count, sizeof(struct ftl_zone),
1162 if (!ftl->zones)
1220 kfree(ftl->zones);
1240 if (!ftl->zones[i].initialized)
1243 kfree(ftl->zones[i].lba_to_phys_table);
1244 kfifo_free(&ftl->zones[
[all...]
/linux-master/sound/synth/emux/
H A Dsoundfont.c282 sf->zones = NULL;
355 zp->next = sf->zones;
356 sf->zones = zp;
434 for (zp = sf->zones; zp; prevp = zp, zp = zp->next) {
446 zp->next = sf->zones;
447 sf->zones = zp;
487 for (p = sf->zones; p; p = next) {
495 sf->zones = next;
554 for (zone = sf->zones; zone; zone = zone->next) {
1192 for (cur = sf->zones; cu
[all...]
/linux-master/drivers/md/dm-vdo/indexer/
H A Dopen-chapter.c20 * open chapter space. Records are assigned to zones based on their record name. Within each zone,
41 * different number of zones than previously, so the records must be parcelled out to their new
42 * zones. In addition, depending on the distribution of record names, a new zone may have more
240 /* The record arrays in the zones are 1-based. */
313 open_chapter = index->zones[z]->open_chapter;
326 open_chapter = index->zones[z]->open_chapter;
364 * Track which zones cannot accept any more records. If the open chapter had a different
365 * number of zones previously, some new zones may have more records than they have space
394 open_chapter = index->zones[zon
[all...]
H A Dindex.c26 * The index send two kinds of messages to coordinate between zones: chapter close messages for the
29 * The chapter writer is responsible for committing chapters of records to storage. Since zones can
30 * get different numbers of records, some zones may fall behind others. Each time a zone fills up
32 * and also informs all other zones that it has closed the chapter. Each other zone will then close
33 * the chapter immediately, regardless of how full it is, in order to minimize skew between zones.
37 * Although that chapter is invalid for zones that have moved on, the existence of the open chapter
38 * means that those zones will never ask the volume index about it. No zone is allowed to get more
40 * chapter before the previous one has been closed by all zones, it is forced to wait.
42 * The sparse cache relies on having the same set of chapter indexes available to all zones. When a
68 /* The number of zones whic
[all...]
/linux-master/sound/soc/
H A Dsoc-jack.c80 * snd_soc_jack_add_zones - Associate voltage zones with jack
83 * @count: Number of zones
84 * @zones: Array of zones
86 * After this function has been called the zones specified in the
90 struct snd_soc_jack_zone *zones)
95 INIT_LIST_HEAD(&zones[i].list);
96 list_add(&(zones[i].list), &jack->jack_zones);
104 * the type of jack from the zones declared in the jack type
110 * the type of jack from the already declared jack zones
89 snd_soc_jack_add_zones(struct snd_soc_jack *jack, int count, struct snd_soc_jack_zone *zones) argument
[all...]
/linux-master/include/uapi/linux/
H A Dvirtio_blk.h191 /* Report zones command */
206 /* Reset All zones command */
259 struct virtio_blk_zone_descriptor zones[]; member in struct:virtio_blk_zone_report
274 * Zone states that are available for zones of all types.
277 /* Not a write pointer (conventional zones only) */
/linux-master/drivers/block/null_blk/
H A Dnull_blk.h72 struct nullb_zone *zones; member in struct:nullb_device
82 unsigned int zone_nr_conv; /* number of conventional zones */
83 unsigned int zone_max_open; /* max number of open zones */
84 unsigned int zone_max_active; /* max number of active zones */
/linux-master/drivers/media/tuners/
H A Dmt2063.c66 MT2063_NO_DECT_AVOIDANCE = 0, /* Do not create DECT exclusion zones. */
476 * Reset all exclusion zones.
477 * Add zones to protect the PLL FracN regions near zero
577 struct MT2063_FIFZone_t zones[MT2063_MAX_ZONES]; local
621 if ((j > 0) && (tmpMin < zones[j - 1].max_))
622 zones[j - 1].max_ = tmpMax;
625 zones[j].min_ = tmpMin;
626 zones[j].max_ = tmpMax;
645 bestDiff = zones[0].min_;
647 if (abs(zones[
[all...]
/linux-master/fs/zonefs/
H A Dsuper.c3 * 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 unde
849 struct blk_zone *zones; member in struct:zonefs_zone_data
[all...]
/linux-master/kernel/power/
H A Dsnapshot.c347 * designed to work with arbitrary number of zones (this is over the
414 struct list_head zones; member in struct:memory_bitmap
590 bm->cur.zone = list_entry(bm->zones.next, struct mem_zone_bm_rtree,
693 INIT_LIST_HEAD(&bm->zones);
708 list_add_tail(&zone->list, &bm->zones);
731 list_for_each_entry(zone, &bm->zones, list)
736 INIT_LIST_HEAD(&bm->zones);
763 list_for_each_entry(curr, &bm->zones, list) {
904 if (!list_is_last(&bm->cur.zone->list, &bm->zones)) {
914 /* No more zones */
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dflush.c209 * Flushes the packer now that all of the logical and physical zones have been notified of the new
225 * If there are more logical zones, go on to the next one, otherwise, prepare the physical zones.
255 flusher->logical_zone_to_notify = &flusher->vdo->logical_zones->zones[0];
321 for (zone = &flusher->vdo->logical_zones->zones[0]; zone != NULL; zone = zone->next)
H A Dblock-map.h261 /* The era point we are currently distributing to the zones */
279 struct block_map_zone zones[]; member in struct:block_map
H A Drepair.c241 repair->completion.vdo->block_map->zones[0].page_cache.rebuilding = false;
552 vdo_get_page(page_completion, &block_map->zones[0], pbn, true, repair,
639 struct vdo_page_cache *cache = &vdo->block_map->zones[0].page_cache;
1041 &repair->completion.vdo->block_map->zones[0], pbn, true,
1106 vdo->block_map->zones[0].page_cache.rebuilding =
H A Dvdo.c350 * journal, packer, logical, physical, and hash zones. In that case, it is
496 vdo_log_info("zones: %d logical, %d physical, %d hash; total threads: %d",
580 *reason = "Cannot make flusher zones";
586 *reason = "Cannot make packer zones";
1640 vdo_dump_logical_zone(&vdo->logical_zones->zones[zone]);
1643 vdo_dump_physical_zone(&vdo->physical_zones->zones[zone]);
1691 * @vdo: The vdo containing the physical zones.
1728 *zone_ptr = &vdo->physical_zones->zones[slab->allocator->zone_number];
H A Dblock-map.c2691 cursors->zone = &map->zones[0];
2724 struct block_map_zone *zone = &map->zones[zone_number];
2780 return map->zones[zone_number].thread_id;
2797 struct block_map_zone *zone = &map->zones[zone_number];
2848 uninitialize_block_map_zone(&map->zones[zone]);
2938 struct dirty_lists *dirty_lists = map->zones[z].dirty_lists;
2991 struct block_map_zone *zone = &map->zones[zone_number];
3010 struct block_map_zone *zone = &map->zones[zone_number];
3293 &(map->zones[zone].page_cache.stats);
H A Ddata-vio.c252 lock->zone = &vdo->logical_zones->zones[zone_number];
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4.h720 struct mlx4_zone_allocator *zones; member in struct:mlx4_qp_table
1436 /* No two objects could overlap between zones. UID
1438 * two overlapped zones are used, an object will be free'd
1454 * When an allocation fails, <zone_alloc> tries to allocate from other zones
1478 u32 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count,
1482 * <zones>.
1484 u32 mlx4_zone_free_entries(struct mlx4_zone_allocator *zones,
1487 /* If <zones> was allocated with MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP, instead of
1491 u32 mlx4_zone_free_entries_unique(struct mlx4_zone_allocator *zones, u32 obj, u32 count);
1493 /* Returns a pointer to mlx4_bitmap that was attached to <zones> wit
[all...]
/linux-master/mm/
H A Dvmstat.c51 /* zero numa counters of all the populated zones */
796 * node local memory. The per cpu pagesets on remote zones are placed
798 * loop over all zones will access a series of cachelines local to
853 * We never drain zones local to this processor.
989 struct zone *zones = NODE_DATA(node)->node_zones; local
994 count += zone_page_state(zones + i, item);
1003 struct zone *zones = NODE_DATA(node)->node_zones; local
1008 count += zone_numa_event_state(zones + i, item);
1451 * Walk zones in a node and print using a callback.
1452 * If @assert_populated is true, only use callback for zones tha
[all...]
/linux-master/drivers/md/
H A Ddm-zoned-metadata.c32 * followed on disk by the mapping table of chunks to zones and the bitmap
38 * All metadata blocks are stored in conventional zones, starting from
57 /* The number of sequential zones reserved for reclaim */
175 struct xarray zones; member in struct:dmz_metadata
305 return xa_load(&zmd->zones, zone_id);
316 if (xa_insert(&zmd->zones, zone_id, zone, GFP_KERNEL)) {
1071 dmz_dev_err(dev, "Invalid number of reserved sequential zones");
1376 * Devices that have zones with a capacity smaller than the zone size
1414 * Tertiary superblock zones are always at the
1450 * Free zones descriptor
[all...]
/linux-master/block/
H A Dblk-zoned.c119 * bdev_nr_zones - Get number of zones
122 * Return the total number of zones of a zoned block device. For a block
123 * device without zone capabilities, the number of zones is always 0.
137 * blkdev_report_zones - Get zones information
139 * @sector: Sector from which to report zones
140 * @nr_zones: Maximum number of zones to report
147 * To report all zones in a device starting from @sector, the BLK_ALL_ZONES
149 * Returns the number of zones reported by the device, or a negative errno
182 * For an all-zones reset, ignore conventional, empty, read-only
183 * and offline zones
324 struct blk_zone __user *zones; member in struct:zone_report_args
[all...]
/linux-master/drivers/block/
H A Dvirtio_blk.c701 ret = virtblk_parse_zone(vblk, &report->zones[i],
707 report->zones[i].z_start) +
736 dev_dbg(&vdev->dev, "max open zones = %u\n", v);
741 dev_dbg(&vdev->dev, "max active zones = %u\n", v);
755 * virtio ZBD specification doesn't require zones to be a power of

Completed in 273 milliseconds

12