Searched refs:reciprocal_scale (Results 1 – 16 of 16) sorted by relevance
/linux-4.4.14/net/netfilter/ |
D | xt_cluster.c | 59 return reciprocal_scale(hash, info->total_nodes); in xt_cluster_hash()
|
D | nf_nat_core.c | 129 return reciprocal_scale(hash, net->ct.nat_htable_size); in hash_by_src() 280 htonl(minip + reciprocal_scale(j, dist)); in find_best_ips_proto()
|
D | xt_HMARK.c | 129 return reciprocal_scale(hash, info->hmodulus) + info->hoffset; in hmark_hash()
|
D | nf_conntrack_expect.c | 87 return reciprocal_scale(hash, nf_ct_expect_hsize); in nf_ct_expect_dst_hash()
|
D | xt_hashlimit.c | 138 return reciprocal_scale(hash, ht->cfg.size); in hash_dst()
|
D | nf_conntrack_core.c | 145 return reciprocal_scale(hash, size); in __hash_bucket()
|
/linux-4.4.14/include/net/ |
D | codel.h | 226 return t + reciprocal_scale(interval, rec_inv_sqrt << REC_INV_SQRT_SHIFT); in codel_control_law()
|
/linux-4.4.14/net/ipv6/ |
D | inet6_hashtables.c | 153 if (reciprocal_scale(phash, matches) == 0) in inet6_lookup_listener()
|
D | udp.c | 262 if (reciprocal_scale(hash, matches) == 0) in udp6_lib_lookup2() 341 if (reciprocal_scale(hash, matches) == 0) in __udp6_lib_lookup()
|
/linux-4.4.14/include/linux/ |
D | kernel.h | 240 static inline u32 reciprocal_scale(u32 val, u32 ep_ro) in reciprocal_scale() function
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | ipt_CLUSTERIP.c | 288 return reciprocal_scale(hashval, config->num_total_nodes) + 1; in clusterip_hashfn()
|
/linux-4.4.14/net/ipv4/ |
D | inet_hashtables.c | 236 if (reciprocal_scale(phash, matches) == 0) in __inet_lookup_listener()
|
D | udp.c | 228 first = reciprocal_scale(rand, remaining) + low; in udp_lib_get_port() 468 if (reciprocal_scale(hash, matches) == 0) in udp4_lib_lookup2() 549 if (reciprocal_scale(hash, matches) == 0) in __udp4_lib_lookup()
|
/linux-4.4.14/net/sched/ |
D | sch_fq_codel.c | 74 return reciprocal_scale(hash, q->flows_cnt); in fq_codel_hash()
|
/linux-4.4.14/net/core/ |
D | dev.c | 2398 return (u16) reciprocal_scale(skb_get_hash(skb), qcount) + qoffset; in __skb_tx_hash() 2986 queue_index = map->queues[reciprocal_scale(skb_get_hash(skb), in get_xps_queue() 3360 tcpu = map->cpus[reciprocal_scale(hash, map->len)]; in get_rps_cpu()
|
/linux-4.4.14/net/packet/ |
D | af_packet.c | 1344 return reciprocal_scale(skb_get_hash(skb), num); in fanout_demux_hash()
|