Home
last modified time | relevance | path

Searched refs:reciprocal_scale (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/net/netfilter/
Dxt_cluster.c59 return reciprocal_scale(hash, info->total_nodes); in xt_cluster_hash()
Dnf_nat_core.c129 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()
Dxt_HMARK.c129 return reciprocal_scale(hash, info->hmodulus) + info->hoffset; in hmark_hash()
Dnf_conntrack_expect.c87 return reciprocal_scale(hash, nf_ct_expect_hsize); in nf_ct_expect_dst_hash()
Dxt_hashlimit.c138 return reciprocal_scale(hash, ht->cfg.size); in hash_dst()
Dnf_conntrack_core.c145 return reciprocal_scale(hash, size); in __hash_bucket()
/linux-4.4.14/include/net/
Dcodel.h226 return t + reciprocal_scale(interval, rec_inv_sqrt << REC_INV_SQRT_SHIFT); in codel_control_law()
/linux-4.4.14/net/ipv6/
Dinet6_hashtables.c153 if (reciprocal_scale(phash, matches) == 0) in inet6_lookup_listener()
Dudp.c262 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/
Dkernel.h240 static inline u32 reciprocal_scale(u32 val, u32 ep_ro) in reciprocal_scale() function
/linux-4.4.14/net/ipv4/netfilter/
Dipt_CLUSTERIP.c288 return reciprocal_scale(hashval, config->num_total_nodes) + 1; in clusterip_hashfn()
/linux-4.4.14/net/ipv4/
Dinet_hashtables.c236 if (reciprocal_scale(phash, matches) == 0) in __inet_lookup_listener()
Dudp.c228 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/
Dsch_fq_codel.c74 return reciprocal_scale(hash, q->flows_cnt); in fq_codel_hash()
/linux-4.4.14/net/core/
Ddev.c2398 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/
Daf_packet.c1344 return reciprocal_scale(skb_get_hash(skb), num); in fanout_demux_hash()