Searched refs:reciprocal_scale (Results 1 - 17 of 17) sorted by relevance
/linux-4.1.27/net/netfilter/ |
H A D | xt_cluster.c | 59 return reciprocal_scale(hash, info->total_nodes); xt_cluster_hash()
|
H A D | xt_HMARK.c | 129 return reciprocal_scale(hash, info->hmodulus) + info->hoffset; hmark_hash()
|
H A D | nf_nat_core.c | 130 return reciprocal_scale(hash, net->ct.nat_htable_size); hash_by_src() 278 htonl(minip + reciprocal_scale(j, dist)); find_best_ips_proto()
|
H A D | nf_conntrack_expect.c | 87 return reciprocal_scale(hash, nf_ct_expect_hsize); nf_ct_expect_dst_hash()
|
H A D | xt_hashlimit.c | 138 return reciprocal_scale(hash, ht->cfg.size); hash_dst()
|
H A D | nf_conntrack_core.c | 145 return reciprocal_scale(hash, size); __hash_bucket()
|
/linux-4.1.27/net/core/ |
H A D | flow_dissector.c | 356 return (u16) reciprocal_scale(skb_get_hash(skb), qcount) + qoffset; __skb_tx_hash() 437 queue_index = map->queues[reciprocal_scale(skb_get_hash(skb), get_xps_queue()
|
H A D | dev.c | 3206 tcpu = map->cpus[reciprocal_scale(hash, map->len)]; get_rps_cpu()
|
/linux-4.1.27/net/ipv6/ |
H A D | inet6_hashtables.c | 151 if (reciprocal_scale(phash, matches) == 0) inet6_lookup_listener()
|
H A D | udp.c | 258 if (reciprocal_scale(hash, matches) == 0) udp6_lib_lookup2() 338 if (reciprocal_scale(hash, matches) == 0) __udp6_lib_lookup()
|
/linux-4.1.27/include/net/ |
H A D | codel.h | 217 return t + reciprocal_scale(interval, rec_inv_sqrt << REC_INV_SQRT_SHIFT); codel_control_law()
|
/linux-4.1.27/net/ipv4/ |
H A D | inet_hashtables.c | 235 if (reciprocal_scale(phash, matches) == 0) __inet_lookup_listener()
|
H A D | udp.c | 229 first = reciprocal_scale(rand, remaining) + low; udp_lib_get_port() 465 if (reciprocal_scale(hash, matches) == 0) udp4_lib_lookup2() 546 if (reciprocal_scale(hash, matches) == 0) __udp4_lib_lookup()
|
/linux-4.1.27/net/sched/ |
H A D | sch_fq_codel.c | 81 return reciprocal_scale(hash, q->flows_cnt); fq_codel_hash()
|
/linux-4.1.27/include/linux/ |
H A D | kernel.h | 227 * reciprocal_scale - "scale" a value into range [0, ep_ro) 240 static inline u32 reciprocal_scale(u32 val, u32 ep_ro) reciprocal_scale() function
|
/linux-4.1.27/net/ipv4/netfilter/ |
H A D | ipt_CLUSTERIP.c | 288 return reciprocal_scale(hashval, config->num_total_nodes) + 1; clusterip_hashfn()
|
/linux-4.1.27/net/packet/ |
H A D | af_packet.c | 1279 return reciprocal_scale(skb_get_hash(skb), num); fanout_demux_hash()
|
Completed in 2164 milliseconds