Home
last modified time | relevance | path

Searched refs:jhash_2words (Results 1 – 15 of 15) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_l4lb_noinline.c98 static __noinline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
204 return jhash_2words(jhash(pckt->srcv6, 16, MAX_VIPS), in get_packet_hash()
207 return jhash_2words(pckt->src, pckt->ports, CH_RINGS_SIZE); in get_packet_hash()
H A Dtest_l4lb.c102 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
209 return jhash_2words(jhash(pckt->srcv6, 16, MAX_VIPS), in get_packet_hash()
212 return jhash_2words(pckt->src, pckt->ports, CH_RINGS_SIZE); in get_packet_hash()
H A Dtest_l4lb_noinline_dynptr.c100 static __noinline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
206 return jhash_2words(jhash(pckt->srcv6, 16, MAX_VIPS), in get_packet_hash()
209 return jhash_2words(pckt->src, pckt->ports, CH_RINGS_SIZE); in get_packet_hash()
H A Dtest_xdp_noinline.c101 u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
513 return jhash_2words(jhash(pckt->flow.srcv6, 16, 12), in get_packet_hash()
516 return jhash_2words(pckt->flow.src, pckt->flow.ports, in get_packet_hash()
/linux/security/selinux/ss/
H A Dmls.h90 hash = jhash_2words(r->level[0].sens, r->level[1].sens, hash); in mls_range_hash()
/linux/drivers/infiniband/core/
H A Diwpm_util.c517 u32 hash = jhash_2words(ipv6_hash, (__force u32) ipv6_sockaddr->sin6_port, 0); in iwpm_ipv6_jhash()
524 u32 hash = jhash_2words(ipv4_hash, (__force u32) ipv4_sockaddr->sin_port, 0); in iwpm_ipv4_jhash()
548 *hash = jhash_2words(a_hash, b_hash, 0); in get_hash_bucket()
/linux/tools/include/linux/
H A Djhash.h165 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
/linux/net/xfrm/
H A Dxfrm_hash.h49 return jhash_2words(ntohl(daddr->a4) & __bits2mask32(dbits), in __xfrm4_dpref_spref_hash()
/linux/include/linux/
H A Djhash.h166 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.c91 return jhash_2words(*key, ifindex, 0) % l2t_size_half; in arp_hash()
101 (jhash_2words(xor, ifindex, 0) % l2t_size_half)); in ipv6_hash()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c71 return jhash_2words(key, ifindex, 0) & (d->nentries - 1); in arp_hash()
/linux/net/ipv6/ila/
H A Dila_xlat.c45 return jhash_2words(v[0], v[1], hashrnd); in ila_locator_hash()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dsample.c163 return jhash_2words(sample_ratio, default_table_id, 0); in sampler_hash()
/linux/net/netfilter/ipvs/
H A Dip_vs_ctl.c370 return jhash_2words(fwmark, af, (u32)t->hash_key.key[0]); in ip_vs_svc_fwm_hashval()
/linux/net/ipv6/
H A Droute.c2494 return jhash_2words(mhash, mhash_inner, 0); in rt6_multipath_custom_hash_skb()