Home
last modified time | relevance | path

Searched refs:jhash2 (Results 1 – 25 of 34) sorted by relevance

12

/linux/include/net/
H A Dipv6_frag.h43 return jhash2(data, in ip6frag_key_hashfn()
51 return jhash2((const u32 *)&fq->key.v6, in ip6frag_obj_hashfn()
H A Dipv6.h757 return jhash2((__force const u32 *)a->s6_addr32, in __ipv6_addr_jhash()
805 hash = jhash2((__force u32 *)addr6->s6_addr32, 4, mix); in ipv6_portaddr_hash()
/linux/net/xfrm/
H A Dxfrm_hash.h16 return jhash2((__force u32 *)addr->a6, 4, 0); in __xfrm6_addr_hash()
72 return jhash2((__force u32 *)addr->a6, pdw, initval); in __xfrm6_pref_hash()
/linux/tools/testing/selftests/bpf/progs/
H A Dsock_iter_batch.c50 hash = jhash2(sk->sk_v6_rcv_saddr.s6_addr32, 4, net->hash_mix); in iter_tcp_soreuse()
H A Dtest_jhash.h73 static __always_inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() function
/linux/net/netfilter/
H A Dxt_cluster.c35 return jhash2(ip, NF_CT_TUPLE_L3SIZE / sizeof(__u32), info->hash_seed); in xt_cluster_hash_ipv6()
H A Dnf_conncount.c406 hash = jhash2(key, data->keylen, conncount_rnd) % CONNCOUNT_SLOTS; in count_tree()
H A Dxt_recent.c119 return jhash2((u32 *)addr->ip6, ARRAY_SIZE(addr->ip6), hash_rnd) & in recent_entry_hash6()
/linux/tools/include/linux/
H A Djhash.h117 static inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() function
/linux/net/ieee802154/6lowpan/
H A Dreassembly.c488 return jhash2(data, in lowpan_key_hashfn()
496 return jhash2((const u32 *)&fq->key, in lowpan_obj_hashfn()
/linux/include/linux/
H A Djhash.h117 static inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() function
H A Drhashtable.h142 hash = jhash2(key, key_len / sizeof(u32), hash_rnd); in rht_key_get_hash()
/linux/kernel/bpf/
H A Dbloom_filter.c29 h = jhash2(value, value_size / 4, bloom->hash_seed + index); in hash()
H A Dstackmap.c245 hash = jhash2((u32 *)ips, trace_len / sizeof(u32), 0); in __bpf_get_stackid()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmetadata.c464 return jhash2((u32 *)&flower_entry->tc_flower_cookie, in nfp_fl_obj_hashfn()
473 return jhash2((u32 *)&cmp_arg->cookie, in nfp_fl_key_hashfn()
/linux/net/ipv4/
H A Dip_fragment.c717 return jhash2(data, in ip4_key_hashfn()
725 return jhash2((const u32 *)&fq->key.v4, in ip4_obj_hashfn()
/linux/drivers/net/hyperv/
H A Dhyperv_net.h1104 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash()
1106 hash = jhash2((u32 *)&flow.addrs.v6addrs, 8, hashrnd); in netvsc_get_hash()
/linux/lib/
H A Dstackdepot.c54 /* Initial seed for jhash2. */
514 return jhash2((u32 *)entries, in hash_stack()
H A Drhashtable.c978 return jhash2(key, length, seed); in rhashtable_jhash2()
/linux/drivers/net/thunderbolt/
H A Dmain.c1280 hash = jhash2((u32 *)xd->local_uuid, 4, 0); in tbnet_generate_mac()
1282 hash = jhash2((u32 *)xd->local_uuid, 4, hash); in tbnet_generate_mac()
/linux/kernel/futex/
H A Dcore.c119 u32 hash = jhash2((u32 *)key, offsetof(typeof(*key), both.offset) / 4, in futex_hash()
/linux/net/sched/
H A Dcls_flow.c325 classid = jhash2(keys, f->nkeys, f->hashrnd); in flow_classify()
/linux/drivers/net/ethernet/sfc/siena/
H A Drx_common.c621 return jhash2((const u32 *)&spec->outer_vid, in efx_siena_filter_spec_hash()
/linux/drivers/net/ethernet/sfc/
H A Drx_common.c631 return jhash2((const u32 *)&spec->vport_id, in efx_filter_spec_hash()
/linux/net/openvswitch/
H A Dflow_table.c653 return jhash2(hash_key, hash_u32s, 0); in flow_hash()

12