| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-mm-mempolicy-weighted-interleave | 11 The interleave weight for a memory node (N). These weights are 15 These weights only affect new allocations, and changes at runtime 38 In auto mode, all node weights are re-calculated and overwritten 42 In manual mode, node weights can only be updated by the user. 43 Note that nodes that are onlined with previously set weights 44 will reuse those weights. If they were not previously set or 45 are onlined with missing bandwidth data, the weights will use
|
| H A D | sysfs-driver-hid-roccat-kone | 106 Description: The mouse can be equipped with one of four supplied weights 112 The values map to the weights as follows:
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_ets.c | 44 if (params->quanta[i] && params->weights[i] == 0) in lan966x_ets_add() 55 w_min = min(w_min, params->weights[i]); in lan966x_ets_add() 64 lan_wr(lan966x_ets_hw_cost(w_min, params->weights[i]), in lan966x_ets_add()
|
| /linux/mm/damon/ |
| H A D | sysfs-schemes.c | 1383 struct damon_sysfs_weights *weights = kmalloc_obj(*weights); in damon_sysfs_weights_alloc() local 1385 if (!weights) in damon_sysfs_weights_alloc() 1387 weights->kobj = (struct kobject){}; in damon_sysfs_weights_alloc() 1388 weights->sz = sz; in damon_sysfs_weights_alloc() 1389 weights->nr_accesses = nr_accesses; in damon_sysfs_weights_alloc() 1390 weights->age = age; in damon_sysfs_weights_alloc() 1391 return weights; in damon_sysfs_weights_alloc() 1397 struct damon_sysfs_weights *weights = container_of(kobj, in sz_permil_show() local 1400 return sysfs_emit(buf, "%u\n", weights->sz); in sz_permil_show() 1406 struct damon_sysfs_weights *weights = container_of(kobj, in sz_permil_store() local [all …]
|
| /linux/net/netfilter/ipvs/ |
| H A D | Kconfig | 128 connections to different real servers based on server weights 129 in a round-robin manner. Servers with higher weights receive 130 new connections first than those with less weights, and servers 131 with higher weights get more connections than those with less 132 weights and servers with equal weights get equal connections. 295 until all slots in the table are filled. When using weights to 297 tiled an amount proportional to the weights specified. The table 299 multiplied by their respective weights. 313 65521 or 131071. When using weights to allow destinations to 315 proportional to the weights specified. The table needs to be large [all …]
|
| /linux/drivers/md/ |
| H A D | dm-ps-historical-service-time.c | 50 unsigned int weights[HST_WEIGHT_COUNT]; member 153 return s->weights[bucket]; in hst_weight() 171 s->weights[i] = fixed_power(base, HST_FIXED_SHIFT, i + 1); in hst_set_weights() 172 s->weights[HST_WEIGHT_COUNT - 1] = 0; in hst_set_weights() 246 DMEMIT("2 %u %u ", s->weights[0], s->threshold_multiplier); in hst_status()
|
| /linux/tools/testing/selftests/net/ |
| H A D | lib.sh | 38 local -A weights 43 weights[$i]=$((weight++)) 46 if [[ ${weights[$a]} -ge ${weights[$b]} ]]; then
|
| /linux/net/sched/ |
| H A D | sch_fq.c | 977 s32 *weights = nla_data(attr); in fq_load_weights() 981 if (weights[i] < FQ_MIN_WEIGHT) { in fq_load_weights() 983 weights[i], FQ_MIN_WEIGHT); in fq_load_weights() 988 WRITE_ONCE(q->band_flows[i].quantum, weights[i]); in fq_load_weights() 1220 s32 weights[3]; in fq_dump() 1272 weights[0] = READ_ONCE(q->band_flows[0].quantum); in fq_dump() 1273 weights[1] = READ_ONCE(q->band_flows[1].quantum); in fq_dump() 1274 weights[2] = READ_ONCE(q->band_flows[2].quantum); in fq_dump() 1275 if (nla_put(skb, TCA_FQ_WEIGHTS, sizeof(weights), &weights)) in fq_dump() 976 s32 *weights = nla_data(attr); fq_load_weights() local 1219 s32 weights[3]; fq_dump() local [all...] |
| H A D | sch_ets.c | 147 qopt.replace_params.weights[i] = weight; in ets_offload_change()
|
| /linux/net/ceph/crush/ |
| H A D | mapper.c | 314 return arg->weight_set[position].weights; in get_choose_arg_weights() 334 __u32 *weights = get_choose_arg_weights(bucket, arg, position); in bucket_straw2_choose() local 338 dprintk("weight 0x%x item %d\n", weights[i], ids[i]); in bucket_straw2_choose() 339 if (weights[i]) { in bucket_straw2_choose() 361 draw = div64_s64(ln, weights[i]); in bucket_straw2_choose()
|
| /linux/Documentation/driver-api/cxl/platform/acpi/ |
| H A D | hmat.rst | 16 This table is used by Linux to configure interleave weights and memory tiers.
|
| /linux/Documentation/power/powercap/ |
| H A D | dtpm.rst | 88 Note the sum of weights at the same level are equal to 1024. 90 …applied to a node, then it is distributed along the children given their weights. For example, if … 201 be updated with the new power numbers and weights.
|
| /linux/Documentation/block/ |
| H A D | bfq-iosched.rst | 130 among I/O-bound applications in proportion to their weights, with any 319 weights can be assigned to processes only indirectly, through I/O 325 applications. Unset this tunable if you need/want to control weights. 356 case of differentiated weights or differentiated I/O-request lengths. 398 In the presence of differentiated weights or I/O-request sizes, both 506 device bandwidth, according to group weights. For example, a group 513 group in proportion to their weights. In particular, this implies 570 The linear mapping between ioprio and weights, described at the beginning 571 of the tunable section, is still valid, but all weights higher than 576 applications. Unset this tunable if you need/want to control weights.
|
| /linux/block/ |
| H A D | Kconfig.iosched | 24 of the device among all processes according to their weights,
|
| /linux/include/linux/crush/ |
| H A D | crush.h | 150 __u32 *weights; /*!< 16.16 fixed point weights member
|
| /linux/mm/ |
| H A D | mempolicy.c | 2635 u8 *weights, weight; in alloc_pages_bulk_weighted_interleave() local 2680 weights = kzalloc(nr_node_ids, GFP_KERNEL); in alloc_pages_bulk_weighted_interleave() 2681 if (!weights) in alloc_pages_bulk_weighted_interleave() 2687 memcpy(weights, state->iw_table, nr_node_ids * sizeof(u8)); in alloc_pages_bulk_weighted_interleave() 2692 weights[i] = 1; in alloc_pages_bulk_weighted_interleave() 2697 weight_total += weights[node]; in alloc_pages_bulk_weighted_interleave() 2709 resume_weight = weights[resume_node]; in alloc_pages_bulk_weighted_interleave() 2712 weight = weights[node]; in alloc_pages_bulk_weighted_interleave() 2738 kfree(weights); in alloc_pages_bulk_weighted_interleave()
|
| /linux/Documentation/networking/ |
| H A D | nexthop-group-resilient.rst | 9 weights of constituent next hops. 69 When weights of next hops in a group are altered, it may be possible to 255 Changing next-hop weights leads to change in bucket allocation::
|
| /linux/Documentation/driver-api/thermal/ |
| H A D | power_allocator.rst | 245 Cooling device weights 258 `thermal_zone_device_register()` (i.e., platform code), then weights
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | blkio-controller.rst | 105 Currently allowed range of weights is from 1 to 1000. For more details, 109 Specifies per cgroup per device weights, overriding the default group
|
| /linux/net/ceph/ |
| H A D | osdmap.c | 256 kfree(arg->weight_set[j].weights); in free_choose_arg_map() 331 w->weights = decode_array_32_alloc(p, end, &w->size); in decode_choose_arg() 332 if (IS_ERR(w->weights)) { in decode_choose_arg() 333 ret = PTR_ERR(w->weights); in decode_choose_arg() 334 w->weights = NULL; in decode_choose_arg()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_qdisc.c | 1323 const unsigned int *weights, in __mlxsw_sp_qdisc_ets_replace() argument 1360 weights[band]); in __mlxsw_sp_qdisc_ets_replace() 1558 p->weights, p->priomap); in mlxsw_sp_qdisc_ets_replace()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-diff.txt | 288 - WEIGHT-A/WEIGHT-B being user supplied weights in the '-c' option
|
| /linux/include/net/ |
| H A D | pkt_cls.h | 1015 unsigned int weights[TCQ_ETS_MAX_BANDS]; member
|
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_eth.c | 2113 const u16 *weights, u8 n_weights) in airoha_qdma_set_chan_tx_sched() argument 2129 FIELD_PREP(TWRR_VALUE_MASK, weights[i])); in airoha_qdma_set_chan_tx_sched() 2189 w[i] = p->weights[nstrict + i]; in airoha_qdma_set_tx_ets_sched()
|
| /linux/Documentation/networking/devlink/ |
| H A D | ice.rst | 435 and arbitration among them is based on assigned weights.
|