Searched refs:reciprocal_scale (Results 1 - 24 of 24) sorted by relevance
/linux-master/include/net/netfilter/ |
H A D | nf_queue.h | 110 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 D | xt_cluster.c | 56 return reciprocal_scale(hash, info->total_nodes);
|
H A D | nft_hash.c | 34 h = reciprocal_scale(jhash(data, priv->len, priv->seed), 54 h = reciprocal_scale(__skb_get_hash_symmetric(skb), priv->modulus);
|
H A D | nft_numgen.c | 140 return reciprocal_scale(get_random_u32(), priv->modulus) + priv->offset;
|
H A D | nft_set_hash.c | 502 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 D | xt_HMARK.c | 128 return reciprocal_scale(hash, info->hmodulus) + info->hoffset;
|
H A D | nf_conntrack_core.c | 230 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 D | nf_nat_core.c | 183 return reciprocal_scale(hash, nf_nat_htable_size); 451 htonl(minip + reciprocal_scale(j, dist));
|
H A D | nf_conntrack_expect.c | 105 return reciprocal_scale(hash, nf_ct_expect_hsize);
|
H A D | xt_hashlimit.c | 195 return reciprocal_scale(hash, ht->cfg.size);
|
/linux-master/include/linux/ |
H A D | math.h | 178 * 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 D | codel_impl.h | 101 return t + reciprocal_scale(interval, rec_inv_sqrt << REC_INV_SQRT_SHIFT);
|
H A D | fq_impl.h | 141 return reciprocal_scale(hash, fq->flows_cnt);
|
/linux-master/drivers/net/vmxnet3/ |
H A D | vmxnet3_xdp.c | 31 tq = &adapter->tx_queue[reciprocal_scale(cpu, tq_number)];
|
/linux-master/net/core/ |
H A D | sock_reuseport.c | 534 i = j = reciprocal_scale(hash, num_socks);
|
H A D | dev.c | 3223 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 D | sch_fq_pie.c | 78 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt);
|
H A D | sch_fq_codel.c | 73 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt);
|
H A D | sch_cake.c | 442 return ktime_add_ns(t, reciprocal_scale(interval,
|
/linux-master/drivers/net/ |
H A D | amt.c | 125 return reciprocal_scale(hash, tunnel->amt->hash_buckets); 202 return reciprocal_scale(hash, tunnel->amt->hash_buckets);
|
H A D | tun.c | 538 txq = reciprocal_scale(txq, numqueues);
|
/linux-master/net/packet/ |
H A D | af_packet.c | 1367 return reciprocal_scale(__skb_get_hash_symmetric(skb), num);
|
/linux-master/net/ipv4/ |
H A D | udp.c | 257 first = reciprocal_scale(rand, remaining) + low;
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 8625 txq += reciprocal_scale(skb_get_hash(skb),
|
Completed in 1834 milliseconds