Home
last modified time | relevance | path

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

/linux/include/net/netfilter/
A Dnf_queue.h111 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 Dnft_hash.c34 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 Dnft_set_hash.c460 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 Dxt_cluster.c56 return reciprocal_scale(hash, info->total_nodes); in xt_cluster_hash()
A Dnft_numgen.c111 return reciprocal_scale(prandom_u32_state(state), priv->modulus) + in nft_ng_random_gen()
A Dxt_HMARK.c128 return reciprocal_scale(hash, info->hmodulus) + info->hoffset; in hmark_hash()
A Dnf_nat_core.c180 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 Dnf_conntrack_core.c224 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 Dnf_conntrack_expect.c105 return reciprocal_scale(hash, nf_ct_expect_hsize); in nf_ct_expect_dst_hash()
A Dxt_hashlimit.c195 return reciprocal_scale(hash, ht->cfg.size); in hash_dst()
/linux/include/linux/
A Dmath.h160 static inline u32 reciprocal_scale(u32 val, u32 ep_ro) in reciprocal_scale() function
/linux/include/net/
A Dcodel_impl.h99 return t + reciprocal_scale(interval, rec_inv_sqrt << REC_INV_SQRT_SHIFT); in codel_control_law()
A Dfq_impl.h141 return reciprocal_scale(hash, fq->flows_cnt); in fq_flow_idx()
/linux/net/core/
A Dsock_reuseport.c447 i = j = reciprocal_scale(hash, num_socks); in reuseport_select_sock_by_hash()
A Ddev.c3191 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 Dsch_fq_pie.c76 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt); in fq_pie_hash()
A Dsch_fq_codel.c73 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt); in fq_codel_hash()
A Dsch_cake.c441 return ktime_add_ns(t, reciprocal_scale(interval, in cobalt_control()
/linux/net/ipv4/netfilter/
A Dipt_CLUSTERIP.c394 return reciprocal_scale(hashval, config->num_total_nodes) + 1; in clusterip_hashfn()
/linux/drivers/net/
A Damt.c123 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 Dudp.c247 first = reciprocal_scale(rand, remaining) + low; in udp_lib_get_port()
/linux/net/packet/
A Daf_packet.c1365 return reciprocal_scale(__skb_get_hash_symmetric(skb), num); in fanout_demux_hash()
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_main.c8514 txq += reciprocal_scale(skb_get_hash(skb), in ixgbe_select_queue()

Completed in 82 milliseconds