Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c227 struct mlx4_zone_allocator *zones = kmalloc(sizeof(*zones), GFP_KERNEL); in mlx4_zone_allocator_create() local
229 if (NULL == zones) in mlx4_zone_allocator_create()
232 INIT_LIST_HEAD(&zones->entries); in mlx4_zone_allocator_create()
233 INIT_LIST_HEAD(&zones->prios); in mlx4_zone_allocator_create()
234 spin_lock_init(&zones->lock); in mlx4_zone_allocator_create()
235 zones->last_uid = 0; in mlx4_zone_allocator_create()
236 zones->mask = 0; in mlx4_zone_allocator_create()
237 zones->flags = flags; in mlx4_zone_allocator_create()
239 return zones; in mlx4_zone_allocator_create()
429 struct mlx4_zone_allocator *zones, u32 uid) in __mlx4_find_zone_by_uid() argument
[all …]
Dqp.c233 *base = mlx4_zone_alloc_entries(qp_table->zones, uid, cnt, align, in __mlx4_qp_reserve_range()
275 mlx4_zone_free_entries_unique(qp_table->zones, base_qpn, cnt); in __mlx4_qp_release_range()
529 qp_table->zones = mlx4_zone_allocator_create(MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP); in mlx4_create_zones()
531 if (NULL == qp_table->zones) in mlx4_create_zones()
550 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_GENERAL, in mlx4_create_zones()
569 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_RSS, in mlx4_create_zones()
679 err = mlx4_zone_add_one(qp_table->zones, *bitmap + k, in mlx4_create_zones()
701 mlx4_zone_allocator_destroy(qp_table->zones); in mlx4_create_zones()
709 if (qp_table->zones) { in mlx4_cleanup_qp_zones()
716 mlx4_zone_get_bitmap(qp_table->zones, in mlx4_cleanup_qp_zones()
[all …]
Dmlx4.h709 struct mlx4_zone_allocator *zones; member
1439 u32 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count,
1445 u32 mlx4_zone_free_entries(struct mlx4_zone_allocator *zones,
1452 u32 mlx4_zone_free_entries_unique(struct mlx4_zone_allocator *zones, u32 obj, u32 count);
1455 struct mlx4_bitmap *mlx4_zone_get_bitmap(struct mlx4_zone_allocator *zones, u32 uid);
/linux-4.4.14/drivers/uwb/
Ddrp-ie.c145 struct uwb_drp_alloc *zones; in uwb_drp_ie_from_bm() local
150 zones = drp_ie->allocs; in uwb_drp_ie_from_bm()
161 if (current_bmp == zones[i].mas_bm) { in uwb_drp_ie_from_bm()
162 zones[i].zone_bm |= 1 << z; in uwb_drp_ie_from_bm()
169 zones[next].zone_bm = 1 << z; in uwb_drp_ie_from_bm()
170 zones[next].mas_bm = current_bmp; in uwb_drp_ie_from_bm()
179 drp_ie->allocs[i].zone_bm = cpu_to_le16(zones[i].zone_bm); in uwb_drp_ie_from_bm()
180 drp_ie->allocs[i].mas_bm = cpu_to_le16(zones[i].mas_bm); in uwb_drp_ie_from_bm()
/linux-4.4.14/mm/
Dquicklist.c30 struct zone *zones = NODE_DATA(node)->node_zones; in max_pages() local
35 zone_page_state(&zones[ZONE_DMA], NR_FREE_PAGES) + in max_pages()
38 zone_page_state(&zones[ZONE_DMA32], NR_FREE_PAGES) + in max_pages()
40 zone_page_state(&zones[ZONE_NORMAL], NR_FREE_PAGES); in max_pages()
Dvmstat.c600 struct zone *zones = NODE_DATA(node)->node_zones; in node_page_state() local
604 zone_page_state(&zones[ZONE_DMA], item) + in node_page_state()
607 zone_page_state(&zones[ZONE_DMA32], item) + in node_page_state()
610 zone_page_state(&zones[ZONE_HIGHMEM], item) + in node_page_state()
612 zone_page_state(&zones[ZONE_NORMAL], item) + in node_page_state()
613 zone_page_state(&zones[ZONE_MOVABLE], item); in node_page_state()
/linux-4.4.14/fs/btrfs/
Dreada.c73 struct reada_zone *zones[BTRFS_MAX_MIRRORS]; member
382 re->zones[nzones] = zone; in reada_find_extent()
474 zone = re->zones[nzones]; in reada_find_extent()
510 struct reada_zone *zone = re->zones[i]; in reada_extent_put()
518 struct reada_zone *zone = re->zones[i]; in reada_extent_put()
705 if (re->zones[i]->device == dev) { in reada_start_machine_dev()
858 re->zones[i]->start, in dump_devs()
859 re->zones[i]->end); in dump_devs()
860 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
862 re->zones[i]->devs[j]->devid); in dump_devs()
[all …]
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_memory.c189 zone = glob->zones[i]; in ttm_zones_above_swap_target()
272 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_kernel_zone()
309 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_highmem_zone()
356 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_dma32_zone()
393 zone = glob->zones[i]; in ttm_mem_global_init()
419 zone = glob->zones[i]; in ttm_mem_global_release()
436 zone = glob->zones[i]; in ttm_check_swapping()
459 zone = glob->zones[i]; in ttm_mem_global_free_zone()
485 zone = glob->zones[i]; in ttm_mem_global_reserve()
498 zone = glob->zones[i]; in ttm_mem_global_reserve()
/linux-4.4.14/Documentation/vm/
Dbalance37 zone size (and possibly of the size of lower class zones), we can decide
40 of lower class zones, the bad part is, we might do too frequent balancing
41 due to ignoring possibly lower usage in the lower class zones. Also,
46 of a zone _and_ all its lower class zones falls below 1/64th of the
47 total memory in the zone and its lower class zones. This fixes the 2.2
50 which have different numbers and types of zones. If we wanted to get
52 zones in the future.
68 kswapd also needs to know about the zones it should balance. kswapd is
Dnuma72 an ordered "zonelist". A zonelist specifies the zones/nodes to visit when a
77 Because some nodes contain multiple zones containing different types of
80 type on the same node. This is an important consideration because some zones,
93 nodes' zones in the selected zonelist looking for the first zone in the list
119 zones [nodes] with memory in the zonelists. This means that for a memoryless
/linux-4.4.14/Documentation/power/powercap/
Dpowercap.txt17 Power zones represent different parts of the system, which can be controlled and
21 the system represented by different power zones are hierarchical (that is, one
23 controls), those power zones may also be organized in a hierarchy with one
148 control type called intel-rapl which contains two power zones, intel-rapl:0 and
149 intel-rapl:1, representing CPU packages. Each of these power zones contains
152 the zones and subzones contain energy monitoring attributes (energy_uj,
154 to be applied (the constraints in the 'package' power zones apply to the whole
220 enabled (rw): Enable/Disable controls at zone level or for all zones using
/linux-4.4.14/drivers/leds/
Dleds-lm3530.c125 u8 zones[LM3530_ALS_ZB_MAX]; member
177 als->zones[i] = (((als_vmin + LM3530_ALS_OFFSET_mV) + in lm3530_als_configure()
272 reg_val[5] = als.zones[0]; /* LM3530_ALS_ZB0_REG */ in lm3530_init_registers()
273 reg_val[6] = als.zones[1]; /* LM3530_ALS_ZB1_REG */ in lm3530_init_registers()
274 reg_val[7] = als.zones[2]; /* LM3530_ALS_ZB2_REG */ in lm3530_init_registers()
275 reg_val[8] = als.zones[3]; /* LM3530_ALS_ZB3_REG */ in lm3530_init_registers()
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Dthermal.txt5 A thermal structure includes thermal zones and their components,
21 - thermal zones: used to describe thermal data within the hardware;
28 thermal zones. Typical devices are I2C ADC converters and bandgaps. These are
29 nodes providing temperature data to thermal zones. Thermal sensor devices may
191 * The thermal-zones node
193 The "thermal-zones" node is a container for all thermal zone nodes. It shall
194 contain only sub-nodes describing thermal zones as in the section
195 "Thermal zone nodes". The "thermal-zones" node appears under "/".
261 thermal-zones {
320 The example below describes how to deploy several thermal zones based off a
[all …]
Dqcom-spmi-temp-alarm.txt31 thermal-zones {
Dtegra-soctherm.txt47 thermal-zones {
Drockchip-thermal.txt48 thermal-zones {
/linux-4.4.14/drivers/mtd/
Dsm_ftl.c458 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_erase_block()
760 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_init_zone()
884 zone = &ftl->zones[zone_num]; in sm_get_zone()
944 zone = &ftl->zones[zone_num]; in sm_cache_flush()
1158 ftl->zones = kzalloc(sizeof(struct ftl_zone) * ftl->zone_count, in sm_add_mtd()
1160 if (!ftl->zones) in sm_add_mtd()
1218 kfree(ftl->zones); in sm_add_mtd()
1238 if (!ftl->zones[i].initialized) in sm_remove_dev()
1241 kfree(ftl->zones[i].lba_to_phys_table); in sm_remove_dev()
1242 kfifo_free(&ftl->zones[i].free_sectors); in sm_remove_dev()
[all …]
Dsm_ftl.h32 struct ftl_zone *zones; /* FTL tables for each zone */ member
/linux-4.4.14/sound/synth/emux/
Dsoundfont.c295 sf->zones = NULL; in newsf()
367 zp->next = sf->zones; in sf_zone_new()
368 sf->zones = zp; in sf_zone_new()
445 for (zp = sf->zones; zp; prevp = zp, zp = zp->next) { in load_map()
457 zp->next = sf->zones; in load_map()
458 sf->zones = zp; in load_map()
497 for (p = sf->zones; p; p = next) { in remove_info()
505 sf->zones = next; in remove_info()
563 for (zone = sf->zones; zone; zone = zone->next) { in load_info()
1156 for (cur = sf->zones; cur; cur = cur->next) { in rebuild_presets()
[all …]
/linux-4.4.14/sound/soc/
Dsoc-jack.c135 struct snd_soc_jack_zone *zones) in snd_soc_jack_add_zones() argument
140 INIT_LIST_HEAD(&zones[i].list); in snd_soc_jack_add_zones()
141 list_add(&(zones[i].list), &jack->jack_zones); in snd_soc_jack_add_zones()
/linux-4.4.14/include/linux/
Dpage-flags-layout.h21 #error ZONES_SHIFT -- too many zones configured adjust calculation
/linux-4.4.14/Documentation/hwmon/
Dasc762146 We offer flexible mapping of temperature readings to thermal zones. Any
51 a set of zones to control the PWM of an individual fan, but there is no
84 Using temperature information from these four zones, an automatic fan speed
90 temperature zones. Both high- and low-frequency PWM ranges are supported.
204 Only the following combination of zones (and their corresponding masks)
Ddme1737163 temperature zones. The chip features 3 zones whose assignments to temperature
170 pwm[1-3]_auto_pwm_min, respectively. The thermal thresholds of the zones are
Dlm85170 sensors and therefore three zones (# 1, 2 and 3). Each zone has the following
193 to be associated with the zones not the PWMs. This contradicts all the
Df71882fg94 to the border between the highest and one but highest temperature zones, and
Dlm9353 controlled by up to four temperature zones. The fancontrol algorithm is lookup
161 The eight control sources are: temp1-temp4 (aka "zones" in the datasheet),
/linux-4.4.14/Documentation/devicetree/bindings/reset/
Dbrcm,bcm63138-pmb.txt12 by the phandle, and the second is the number of zones for this peripheral
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/
Dpwm-fan.txt19 thermal-zones {
/linux-4.4.14/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
Dsysfs-bus-iio-light-lm3533-als34 zones.
/linux-4.4.14/include/drm/ttm/
Dttm_memory.h83 struct ttm_mem_zone *zones[TTM_MEM_MAX_ZONES]; member
/linux-4.4.14/arch/arm/boot/dts/
Dexynos4-cpu-thermal.dtsi15 thermal-zones {
Dexynos5422-cpu-thermal.dtsi16 thermal-zones {
Domap443x.dtsi33 thermal-zones {
Domap4460.dtsi38 thermal-zones {
Dexynos4412-odroidu3.dts45 thermal-zones {
Dsun5i-a13.dtsi69 thermal-zones {
Dexynos4210.dtsi162 thermal-zones {
Dexynos5440.dtsi243 thermal-zones {
Dexynos4210-trats.dts138 thermal-zones {
Dexynos4412-odroid-common.dtsi95 thermal-zones {
Dexynos3250-monk.dts120 thermal-zones {
Dexynos3250-rinato.dts111 thermal-zones {
Dexynos5250.dtsi281 thermal-zones {
Dsun4i-a10.dtsi123 thermal-zones {
Dexynos5420.dtsi819 thermal-zones {
Dtegra124.dtsi992 thermal-zones {
Domap5.dtsi69 thermal-zones {
Dsun6i-a31.dtsi133 thermal-zones {
Dexynos4412-trats2.dts270 thermal-zones {
Dsun7i-a20.dtsi125 thermal-zones {
Drk3288.dtsi443 thermal-zones {
Ddra7.dtsi1609 thermal_zones: thermal-zones {
Dtegra124-jetson-tk1.dts1931 thermal-zones {
/linux-4.4.14/drivers/media/tuners/
Dmt2063.c586 struct MT2063_FIFZone_t zones[MT2063_MAX_ZONES]; in MT2063_ChooseFirstIF() local
630 if ((j > 0) && (tmpMin < zones[j - 1].max_)) in MT2063_ChooseFirstIF()
631 zones[j - 1].max_ = tmpMax; in MT2063_ChooseFirstIF()
634 zones[j].min_ = tmpMin; in MT2063_ChooseFirstIF()
635 zones[j].max_ = tmpMax; in MT2063_ChooseFirstIF()
654 bestDiff = zones[0].min_; in MT2063_ChooseFirstIF()
656 if (abs(zones[i].min_) < abs(bestDiff)) in MT2063_ChooseFirstIF()
657 bestDiff = zones[i].min_; in MT2063_ChooseFirstIF()
658 if (abs(zones[i].max_) < abs(bestDiff)) in MT2063_ChooseFirstIF()
659 bestDiff = zones[i].max_; in MT2063_ChooseFirstIF()
/linux-4.4.14/include/sound/
Dsoundfont.h63 struct snd_sf_zone *zones; /* Font information */ member
Dsoc.h508 struct snd_soc_jack_zone *zones);
/linux-4.4.14/drivers/powercap/
DKconfig11 power zones representing parts of the system that can be subject to power
/linux-4.4.14/kernel/power/
Dsnapshot.c306 struct list_head zones; member
478 bm->cur.zone = list_entry(bm->zones.next, struct mem_zone_bm_rtree, in memory_bm_position_reset()
579 INIT_LIST_HEAD(&bm->zones); in memory_bm_create()
594 list_add_tail(&zone->list, &bm->zones); in memory_bm_create()
616 list_for_each_entry(zone, &bm->zones, list) in memory_bm_free()
621 INIT_LIST_HEAD(&bm->zones); in memory_bm_free()
649 list_for_each_entry(curr, &bm->zones, list) { in memory_bm_find_bit()
780 if (&bm->cur.zone->list != &bm->zones) { in rtree_next_node()
/linux-4.4.14/tools/thermal/tmon/
DREADME12 devices, zones, sensors, and trip points. They can also change dynamically.
/linux-4.4.14/arch/metag/mm/
DKconfig57 blocks into "zones", where each zone is a power of two number of
/linux-4.4.14/arch/c6x/
DKconfig92 blocks into "zones", where each zone is a power of two number of
/linux-4.4.14/Documentation/sysctl/
Dvm.txt104 all zones are compacted such that free memory is available in contiguous
304 in defending these lower zones.
315 Note: # of this elements is one fewer than number of zones. Because the highest
319 pages for each zones from them. These are shown as array of protection pages
364 pages of higher zones on the node.
783 zone reclaim occurs. Allocations will be satisfied from other zones / nodes
/linux-4.4.14/arch/nios2/
DKconfig65 blocks into "zones", where each zone is a power of two number of
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Darm,scpi.txt161 thermal-zones {
/linux-4.4.14/drivers/thermal/
DKconfig262 Tegra124 systems-on-chip. The driver supports four thermal zones
264 zones to manage temperatures. This option is also required for the
/linux-4.4.14/arch/sh/mm/
DKconfig35 blocks into "zones", where each zone is a power of two number of
/linux-4.4.14/drivers/acpi/
DKconfig272 This driver supports ACPI thermal zones. Most mobile and
273 some desktop systems support ACPI thermal zones. It is HIGHLY
/linux-4.4.14/Documentation/thermal/
Dpower_allocator.txt78 thermal-zones {
Dsysfs-api.txt219 ACPI thermal zones.
300 Attribute is only present for zones in which the passive cooling
Dintel_powerclamp.txt264 cooling device. Currently, it’s not bound to any thermal zones.
/linux-4.4.14/fs/affs/
DChanges226 create allocation zones ...
/linux-4.4.14/arch/microblaze/boot/dts/
Dsystem.dts107 xlnx,mmu-zones = <0x10>;
/linux-4.4.14/drivers/iio/light/
DKconfig204 of the chip through defining five light zones and three sets of
/linux-4.4.14/net/netfilter/
DKconfig85 bool 'Connection tracking zones'
89 This option enables support for connection tracking zones.
91 identity. Connection tracking zones allow to have multiple
93 contained in different zones.
/linux-4.4.14/Documentation/acpi/
Dnamespace.txt191 processors, thermal zones. Those objects are exported to user space via
/linux-4.4.14/Documentation/DocBook/
Dalsa-driver-api.xml.db340 API-snd-soc-jack-add-zones
/linux-4.4.14/arch/xtensa/
DKconfig406 blocks into "zones", where each zone is a power of two number of
/linux-4.4.14/Documentation/
Dmemory-hotplug.txt174 'valid_zones' : read-only: designed to show which zones this memory block
Dkernel-parameters.txt3512 slub_debug can create guard zones around objects and
3689 -1: disable all active trip points in all thermal zones
3693 -1: disable all critical trip points in all thermal zones
/linux-4.4.14/Documentation/filesystems/
Df2fs.txt558 logs from different zones as much as possible, since FTL can write the data in
/linux-4.4.14/arch/arm64/
DKconfig577 blocks into "zones", where each zone is a power of two number of
/linux-4.4.14/arch/powerpc/
DKconfig602 blocks into "zones", where each zone is a power of two number of
/linux-4.4.14/drivers/platform/x86/
DKconfig66 zones on Alienware machines that don't contain a dedicated AlienFX
/linux-4.4.14/arch/arm/
DKconfig1744 blocks into "zones", where each zone is a power of two number of
/linux-4.4.14/arch/mips/
DKconfig2095 blocks into "zones", where each zone is a power of two number of