Home
last modified time | relevance | path

Searched refs:weights (Results 1 – 25 of 33) sorted by relevance

12

/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-mempolicy-weighted-interleave11 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 Dsysfs-driver-hid-roccat-kone106 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 Dlan966x_ets.c44 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/drivers/md/
H A Ddm-ps-historical-service-time.c51 unsigned int weights[HST_WEIGHT_COUNT];
114 return s->weights[bucket];
118 * Set up the weights array.
120 * weights[len-1] = 0
121 * weights[n] = base ^ (n + 1)
131 s->weights[0] = base; in alloc_selector()
133 s->weights[i] = (base * s->weights[i - 1] + in alloc_selector()
135 s->weights[HST_WEIGHT_COUNT - 1] = 0; in alloc_selector()
210 DMEMIT("2 %u %u ", s->weights[ in hst_create()
50 unsigned int weights[HST_WEIGHT_COUNT]; global() member
[all...]
/linux/tools/testing/selftests/net/
H A Dlib.sh38 local -A weights
43 weights[$i]=$((weight++))
46 if [[ ${weights[$a]} -ge ${weights[$b]} ]]; then
/linux/net/sched/
H A Dsch_fq.c1074 s32 *weights = nla_data(attr); in fq_change()
1078 if (weights[i] < FQ_MIN_WEIGHT) { in fq_change()
1080 weights[i], FQ_MIN_WEIGHT); in fq_change()
1085 WRITE_ONCE(q->band_flows[i].quantum, weights[i]); in fq_change()
1319 s32 weights[3]; in fq_dump()
1371 weights[0] = READ_ONCE(q->band_flows[0].quantum); in fq_dump_stats()
1372 weights[1] = READ_ONCE(q->band_flows[1].quantum); in fq_dump_stats()
1373 weights[2] = READ_ONCE(q->band_flows[2].quantum); in fq_dump_stats()
1374 if (nla_put(skb, TCA_FQ_WEIGHTS, sizeof(weights), &weights)) in fq_dump_stats()
1037 s32 *weights = nla_data(attr); fq_load_weights() local
1278 s32 weights[3]; fq_dump() local
[all...]
H A Dsch_ets.c147 qopt.replace_params.weights[i] = weight; in ets_offload_change()
/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dusage.rst93 │ │ │ │ │ │ │ │ weights/sz_permil,nr_accesses_permil,age_permil
365 ``fail_charge_num`` 和 ``fail_charge_denom``)以及两个目录(``weights``
393 在 ``weights`` 目录下,存在三个文件(``sz_permil``、
394 ``nr_accesses_permil`` 和 ``age_permil``)。你可以向 ``weights`` 目录下的
/linux/net/ceph/crush/
H A Dmapper.c314 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 Dhmat.rst16 This table is used by Linux to configure interleave weights and memory tiers.
/linux/Documentation/power/powercap/
H A Ddtpm.rst88 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 Dbfq-iosched.rst130 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 DKconfig.iosched24 of the device among all processes according to their weights,
/linux/include/linux/crush/
H A Dcrush.h150 __u32 *weights; /*!< 16.16 fixed point weights member
/linux/mm/
H A Dmempolicy.c24 * a set of weights (per-node), with normal fallback if it
26 * Example: nodeset(0,1) & weights (2,1) - 2 pages allocated
148 * weightiness balances the tradeoff between small weights (cycles through nodes
149 * faster, more fair/even distribution) and large weights (smaller errors
205 * Convert bandwidth values into weighted interleave weights. in reduce_interleave_weights()
243 /* 1:2 is strictly better than 16:32. Reduce by the weights' GCD. */ in mempolicy_set_node_perf()
285 /* Manual mode; skip reducing weights and updating wi_state */
291 /* NULL wi_state assumes auto=true; reduce weights and update wi_state*/ in numa_nearest_node()
2220 /* Uninitialized wi_state means we should assume all weights are 1 */ in weighted_interleave_nid()
2637 u8 *weights, weight; alloc_pages_bulk_weighted_interleave() local
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_qos.c558 w_min = min(w_min, params->weights[i]); in sparx5_tc_ets_add()
576 sparx5_weight_to_hw_cost(w_min, params->weights[i]); in sparx5_tc_ets_add()
/linux/Documentation/networking/
H A Dnexthop-group-resilient.rst9 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 Dpower_allocator.rst245 Cooling device weights
258 `thermal_zone_device_register()` (i.e., platform code), then weights
/linux/Documentation/translations/zh_CN/mm/damon/
H A Ddesign.rst473 权重,请参考文档的 :ref:`weights <sysfs_quotas_zh_CN>` 部分。
/linux/Documentation/admin-guide/cgroup-v1/
H A Dblkio-controller.rst105 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 Dosdmap.c255 kfree(arg->weight_set[j].weights); in free_choose_arg_map()
330 w->weights = decode_array_32_alloc(p, end, &w->size); in decode_choose_arg()
331 if (IS_ERR(w->weights)) { in decode_choose_arg()
332 ret = PTR_ERR(w->weights); in decode_choose_arg()
333 w->weights = NULL; in decode_choose_arg()
2509 * also doesn't exist, fall back to canonical weights. in do_crush()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c1323 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 Dperf-diff.txt291 - WEIGHT-A/WEIGHT-B being user supplied weights in the '-c' option
/linux/include/net/
H A Dpkt_cls.h1025 unsigned int weights[TCQ_ETS_MAX_BANDS];
1027 unsigned int weights[TCQ_ETS_MAX_BANDS]; global() member
/linux/Documentation/networking/devlink/
H A Dice.rst435 and arbitration among them is based on assigned weights.

12