Searched refs:weight (Results 201 - 225 of 259) sorted by relevance

1234567891011

/linux-master/drivers/vhost/
H A Dvhost.c470 pkts >= dev->weight) {
505 int iov_limit, int weight, int byte_weight,
521 dev->weight = weight;
503 vhost_dev_init(struct vhost_dev *dev, struct vhost_virtqueue **vqs, int nvqs, int iov_limit, int weight, int byte_weight, bool use_worker, int (*msg_handler)(struct vhost_dev *dev, u32 asid, struct vhost_iotlb_msg *msg)) argument
/linux-master/lib/zstd/compress/
H A Dzstd_compress_internal.h1285 U32 const weight = BWeight + FWeight;
1287 return (double)weight / fp_multiplier;
H A Dzstd_opt.c51 U32 const weight = BWeight + FWeight; local
53 return weight;
/linux-master/include/net/
H A Dip_vs.h656 int weight; /* destination weight */ member in struct:ip_vs_dest_user_kern
726 atomic_t weight; /* server weight */ member in struct:ip_vs_dest
727 atomic_t last_weight; /* server latest weight */
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac4_core.c238 u32 weight, u32 queue)
246 value |= weight & MTL_TXQ_WEIGHT_ISCQW_MASK;
297 /* configure idle slope (same register as tx weight) */
236 dwmac4_set_mtl_tx_queue_weight(struct stmmac_priv *priv, struct mac_device_info *hw, u32 weight, u32 queue) argument
H A Ddwxgmac2_core.c246 u32 weight, u32 queue)
250 writel(weight, ioaddr + XGMAC_MTL_TCx_QUANTUM_WEIGHT(queue));
244 dwxgmac2_set_mtl_tx_queue_weight(struct stmmac_priv *priv, struct mac_device_info *hw, u32 weight, u32 queue) argument
/linux-master/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dev.c2771 unsigned int total_weight, min_weight, weight; local
2817 weight = total_weight * ets->tc_tx_bw[i] / 100;
2818 weight = clamp(weight, min_weight, total_weight);
2821 "TC%u using DWRR (weight %u)\n", i, weight);
2825 weight);
/linux-master/net/core/
H A Ddev.c4415 int weight_p __read_mostly = 64; /* old backlog weight */
4416 int dev_weight_rx_bias __read_mostly = 1; /* bias for backlog weight */
5981 napi->weight = READ_ONCE(net_hotdata.dev_rx_weight);
6508 int (*poll)(struct napi_struct *, int), int weight)
6522 if (weight > NAPI_POLL_WEIGHT)
6523 netdev_err_once(dev, "%s() called with weight %d\n", __func__,
6524 weight);
6525 napi->weight = weight;
6626 int work, weight; local
6507 netif_napi_add_weight(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int), int weight) argument
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c2802 int weight; local
2806 weight = hweight8(*bitmap);
2807 bitflips += BITS_PER_BYTE - weight;
2817 weight = hweight_long(d);
2818 bitflips += BITS_PER_LONG - weight;
2824 weight = hweight8(*bitmap);
2825 bitflips += BITS_PER_BYTE - weight;
/linux-master/drivers/net/ethernet/microchip/
H A Dlan743x_main.c2229 static int lan743x_tx_napi_poll(struct napi_struct *napi, int weight) argument
2761 static int lan743x_rx_napi_poll(struct napi_struct *napi, int weight) argument
2774 for (count = 0; count < weight; count++) {
2780 if (count == weight || result == RX_PROCESS_RESULT_BUFFER_RECEIVED)
2781 return weight;
/linux-master/arch/mips/cavium-octeon/
H A Docteon-irq.c277 int weight = cpumask_weight(mask); local
280 if (weight > 1) {
291 } else if (weight == 1) {
/linux-master/kernel/sched/
H A Drt.c688 int i, weight; local
691 weight = cpumask_weight(rd->span);
717 diff = div_u64((u64)diff, weight);
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h1253 u16 weight; /* percent weight */ member in struct:ch_sched_params::__anon1425::__anon1426
2076 u32 minrate, u32 maxrate, u16 weight, u16 pktsize,
H A Dcxgb4_tc_mqprio.c327 .u.params.weight = 0,
/linux-master/net/mac80211/
H A Drc80211_minstrel_ht.c721 minstrel_ewma(int old, int new, int weight) argument
726 incr = (EWMA_DIV - weight) * diff / EWMA_DIV;
/linux-master/arch/x86/events/intel/
H A Duncore.c470 wmin = min(wmin, c->weight);
471 wmax = max(wmax, c->weight);
/linux-master/drivers/net/wireless/ath/ath6kl/
H A Dwmi.c1492 cmd.weight = sq_thresh->weight;
1734 cmd.weight = sq_thresh->weight;
/linux-master/drivers/net/xen-netback/
H A Dxenbus.c80 seq_printf(m, "NAPI state: %lx NAPI weight: %d TX queue len %u\n"
83 queue->napi.state, queue->napi.weight,
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dqp.c204 int weight; local
235 weight = hweight64((u64)bits);
237 if (weight)
238 atomic_sub(weight, &wss->total_count);
/linux-master/tools/perf/util/
H A Dsort.c1647 return left->weight - right->weight;
1653 return repsep_snprintf(bf, size, "%-*llu", width, he->weight);
1667 he->weight * he->stat.nr_events);
2362 DIM(SORT_GLOBAL_WEIGHT, "weight", sort_global_weight),
/linux-master/include/linux/
H A Dsched.h422 unsigned long weight; member in struct:load_weight
464 * weight will overflow first before we do, because:
466 * Max(load_avg) <= Max(load.weight)
H A Dnetdevice.h356 int weight; member in struct:napi_struct
2613 /* Default NAPI poll() weight
2619 int (*poll)(struct napi_struct *, int), int weight);
2641 int weight)
2644 netif_napi_add_weight(dev, napi, poll, weight);
2638 netif_napi_add_tx_weight(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int), int weight) argument
/linux-master/arch/x86/events/amd/
H A Dcore.c547 nb->event_constraints[i].weight = 1;
/linux-master/net/ipv6/
H A Droute.c4715 static void rt6_upper_bound_set(struct fib6_info *rt, int *weight, int total) argument
4720 *weight += rt->fib6_nh->fib_nh_weight;
4721 upper_bound = DIV_ROUND_CLOSEST_ULL((u64) (*weight) << 31,
4730 int weight = 0; local
4732 rt6_upper_bound_set(rt, &weight, total);
4735 rt6_upper_bound_set(iter, &weight, total);
/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c882 pydict_set_item_string_decref(dict_sample, "weight",
883 PyLong_FromUnsignedLongLong(sample->weight));
1331 tuple_set_d64(t, 16, es->sample->weight);

Completed in 656 milliseconds

1234567891011