Home
last modified time | relevance | path

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

/openbmc/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.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()
/openbmc/linux/security/selinux/ss/
H A Dmls.h109 hash = jhash_2words(r->level[0].sens, r->level[1].sens, hash); in mls_range_hash()
/openbmc/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()
/openbmc/linux/tools/include/linux/
H A Djhash.h165 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
/openbmc/linux/include/linux/
H A Djhash.h166 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
/openbmc/linux/net/xfrm/
H A Dxfrm_hash.h49 return jhash_2words(ntohl(daddr->a4) & __bits2mask32(dbits), in __xfrm4_dpref_spref_hash()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c71 return jhash_2words(key, ifindex, 0) & (d->nentries - 1); in arp_hash()
/openbmc/linux/net/ipv6/ila/
H A Dila_xlat.c45 return jhash_2words(v[0], v[1], hashrnd); in ila_locator_hash()
/openbmc/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()
/openbmc/linux/fs/nfsd/
H A Dnfs4layouts.c52 return jhash_2words(idx, idx >> 32, 0) & DEVID_HASH_MASK; in devid_hashfn()
/openbmc/linux/net/ipv4/
H A Droute.c2002 return jhash_2words(mhash, mhash_inner, 0); in fib_multipath_custom_hash_skb()
2124 mhash = jhash_2words(mhash, multipath_hash, 0); in fib_multipath_hash()
/openbmc/linux/drivers/net/
H A Dgtp.c111 return jhash_2words(tid32[0], tid32[1], gtp_h_initval); in gtp0_hashfn()
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_core.c393 return jhash_2words(key, vni, vxlan_salt) & (FDB_HASH_SIZE - 1); in eth_vni_hash()
/openbmc/linux/net/ipv6/
H A Droute.c2430 return jhash_2words(mhash, mhash_inner, 0); in rt6_multipath_custom_hash_skb()