Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c226 struct mlx4_zone_allocator *zones = kmalloc(sizeof(*zones), GFP_KERNEL); in mlx4_zone_allocator_create() local
228 if (NULL == zones) in mlx4_zone_allocator_create()
231 INIT_LIST_HEAD(&zones->entries); in mlx4_zone_allocator_create()
232 INIT_LIST_HEAD(&zones->prios); in mlx4_zone_allocator_create()
233 spin_lock_init(&zones->lock); in mlx4_zone_allocator_create()
234 zones->last_uid = 0; in mlx4_zone_allocator_create()
235 zones->mask = 0; in mlx4_zone_allocator_create()
236 zones->flags = flags; in mlx4_zone_allocator_create()
238 return zones; in mlx4_zone_allocator_create()
426 struct mlx4_zone_allocator *zones, u32 uid) in __mlx4_find_zone_by_uid() argument
[all …]
Dqp.c239 *base = mlx4_zone_alloc_entries(qp_table->zones, uid, cnt, align, in __mlx4_qp_reserve_range()
282 mlx4_zone_free_entries_unique(qp_table->zones, base_qpn, cnt); in __mlx4_qp_release_range()
558 qp_table->zones = mlx4_zone_allocator_create(MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP); in mlx4_create_zones()
560 if (NULL == qp_table->zones) in mlx4_create_zones()
579 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_GENERAL, in mlx4_create_zones()
598 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_RSS, in mlx4_create_zones()
709 err = mlx4_zone_add_one(qp_table->zones, *bitmap + k, in mlx4_create_zones()
731 mlx4_zone_allocator_destroy(qp_table->zones); in mlx4_create_zones()
739 if (qp_table->zones) { in mlx4_cleanup_qp_zones()
746 mlx4_zone_get_bitmap(qp_table->zones, in mlx4_cleanup_qp_zones()
[all …]
/Linux-v6.1/Documentation/admin-guide/device-mapper/
Ddm-zoned.rst25 host-managed disk with 256 MB zones, dm-zoned memory usage per disk
26 instance is at most 4.5 MB and as little as 5 zones will be used
38 write accesses to the sequential zones of a zoned block device.
39 Conventional zones are used for caching as well as for storing internal
42 in zones with the same size as the zoned block device. These zones will be
43 placed in front of the zones from the zoned block device and will be handled
44 just like conventional zones.
46 The zones of the device(s) are separated into 2 types:
48 1) Metadata zones: these are conventional zones used to store metadata.
49 Metadata zones are not reported as useable capacity to the user.
[all …]
/Linux-v6.1/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()
124 bytenr = ((zones[i].start + zones[i].len) in sb_write_pointer()
139 sector = zones[1].start; in sb_write_pointer()
141 sector = zones[0].start; in sb_write_pointer()
[all …]
/Linux-v6.1/drivers/thermal/tegra/
Dtegra-bpmp-thermal.c30 struct tegra_bpmp_thermal_zone **zones; member
123 if (tegra->zones[i]->idx != req->host_trip_reached.zone) in bpmp_mrq_thermal()
126 schedule_work(&tegra->zones[i]->tz_device_update_work); in bpmp_mrq_thermal()
192 tegra->zones = devm_kcalloc(&pdev->dev, max_num_zones, in tegra_bpmp_thermal_probe()
193 sizeof(*tegra->zones), GFP_KERNEL); in tegra_bpmp_thermal_probe()
194 if (!tegra->zones) in tegra_bpmp_thermal_probe()
227 tegra->zones[tegra->num_zones++] = zone; in tegra_bpmp_thermal_probe()
DKconfig9 Tegra systems-on-chip. The driver supports four thermal zones
11 zones to manage temperatures. This option is also required for the
/Linux-v6.1/Documentation/filesystems/
Dzonefs.rst14 write zones of the device must be written sequentially starting from the end
34 space that is divided into zones. A zone is a group of consecutive LBAs and all
35 zones are contiguous (there are no LBA gaps). Zones may have different types.
37 * Conventional zones: there are no access constraints to LBAs belonging to
38 conventional zones. Any read or write access can be executed, similarly to a
40 * Sequential zones: these zones accept random reads but must be written
44 cannot be overwritten. Sequential zones must first be erased using a special
60 Zonefs exposes the zones of a zoned block device as files. The files
61 representing zones are grouped by zone type, which are themselves represented
85 Files representing zones of the same type are grouped together under the same
[all …]
/Linux-v6.1/drivers/block/null_blk/
Dzoned.c92 dev->zones = kvmalloc_array(dev->nr_zones, sizeof(struct nullb_zone), in null_init_zoned_dev()
94 if (!dev->zones) in null_init_zoned_dev()
124 zone = &dev->zones[i]; in null_init_zoned_dev()
138 zone = &dev->zones[i]; in null_init_zoned_dev()
185 kvfree(dev->zones); in null_free_zoned_dev()
186 dev->zones = NULL; in null_free_zoned_dev()
207 zone = &dev->zones[first_zone]; in null_report_zones()
240 struct nullb_zone *zone = &dev->zones[null_zone_no(dev, sector)]; in null_zone_valid_read_len()
293 zone = &dev->zones[zno]; in null_close_imp_open_zone()
374 struct nullb_zone *zone = &dev->zones[zno]; in null_zone_write()
[all …]
/Linux-v6.1/drivers/thermal/intel/
Dx86_pkg_temp_thermal.c66 static struct zone_device **zones; variable
103 return zones[id]; in pkg_temp_thermal_get_dev()
380 zones[id] = zonedev; in pkg_temp_thermal_device_add()
435 zones[topology_logical_die_id(cpu)] = NULL; in pkg_thermal_cpu_offline()
502 zones = kcalloc(max_id, sizeof(struct zone_device *), in pkg_temp_thermal_init()
504 if (!zones) in pkg_temp_thermal_init()
523 kfree(zones); in pkg_temp_thermal_init()
535 kfree(zones); in module_init()
/Linux-v6.1/Documentation/power/powercap/
Dpowercap.rst19 Power zones represent different parts of the system, which can be controlled and
23 the system represented by different power zones are hierarchical (that is, one
25 controls), those power zones may also be organized in a hierarchy with one
150 control type called intel-rapl which contains two power zones, intel-rapl:0 and
151 intel-rapl:1, representing CPU packages. Each of these power zones contains
154 the zones and subzones contain energy monitoring attributes (energy_uj,
156 to be applied (the constraints in the 'package' power zones apply to the whole
170 Depending on different power zones, the Intel RAPL technology allows
173 All the zones contain attributes representing the constraint names,
245 enabled (rw): Enable/Disable controls at zone level or for all zones using
/Linux-v6.1/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 …]
/Linux-v6.1/Documentation/mm/
Dbalance.rst43 zone size (and possibly of the size of lower class zones), we can decide
46 of lower class zones, the bad part is, we might do too frequent balancing
47 due to ignoring possibly lower usage in the lower class zones. Also,
52 of a zone _and_ all its lower class zones falls below 1/64th of the
53 total memory in the zone and its lower class zones. This fixes the 2.2
56 which have different numbers and types of zones. If we wanted to get
58 zones in the future.
74 kswapd also needs to know about the zones it should balance. kswapd is
Dnuma.rst76 an ordered "zonelist". A zonelist specifies the zones/nodes to visit when a
81 Because some nodes contain multiple zones containing different types of
84 type on the same node. This is an important consideration because some zones,
86 a default Node ordered zonelist. This means it tries to fallback to other zones
94 nodes' zones in the selected zonelist looking for the first zone in the list
120 zones [nodes] with memory in the zonelists. This means that for a memoryless
/Linux-v6.1/drivers/leds/
Dleds-lm3530.c124 u8 zones[LM3530_ALS_ZB_MAX]; member
176 als->zones[i] = (((als_vmin + LM3530_ALS_OFFSET_mV) + in lm3530_als_configure()
271 reg_val[5] = als.zones[0]; /* LM3530_ALS_ZB0_REG */ in lm3530_init_registers()
272 reg_val[6] = als.zones[1]; /* LM3530_ALS_ZB1_REG */ in lm3530_init_registers()
273 reg_val[7] = als.zones[2]; /* LM3530_ALS_ZB2_REG */ in lm3530_init_registers()
274 reg_val[8] = als.zones[3]; /* LM3530_ALS_ZB3_REG */ in lm3530_init_registers()
/Linux-v6.1/tools/testing/selftests/netfilter/
Dnft_zones_many.sh12 zones=2000
152 test_zones $zones
155 test_conntrack_tool $zones
/Linux-v6.1/drivers/mtd/
Dsm_ftl.c467 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_erase_block()
754 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_init_zone()
886 zone = &ftl->zones[zone_num]; in sm_get_zone()
946 zone = &ftl->zones[zone_num]; in sm_cache_flush()
1160 ftl->zones = kcalloc(ftl->zone_count, sizeof(struct ftl_zone), in sm_add_mtd()
1162 if (!ftl->zones) in sm_add_mtd()
1220 kfree(ftl->zones); in sm_add_mtd()
1240 if (!ftl->zones[i].initialized) in sm_remove_dev()
1243 kfree(ftl->zones[i].lba_to_phys_table); in sm_remove_dev()
1244 kfifo_free(&ftl->zones[i].free_sectors); in sm_remove_dev()
[all …]
Dsm_ftl.h29 struct ftl_zone *zones; /* FTL tables for each zone */ member
/Linux-v6.1/sound/synth/emux/
Dsoundfont.c282 sf->zones = NULL; in newsf()
355 zp->next = sf->zones; in sf_zone_new()
356 sf->zones = zp; in sf_zone_new()
434 for (zp = sf->zones; zp; prevp = zp, zp = zp->next) { in load_map()
446 zp->next = sf->zones; in load_map()
447 sf->zones = zp; in load_map()
487 for (p = sf->zones; p; p = next) { in remove_info()
495 sf->zones = next; in remove_info()
554 for (zone = sf->zones; zone; zone = zone->next) { in load_info()
1153 for (cur = sf->zones; cur; cur = cur->next) { in rebuild_presets()
[all …]
/Linux-v6.1/Documentation/admin-guide/mm/
Dmemory-hotplug.rst363 multiple zones or spans multiple nodes; such memory blocks
399 using the ``contig-zones`` online policy. When
401 onlining a memory block, unless other zones can be kept
441 ``contig-zones`` has been the kernel default
447 When set to ``contig-zones``, the kernel will
448 try keeping zones contiguous. If a memory block
449 intersects multiple zones or no zone, the
494 in the zones combined with accounting per
497 residing on one of the kernel zones. The
538 kernel zones can increase the number of possible transparent huge pages and
[all …]
/Linux-v6.1/tools/thermal/thermometer/
Dthermometer.conf2 thermal-zones = (
/Linux-v6.1/sound/soc/
Dsoc-jack.c91 struct snd_soc_jack_zone *zones) in snd_soc_jack_add_zones() argument
96 INIT_LIST_HEAD(&zones[i].list); in snd_soc_jack_add_zones()
97 list_add(&(zones[i].list), &jack->jack_zones); in snd_soc_jack_add_zones()
/Linux-v6.1/fs/zonefs/
DKconfig8 zonefs is a simple file system which exposes zones of a zoned block
/Linux-v6.1/Documentation/hwmon/
Dasc7621.rst51 We offer flexible mapping of temperature readings to thermal zones. Any
56 a set of zones to control the PWM of an individual fan, but there is no
91 Using temperature information from these four zones, an automatic fan speed
97 temperature zones. Both high- and low-frequency PWM ranges are supported.
223 Only the following combination of zones (and their corresponding masks)
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-class-powercap17 controlled. A <control type> can contain multiple power zones.
42 Power zones may be organized in a hierarchy in which child
43 power zones provide monitoring and control for a subset of
/Linux-v6.1/include/uapi/linux/
Dblkzoned.h133 struct blk_zone zones[]; member

12345678910>>...12