Searched refs:reciprocal_scale (Results 1 – 23 of 23) sorted by relevance
/linux/include/net/netfilter/ |
A D | nf_queue.h | 111 queue += reciprocal_scale(hash_v4(ip_hdr(skb), initval), in nfqueue_hash() 115 queue += reciprocal_scale(hash_v6(ipv6_hdr(skb), initval), in nfqueue_hash() 119 queue += reciprocal_scale(hash_bridge(skb, initval), in nfqueue_hash()
|
/linux/net/netfilter/ |
A D | nft_hash.c | 34 h = reciprocal_scale(jhash(data, priv->len, priv->seed), in nft_jhash_eval() 54 h = reciprocal_scale(__skb_get_hash_symmetric(skb), priv->modulus); in nft_symhash_eval()
|
A D | nft_set_hash.c | 460 hash = reciprocal_scale(hash, priv->buckets); in nft_hash_lookup() 480 hash = reciprocal_scale(hash, priv->buckets); in nft_hash_get() 501 hash = reciprocal_scale(hash, priv->buckets); in nft_hash_lookup_fast() 525 hash = reciprocal_scale(hash, priv->buckets); in nft_jhash()
|
A D | xt_cluster.c | 56 return reciprocal_scale(hash, info->total_nodes); in xt_cluster_hash()
|
A D | nft_numgen.c | 111 return reciprocal_scale(prandom_u32_state(state), priv->modulus) + in nft_ng_random_gen()
|
A D | xt_HMARK.c | 128 return reciprocal_scale(hash, info->hmodulus) + info->hoffset; in hmark_hash()
|
A D | nf_nat_core.c | 180 return reciprocal_scale(hash, nf_nat_htable_size); in hash_by_src() 366 htonl(minip + reciprocal_scale(j, dist)); in find_best_ips_proto()
|
A D | nf_conntrack_core.c | 224 return reciprocal_scale(hash, nf_conntrack_htable_size); in scale_hash() 232 return reciprocal_scale(hash_conntrack_raw(tuple, zoneid, net), size); in __hash_conntrack() 770 bucket = reciprocal_scale(hash, hsize); in ____nf_conntrack_find() 1386 bucket = reciprocal_scale(hash, hsize); in early_drop()
|
A D | nf_conntrack_expect.c | 105 return reciprocal_scale(hash, nf_ct_expect_hsize); in nf_ct_expect_dst_hash()
|
A D | xt_hashlimit.c | 195 return reciprocal_scale(hash, ht->cfg.size); in hash_dst()
|
/linux/include/linux/ |
A D | math.h | 160 static inline u32 reciprocal_scale(u32 val, u32 ep_ro) in reciprocal_scale() function
|
/linux/include/net/ |
A D | codel_impl.h | 99 return t + reciprocal_scale(interval, rec_inv_sqrt << REC_INV_SQRT_SHIFT); in codel_control_law()
|
A D | fq_impl.h | 141 return reciprocal_scale(hash, fq->flows_cnt); in fq_flow_idx()
|
/linux/net/core/ |
A D | sock_reuseport.c | 447 i = j = reciprocal_scale(hash, num_socks); in reuseport_select_sock_by_hash()
|
A D | dev.c | 3191 return (u16) reciprocal_scale(skb_get_hash(skb), qcount) + qoffset; in skb_tx_hash() 3997 queue_index = map->queues[reciprocal_scale( in __get_xps_queue_idx() 4507 tcpu = map->cpus[reciprocal_scale(hash, map->len)]; in get_rps_cpu()
|
/linux/net/sched/ |
A D | sch_fq_pie.c | 76 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt); in fq_pie_hash()
|
A D | sch_fq_codel.c | 73 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt); in fq_codel_hash()
|
A D | sch_cake.c | 441 return ktime_add_ns(t, reciprocal_scale(interval, in cobalt_control()
|
/linux/net/ipv4/netfilter/ |
A D | ipt_CLUSTERIP.c | 394 return reciprocal_scale(hashval, config->num_total_nodes) + 1; in clusterip_hashfn()
|
/linux/drivers/net/ |
A D | amt.c | 123 return reciprocal_scale(hash, tunnel->amt->hash_buckets); in amt_source_hash() 200 return reciprocal_scale(hash, tunnel->amt->hash_buckets); in amt_group_hash()
|
/linux/net/ipv4/ |
A D | udp.c | 247 first = reciprocal_scale(rand, remaining) + low; in udp_lib_get_port()
|
/linux/net/packet/ |
A D | af_packet.c | 1365 return reciprocal_scale(__skb_get_hash_symmetric(skb), num); in fanout_demux_hash()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_main.c | 8514 txq += reciprocal_scale(skb_get_hash(skb), in ixgbe_select_queue()
|
Completed in 82 milliseconds