Searched refs:reciprocal_scale (Results 1 - 24 of 24) sorted by relevance

/linux-master/include/net/netfilter/
H A Dnf_queue.h110 queue += reciprocal_scale(hash_v4(ip_hdr(skb), initval),
114 queue += reciprocal_scale(hash_v6(ipv6_hdr(skb), initval),
118 queue += reciprocal_scale(hash_bridge(skb, initval),
/linux-master/net/netfilter/
H A Dxt_cluster.c56 return reciprocal_scale(hash, info->total_nodes);
H A Dnft_hash.c34 h = reciprocal_scale(jhash(data, priv->len, priv->seed),
54 h = reciprocal_scale(__skb_get_hash_symmetric(skb), priv->modulus);
H A Dnft_numgen.c140 return reciprocal_scale(get_random_u32(), priv->modulus) + priv->offset;
H A Dnft_set_hash.c502 hash = reciprocal_scale(hash, priv->buckets);
523 hash = reciprocal_scale(hash, priv->buckets);
544 hash = reciprocal_scale(hash, priv->buckets);
568 hash = reciprocal_scale(hash, priv->buckets);
H A Dxt_HMARK.c128 return reciprocal_scale(hash, info->hmodulus) + info->hoffset;
H A Dnf_conntrack_core.c230 return reciprocal_scale(hash, nf_conntrack_htable_size);
238 return reciprocal_scale(hash_conntrack_raw(tuple, zoneid, net), size);
745 bucket = reciprocal_scale(hash, hsize);
1417 bucket = reciprocal_scale(hash, hsize);
H A Dnf_nat_core.c183 return reciprocal_scale(hash, nf_nat_htable_size);
451 htonl(minip + reciprocal_scale(j, dist));
H A Dnf_conntrack_expect.c105 return reciprocal_scale(hash, nf_ct_expect_hsize);
H A Dxt_hashlimit.c195 return reciprocal_scale(hash, ht->cfg.size);
/linux-master/include/linux/
H A Dmath.h178 * reciprocal_scale - "scale" a value into range [0, ep_ro)
191 static inline u32 reciprocal_scale(u32 val, u32 ep_ro) function
/linux-master/include/net/
H A Dcodel_impl.h101 return t + reciprocal_scale(interval, rec_inv_sqrt << REC_INV_SQRT_SHIFT);
H A Dfq_impl.h141 return reciprocal_scale(hash, fq->flows_cnt);
/linux-master/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.c31 tq = &adapter->tx_queue[reciprocal_scale(cpu, tq_number)];
/linux-master/net/core/
H A Dsock_reuseport.c534 i = j = reciprocal_scale(hash, num_socks);
H A Ddev.c3223 return (u16) reciprocal_scale(skb_get_hash(skb), qcount) + qoffset;
4108 queue_index = map->queues[reciprocal_scale(
4600 tcpu = map->cpus[reciprocal_scale(hash, map->len)];
/linux-master/net/sched/
H A Dsch_fq_pie.c78 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt);
H A Dsch_fq_codel.c73 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt);
H A Dsch_cake.c442 return ktime_add_ns(t, reciprocal_scale(interval,
/linux-master/drivers/net/
H A Damt.c125 return reciprocal_scale(hash, tunnel->amt->hash_buckets);
202 return reciprocal_scale(hash, tunnel->amt->hash_buckets);
H A Dtun.c538 txq = reciprocal_scale(txq, numqueues);
/linux-master/net/packet/
H A Daf_packet.c1367 return reciprocal_scale(__skb_get_hash_symmetric(skb), num);
/linux-master/net/ipv4/
H A Dudp.c257 first = reciprocal_scale(rand, remaining) + low;
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c8625 txq += reciprocal_scale(skb_get_hash(skb),

Completed in 1834 milliseconds