/linux-6.12.1/tools/testing/selftests/net/ |
D | lib.sh | 27 local -A weights 32 weights[$i]=$((weight++)) 35 if [[ ${weights[$a]} > ${weights[$b]} ]]; then
|
/linux-6.12.1/mm/damon/ |
D | sysfs-schemes.c | 1073 struct damon_sysfs_weights *weights = kmalloc(sizeof(*weights), in damon_sysfs_weights_alloc() local 1076 if (!weights) in damon_sysfs_weights_alloc() 1078 weights->kobj = (struct kobject){}; in damon_sysfs_weights_alloc() 1079 weights->sz = sz; in damon_sysfs_weights_alloc() 1080 weights->nr_accesses = nr_accesses; in damon_sysfs_weights_alloc() 1081 weights->age = age; in damon_sysfs_weights_alloc() 1082 return weights; in damon_sysfs_weights_alloc() 1088 struct damon_sysfs_weights *weights = container_of(kobj, in sz_permil_show() local 1091 return sysfs_emit(buf, "%u\n", weights->sz); in sz_permil_show() 1097 struct damon_sysfs_weights *weights = container_of(kobj, in sz_permil_store() local [all …]
|
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/ |
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-6.12.1/drivers/md/ |
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-6.12.1/Documentation/ABI/testing/ |
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
|
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:
|
D | sysfs-kernel-mm-damon | 256 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/sz_permil 263 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/nr_accesses_… 270 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/age_permil
|
/linux-6.12.1/net/netfilter/ipvs/ |
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-6.12.1/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 82 │ │ │ │ │ │ │ │ weights/sz_permil,nr_accesses_permil,age_permil 248 目录(``weights``),其中有三个文件(``sz_permil``, ``nr_accesses_permil``, 和 252 置间隔`` ,分别向这三个文件写入数值。你还可以通过向 ``weights`` 目录下的三个文件写入数值来设 465 <ms> <sz> <reset interval> <priority weights> 516 # scheme+=" 0 0 100" # prioritization weights
|
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
D | usage.rst | 82 │ │ │ │ │ │ │ │ weights/sz_permil,nr_accesses_permil,age_permil 248 目錄(``weights``),其中有三個文件(``sz_permil``, ``nr_accesses_permil``, 和 252 置間隔`` ,分別向這三個文件寫入數值。你還可以通過向 ``weights`` 目錄下的三個文件寫入數值來設 465 <ms> <sz> <reset interval> <priority weights> 516 # scheme+=" 0 0 100" # prioritization weights
|
/linux-6.12.1/net/sched/ |
D | sch_fq.c | 958 s32 *weights = nla_data(attr); in fq_load_weights() local 962 if (weights[i] < FQ_MIN_WEIGHT) { in fq_load_weights() 964 weights[i], FQ_MIN_WEIGHT); in fq_load_weights() 969 WRITE_ONCE(q->band_flows[i].quantum, weights[i]); in fq_load_weights() 1187 s32 weights[3]; in fq_dump() local 1235 weights[0] = READ_ONCE(q->band_flows[0].quantum); in fq_dump() 1236 weights[1] = READ_ONCE(q->band_flows[1].quantum); in fq_dump() 1237 weights[2] = READ_ONCE(q->band_flows[2].quantum); in fq_dump() 1238 if (nla_put(skb, TCA_FQ_WEIGHTS, sizeof(weights), &weights)) in fq_dump()
|
/linux-6.12.1/net/ceph/crush/ |
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-6.12.1/Documentation/power/powercap/ |
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-6.12.1/Documentation/block/ |
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-6.12.1/block/ |
D | Kconfig.iosched | 24 of the device among all processes according to their weights,
|
/linux-6.12.1/mm/ |
D | mempolicy.c | 2401 u8 *table, *weights, weight; in alloc_pages_bulk_array_weighted_interleave() local 2446 weights = kzalloc(nr_node_ids, GFP_KERNEL); in alloc_pages_bulk_array_weighted_interleave() 2447 if (!weights) in alloc_pages_bulk_array_weighted_interleave() 2453 memcpy(weights, table, nr_node_ids); in alloc_pages_bulk_array_weighted_interleave() 2458 if (!weights[node]) in alloc_pages_bulk_array_weighted_interleave() 2459 weights[node] = 1; in alloc_pages_bulk_array_weighted_interleave() 2460 weight_total += weights[node]; in alloc_pages_bulk_array_weighted_interleave() 2473 resume_weight = weights[resume_node]; in alloc_pages_bulk_array_weighted_interleave() 2476 weight = weights[node]; in alloc_pages_bulk_array_weighted_interleave() 2502 kfree(weights); in alloc_pages_bulk_array_weighted_interleave()
|
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_tc.c | 136 if (params->quanta[i] && params->weights[i] == 0) { in sparx5_tc_setup_qdisc_ets()
|
D | sparx5_qos.c | 547 w_min = min(w_min, params->weights[i]); in sparx5_tc_ets_add() 565 sparx5_weight_to_hw_cost(w_min, params->weights[i]); in sparx5_tc_ets_add()
|
/linux-6.12.1/include/linux/crush/ |
D | crush.h | 150 __u32 *weights; /*!< 16.16 fixed point weights member
|
/linux-6.12.1/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 87 │ │ │ │ │ │ │ │ weights/sz_permil,nr_accesses_permil,age_permil 331 ``reset_interval_ms``, ``effective_bytes``) and two directores (``weights`` and 352 Under ``weights`` directory, three files (``sz_permil``, 354 You can set the :ref:`prioritization weights 357 ``weights`` directory. 772 <ms> <sz> <reset interval> <priority weights> 781 can set the weights for the three properties in ``<priority weights>`` in below 835 # scheme+=" 0 0 100" # prioritization weights
|
/linux-6.12.1/Documentation/networking/ |
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-6.12.1/Documentation/driver-api/thermal/ |
D | power_allocator.rst | 245 Cooling device weights 258 `thermal_zone_device_register()` (i.e., platform code), then weights
|
/linux-6.12.1/Documentation/admin-guide/cgroup-v1/ |
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-6.12.1/net/ceph/ |
D | osdmap.c | 253 kfree(arg->weight_set[j].weights); in free_choose_arg_map() 328 w->weights = decode_array_32_alloc(p, end, &w->size); in decode_choose_arg() 329 if (IS_ERR(w->weights)) { in decode_choose_arg() 330 ret = PTR_ERR(w->weights); in decode_choose_arg() 331 w->weights = NULL; in decode_choose_arg()
|
/linux-6.12.1/Documentation/mm/ |
D | balance.rst | 55 fancy, we could assign different weights to free pages in different
|