/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | alloc.c | 227 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() 427 struct mlx4_zone_allocator *zones, u32 uid) in __mlx4_find_zone_by_uid() argument [all …]
|
D | qp.c | 239 *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() 708 err = mlx4_zone_add_one(qp_table->zones, *bitmap + k, in mlx4_create_zones() 730 mlx4_zone_allocator_destroy(qp_table->zones); in mlx4_create_zones() 738 if (qp_table->zones) { in mlx4_cleanup_qp_zones() 745 mlx4_zone_get_bitmap(qp_table->zones, in mlx4_cleanup_qp_zones() [all …]
|
/Linux-v4.19/drivers/block/ |
D | null_blk_zoned.c | 27 dev->zones = kvmalloc_array(dev->nr_zones, sizeof(struct blk_zone), in null_zone_init() 29 if (!dev->zones) in null_zone_init() 33 struct blk_zone *zone = &dev->zones[i]; in null_zone_init() 48 kvfree(dev->zones); in null_zone_exit() 74 memcpy(addr, &dev->zones[zno], in null_zone_fill_bio() 106 struct blk_zone *zone = &dev->zones[zno]; in null_zone_write() 139 struct blk_zone *zone = &dev->zones[zno]; in null_zone_reset()
|
/Linux-v4.19/Documentation/device-mapper/ |
D | dm-zoned.txt | 24 host-managed disk with 256 MB zones, dm-zoned memory usage per disk 25 instance is at most 4.5 MB and as little as 5 zones will be used 37 write accesses to the sequential zones of a zoned block device. 38 Conventional zones are used for caching as well as for storing internal 41 The zones of the device are separated into 2 types: 43 1) Metadata zones: these are conventional zones used to store metadata. 44 Metadata zones are not reported as useable capacity to the user. 46 2) Data zones: all remaining zones, the vast majority of which will be 47 sequential zones used exclusively to store user data. The conventional 48 zones of the device may be used also for buffering user random writes. [all …]
|
/Linux-v4.19/drivers/uwb/ |
D | drp-ie.c | 144 struct uwb_drp_alloc *zones; in uwb_drp_ie_from_bm() local 149 zones = drp_ie->allocs; in uwb_drp_ie_from_bm() 160 if (current_bmp == zones[i].mas_bm) { in uwb_drp_ie_from_bm() 161 zones[i].zone_bm |= 1 << z; in uwb_drp_ie_from_bm() 168 zones[next].zone_bm = 1 << z; in uwb_drp_ie_from_bm() 169 zones[next].mas_bm = current_bmp; in uwb_drp_ie_from_bm() 178 drp_ie->allocs[i].zone_bm = cpu_to_le16(zones[i].zone_bm); in uwb_drp_ie_from_bm() 179 drp_ie->allocs[i].mas_bm = cpu_to_le16(zones[i].mas_bm); in uwb_drp_ie_from_bm()
|
/Linux-v4.19/mm/ |
D | quicklist.c | 31 struct zone *zones = NODE_DATA(node)->node_zones; in max_pages() local 36 zone_page_state(&zones[ZONE_DMA], NR_FREE_PAGES) + in max_pages() 39 zone_page_state(&zones[ZONE_DMA32], NR_FREE_PAGES) + in max_pages() 41 zone_page_state(&zones[ZONE_NORMAL], NR_FREE_PAGES); in max_pages()
|
/Linux-v4.19/block/ |
D | blk-zoned.c | 109 struct blk_zone *zones, in blkdev_report_zones() argument 211 if (blkdev_report_zone(bdev, addr + ofst, &zones[nz])) in blkdev_report_zones() 309 struct blk_zone *zones; in blkdev_report_zones_ioctl() local 334 zones = kvmalloc_array(rep.nr_zones, sizeof(struct blk_zone), in blkdev_report_zones_ioctl() 336 if (!zones) in blkdev_report_zones_ioctl() 340 zones, &rep.nr_zones, in blkdev_report_zones_ioctl() 351 if (copy_to_user(argp + sizeof(struct blk_zone_report), zones, in blkdev_report_zones_ioctl() 357 kvfree(zones); in blkdev_report_zones_ioctl()
|
/Linux-v4.19/drivers/thermal/tegra/ |
D | tegra-bpmp-thermal.c | 39 struct tegra_bpmp_thermal_zone **zones; member 118 if (tegra->zones[i]->idx != req->host_trip_reached.zone) in bpmp_mrq_thermal() 121 schedule_work(&tegra->zones[i]->tz_device_update_work); in bpmp_mrq_thermal() 185 tegra->zones = devm_kcalloc(&pdev->dev, max_num_zones, in tegra_bpmp_thermal_probe() 186 sizeof(*tegra->zones), GFP_KERNEL); in tegra_bpmp_thermal_probe() 187 if (!tegra->zones) in tegra_bpmp_thermal_probe() 220 tegra->zones[tegra->num_zones++] = zone; in tegra_bpmp_thermal_probe()
|
D | Kconfig | 8 Tegra systems-on-chip. The driver supports four thermal zones 10 zones to manage temperatures. This option is also required for the
|
/Linux-v4.19/fs/btrfs/ |
D | reada.c | 58 struct reada_zone *zones[BTRFS_MAX_MIRRORS]; member 364 re->zones[re->nzones++] = zone; in reada_find_extent() 406 dev = re->zones[nzones]->device; in reada_find_extent() 433 dev = re->zones[nzones]->device; in reada_find_extent() 458 zone = re->zones[nzones]; in reada_find_extent() 494 struct reada_zone *zone = re->zones[i]; in reada_extent_put() 502 struct reada_zone *zone = re->zones[i]; in reada_extent_put() 696 if (re->zones[i]->device == dev) { in reada_start_machine_dev() 845 re->zones[i]->start, in dump_devs() 846 re->zones[i]->end); in dump_devs() [all …]
|
/Linux-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 251 zone = glob->zones[i]; in ttm_zones_above_swap_target() 332 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_kernel_zone() 369 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_highmem_zone() 416 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_dma32_zone() 456 zone = glob->zones[i]; in ttm_mem_global_init() 482 zone = glob->zones[i]; in ttm_mem_global_release() 499 zone = glob->zones[i]; in ttm_check_swapping() 522 zone = glob->zones[i]; in ttm_mem_global_free_zone() 577 zone = glob->zones[i]; in ttm_mem_global_reserve() 590 zone = glob->zones[i]; in ttm_mem_global_reserve()
|
/Linux-v4.19/Documentation/power/powercap/ |
D | powercap.txt | 17 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-v4.19/Documentation/vm/ |
D | balance.rst | 43 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
|
D | numa.rst | 76 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-v4.19/Documentation/devicetree/bindings/thermal/ |
D | zx2967-thermal.txt | 13 Please note: slope coefficient defined in thermal-zones section need to be 42 Example for thermal zones: 44 thermal-zones {
|
D | thermal.txt | 5 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 181 * The thermal-zones node 183 The "thermal-zones" node is a container for all thermal zone nodes. It shall 184 contain only sub-nodes describing thermal zones as in the section 185 "Thermal zone nodes". The "thermal-zones" node appears under "/". 247 thermal-zones { 301 The example below describes how to deploy several thermal zones based off a [all …]
|
D | brcm,ns-thermal.txt | 19 thermal-zones {
|
/Linux-v4.19/drivers/leds/ |
D | leds-lm3530.c | 125 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-v4.19/drivers/mtd/ |
D | sm_ftl.c | 459 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_erase_block() 743 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_init_zone() 867 zone = &ftl->zones[zone_num]; in sm_get_zone() 927 zone = &ftl->zones[zone_num]; in sm_cache_flush() 1140 ftl->zones = kcalloc(ftl->zone_count, sizeof(struct ftl_zone), in sm_add_mtd() 1142 if (!ftl->zones) in sm_add_mtd() 1200 kfree(ftl->zones); in sm_add_mtd() 1220 if (!ftl->zones[i].initialized) in sm_remove_dev() 1223 kfree(ftl->zones[i].lba_to_phys_table); in sm_remove_dev() 1224 kfifo_free(&ftl->zones[i].free_sectors); in sm_remove_dev() [all …]
|
D | sm_ftl.h | 32 struct ftl_zone *zones; /* FTL tables for each zone */ member
|
/Linux-v4.19/sound/synth/emux/ |
D | soundfont.c | 295 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-v4.19/include/uapi/linux/ |
D | blkzoned.h | 119 struct blk_zone zones[0]; member
|
/Linux-v4.19/sound/soc/ |
D | soc-jack.c | 155 struct snd_soc_jack_zone *zones) in snd_soc_jack_add_zones() argument 160 INIT_LIST_HEAD(&zones[i].list); in snd_soc_jack_add_zones() 161 list_add(&(zones[i].list), &jack->jack_zones); in snd_soc_jack_add_zones()
|
/Linux-v4.19/Documentation/hwmon/ |
D | asc7621 | 46 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)
|
/Linux-v4.19/include/linux/ |
D | page-flags-layout.h | 24 #error ZONES_SHIFT -- too many zones configured adjust calculation
|