Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_l4lb.c104 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
211 return jhash_2words(jhash(pckt->srcv6, 16, MAX_VIPS), in get_packet_hash()
214 return jhash_2words(pckt->src, pckt->ports, CH_RINGS_SIZE); in get_packet_hash()
Dtest_l4lb_noinline.c100 static u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
207 return jhash_2words(jhash(pckt->srcv6, 16, MAX_VIPS), in get_packet_hash()
210 return jhash_2words(pckt->src, pckt->ports, CH_RINGS_SIZE); in get_packet_hash()
Dtest_xdp_noinline.c106 u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
551 return jhash_2words(jhash(pckt->flow.srcv6, 16, 12), in get_packet_hash()
554 return jhash_2words(pckt->flow.src, pckt->flow.ports, in get_packet_hash()
/Linux-v4.19/drivers/infiniband/core/
Diwpm_util.c520 u32 hash = jhash_2words(ipv6_hash, (__force u32) ipv6_sockaddr->sin6_port, 0); in iwpm_ipv6_jhash()
527 u32 hash = jhash_2words(ipv4_hash, (__force u32) ipv4_sockaddr->sin_port, 0); in iwpm_ipv4_jhash()
551 *hash = jhash_2words(a_hash, b_hash, 0); in get_hash_bucket()
Dfmr_pool.c110 return jhash_2words((u32) first_page, (u32) (first_page >> 32), 0) & in ib_fmr_hash()
/Linux-v4.19/tools/include/linux/
Djhash.h165 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
/Linux-v4.19/include/linux/
Djhash.h164 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() function
/Linux-v4.19/net/xfrm/
Dxfrm_hash.h50 return jhash_2words(ntohl(daddr->a4) & __bits2mask32(dbits), in __xfrm4_dpref_spref_hash()
/Linux-v4.19/net/netfilter/
Dnf_tables_trace.c41 id = (__be32)jhash_2words(hash32_ptr(skb), skb_get_hash(skb), in trace_fill_id()
/Linux-v4.19/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-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c71 return jhash_2words(key, ifindex, 0) & (d->nentries - 1); in arp_hash()
/Linux-v4.19/net/decnet/
Ddn_neigh.c70 return jhash_2words(*(__u16 *)pkey, 0, hash_rnd[0]); in dn_neigh_hash()
/Linux-v4.19/net/ipv6/ila/
Dila_xlat.c46 return jhash_2words(v[0], v[1], hashrnd); in ila_locator_hash()
/Linux-v4.19/net/ipv4/netfilter/
Dipt_CLUSTERIP.c341 hashval = jhash_2words(ntohl(iph->saddr), sport, in clusterip_hashfn()
/Linux-v4.19/fs/nfsd/
Dnfs4layouts.c52 return jhash_2words(idx, idx >> 32, 0) & DEVID_HASH_MASK; in devid_hashfn()
Dvfs.c797 hash = jhash_2words(dev, ino, 0xfeedbeef) & RAPARM_HASH_MASK; in nfsd_init_raparms()
/Linux-v4.19/drivers/net/
Dgtp.c96 return jhash_2words(tid32[0], tid32[1], gtp_h_initval); in gtp0_hashfn()
Dvxlan.c427 return jhash_2words(key, vni, vxlan_salt) & (FDB_HASH_SIZE - 1); in eth_vni_hash()
/Linux-v4.19/net/bridge/
Dbr_multicast.c79 return jhash_2words((__force u32)ip, vid, mdb->secret) & (mdb->max - 1); in __br_ip4_hash()
87 return jhash_2words(ipv6_addr_hash(ip), vid, in __br_ip6_hash()