Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
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()
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()
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()
Dtest_xdp_noinline.c100 u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
500 return jhash_2words(jhash(pckt->flow.srcv6, 16, 12), in get_packet_hash()
503 return jhash_2words(pckt->flow.src, pckt->flow.ports, in get_packet_hash()
/Linux-v6.6/security/selinux/ss/
Dmls.h109 hash = jhash_2words(r->level[0].sens, r->level[1].sens, hash); in mls_range_hash()
/Linux-v6.6/drivers/infiniband/core/
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-v6.6/tools/include/linux/
Djhash.h165 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
/Linux-v6.6/net/xfrm/
Dxfrm_hash.h49 return jhash_2words(ntohl(daddr->a4) & __bits2mask32(dbits), in __xfrm4_dpref_spref_hash()
/Linux-v6.6/include/linux/
Djhash.h166 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/
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-v6.6/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c71 return jhash_2words(key, ifindex, 0) & (d->nentries - 1); in arp_hash()
/Linux-v6.6/net/ipv6/ila/
Dila_xlat.c45 return jhash_2words(v[0], v[1], hashrnd); in ila_locator_hash()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c163 return jhash_2words(sample_ratio, default_table_id, 0); in sampler_hash()
/Linux-v6.6/fs/nfsd/
Dnfs4layouts.c52 return jhash_2words(idx, idx >> 32, 0) & DEVID_HASH_MASK; in devid_hashfn()
/Linux-v6.6/net/ipv4/
Droute.c2010 return jhash_2words(mhash, mhash_inner, 0); in fib_multipath_custom_hash_skb()
2132 mhash = jhash_2words(mhash, multipath_hash, 0); in fib_multipath_hash()
/Linux-v6.6/drivers/net/
Dgtp.c111 return jhash_2words(tid32[0], tid32[1], gtp_h_initval); in gtp0_hashfn()
/Linux-v6.6/drivers/net/vxlan/
Dvxlan_core.c393 return jhash_2words(key, vni, vxlan_salt) & (FDB_HASH_SIZE - 1); in eth_vni_hash()
/Linux-v6.6/net/ipv6/
Droute.c2426 return jhash_2words(mhash, mhash_inner, 0); in rt6_multipath_custom_hash_skb()