Searched refs:weight (Results 76 - 100 of 259) sorted by relevance

1234567891011

/linux-master/tools/perf/util/bpf_skel/vmlinux/
H A Dvmlinux.h159 union perf_sample_weight weight; member in struct:perf_sample_data
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2_llh.c117 const u32 weight)
122 weight);
115 hw_atl2_tps_tx_pkt_shed_tc_data_weight_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 weight) argument
/linux-master/include/uapi/linux/
H A Dip_vs.h166 int weight; /* destination weight */ member in struct:ip_vs_dest_user
231 int weight; /* destination weight */ member in struct:ip_vs_dest_entry
393 IPVS_DEST_ATTR_WEIGHT, /* destination weight */
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-intel.c501 plat->tx_queues_cfg[0].weight = 0x09;
502 plat->tx_queues_cfg[1].weight = 0x0A;
503 plat->tx_queues_cfg[2].weight = 0x0B;
504 plat->tx_queues_cfg[3].weight = 0x0C;
505 plat->tx_queues_cfg[4].weight = 0x0D;
506 plat->tx_queues_cfg[5].weight = 0x0E;
507 plat->tx_queues_cfg[6].weight = 0x0F;
508 plat->tx_queues_cfg[7].weight = 0x10;
/linux-master/tools/testing/selftests/net/forwarding/
H A Dgre_inner_v6_multipath.sh262 nexthop via 192.0.2.146 weight $weight1 \
263 nexthop via 192.0.2.162 weight $weight2
H A Dgre_multipath.sh215 nexthop dev g1a weight $weight1 \
216 nexthop dev g1b weight $weight2
H A Dgre_inner_v4_multipath.sh262 nexthop via 192.0.2.146 weight $weight1 \
263 nexthop via 192.0.2.162 weight $weight2
H A Dip6gre_inner_v6_multipath.sh261 nexthop via 2001:db8:81::2 weight $weight1 \
262 nexthop via 2001:db8:82::2 weight $weight2
H A Dip6gre_inner_v4_multipath.sh261 nexthop via 2001:db8:81::2 weight $weight1 \
262 nexthop via 2001:db8:82::2 weight $weight2
/linux-master/net/devlink/
H A Drate.c326 u32 weight; local
370 weight = nla_get_u32(attrs[DEVLINK_ATTR_RATE_TX_WEIGHT]);
373 weight, info->extack);
376 weight, info->extack);
380 devlink_rate->tx_weight = weight;
423 "TX weight set isn't supported for the leafs");
449 "TX weight set isn't supported for the nodes");
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c380 struct hclge_pg_weight_cmd *weight; local
385 weight = (struct hclge_pg_weight_cmd *)desc.data;
387 weight->pg_id = pg_id;
388 weight->dwrr = dwrr;
396 struct hclge_priority_weight_cmd *weight; local
401 weight = (struct hclge_priority_weight_cmd *)desc.data;
403 weight->pri_id = pri_id;
404 weight->dwrr = dwrr;
412 struct hclge_qs_weight_cmd *weight; local
417 weight
1814 hclge_tm_get_qset_weight(struct hclge_dev *hdev, u16 qset_id, u8 *weight) argument
1884 hclge_tm_get_pri_weight(struct hclge_dev *hdev, u8 pri_id, u8 *weight) argument
2020 hclge_tm_get_pg_weight(struct hclge_dev *hdev, u8 pg_id, u8 *weight) argument
[all...]
/linux-master/lib/
H A Dobjagg.c738 unsigned int weight = node->objagg_obj->stats.user_count; local
741 /* Node weight is sum of node users and all other nodes users
751 weight += node->objagg_obj->stats.user_count;
753 return weight;
760 unsigned int weight; local
768 weight = objagg_tmp_graph_node_weight(graph, i);
769 if (weight >= max_weight) {
770 max_weight = weight;
/linux-master/fs/dlm/
H A Dconfig.c28 * /config/dlm/<cluster>/spaces/<space>/nodes/<node>/weight
294 int weight; member in struct:dlm_node
558 nd->weight = 1; /* default weight of 1 if none is set */
786 return sprintf(buf, "%d\n", config_item_to_node(item)->weight);
792 int rc = kstrtoint(buf, 0, &config_item_to_node(item)->weight);
800 CONFIGFS_ATTR(node_, weight);
894 node->weight = nd->weight;
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dbtcoex.c278 u8 txprio_shift[] = { 24, 16, 16, 0 }; /* tx priority weight */
280 const u32 *weight = ar9003_wlan_weights[stomp_type]; local
295 weight = mci_wlan_weights[stype];
300 btcoex_hw->wlan_weight[i] = weight[i];
310 /* Last WLAN weight has to be adjusted wrt tx priority */
327 * Program coex mode and weight registers to
451 * Configures appropriate weight based on stomp type.
/linux-master/drivers/md/
H A Ddm-ps-historical-service-time.c115 * @weight: [0, HST_FIXED_1]
120 * so call fixed_ema(last, next, pow(weight, N))
122 static u64 fixed_ema(u64 last, u64 next, u64 weight) argument
124 last *= weight;
125 last += next * (HST_FIXED_1 - weight);
145 * Get the weight for a given time span.
184 * <base_weight>: Base weight for ema [0, 1024) 10-bit fixed point. A
/linux-master/block/
H A Dbfq-iosched.h30 * than interactive ones. Over-raise the weight of the former to
66 /* scheduler weight sum; active and idle entities contribute to it */
113 * with a given weight.
116 unsigned int weight; /* weight of the queues this counter refers to */ member in struct:bfq_weight_counter
117 unsigned int num_active; /* nr of active queues with this weight */
142 * Unless cgroups are used, the weight value is calculated from the
161 /* B-WF2Q+ start and finish timestamps [sectors/weight] */
176 /* budget, used also to calculate F_i: F_i = S_i + @budget / @weight */
182 /* device weight, i
186 int weight; member in struct:bfq_entity
967 unsigned int weight; member in struct:bfq_group_data
[all...]
/linux-master/arch/s390/kernel/
H A Dsthyi.c237 if (block->cpus[i].weight == DED_WEIGHT)
243 if (block->cpus[i].weight == DED_WEIGHT)
288 if (block->cpus[i].weight == DED_WEIGHT)
/linux-master/drivers/thermal/
H A Dthermal_of.c328 int ret, weight = THERMAL_WEIGHT_DEFAULT; local
330 of_property_read_u32(map_np, "contribution", &weight);
352 weight);
/linux-master/include/linux/crush/
H A Dcrush.h136 __u32 weight; /* 16-bit fixed point */ member in struct:crush_bucket
178 struct crush_weight_set *weight_set; /*!< weight replacements for
/linux-master/include/rdma/
H A Dib_smi.h113 u8 weight; member in struct:ib_vl_weight_elem
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_dcb.c101 u8 weight = ets->tc_tx_bw[i]; local
105 0, dwrr, weight);
139 u8 weight = my_ets->tc_tx_bw[i]; local
143 0, dwrr, weight);
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_cpu.c260 if (cg_write_numeric(children[i].cgroup, "cpu.weight",
344 * A/B cpu.weight = 50
345 * A/C cpu.weight = 100
346 * A/D cpu.weight = 150
353 * was given proportional runtime as informed by their cpu.weight.
384 * A/B cpu.weight = 50
385 * A/C cpu.weight = 100
386 * A/D cpu.weight = 150
393 * had roughly the same runtime despite having different cpu.weight.
439 if (cg_write(child, "cpu.weight", "100
444 long weight; local
[all...]
/linux-master/kernel/
H A Dscftorture.c61 torture_param(int, weight_resched, -1, "Testing weight for resched_cpu() operations.");
62 torture_param(int, weight_single, -1, "Testing weight for single-CPU no-wait operations.");
63 torture_param(int, weight_single_rpc, -1, "Testing weight for single-CPU RPC operations.");
64 torture_param(int, weight_single_wait, -1, "Testing weight for single-CPU operations.");
65 torture_param(int, weight_many, -1, "Testing weight for multi-CPU no-wait operations.");
66 torture_param(int, weight_many_wait, -1, "Testing weight for multi-CPU operations.");
67 torture_param(int, weight_all, -1, "Testing weight for all-CPU no-wait operations.");
68 torture_param(int, weight_all_wait, -1, "Testing weight for all-CPU operations.");
204 static void scf_sel_add(unsigned long weight, int prim, bool wait) argument
208 // If no weight, i
[all...]
/linux-master/drivers/hid/
H A Dhid-roccat-kone.c226 * Reads value of "fast-clip-weight" and stores it in @result
416 /* weight is read each time, since we don't get informed when it's changed */
422 int weight = 0; local
430 retval = kone_get_weight(usb_dev, &weight);
435 return snprintf(buf, PAGE_SIZE, "%d\n", weight);
437 static DEVICE_ATTR(weight, 0440, kone_sysfs_show_weight, NULL);
613 * weight.
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.h118 uint32_t weight; member in struct:kfd_iolink_properties

Completed in 247 milliseconds

1234567891011