Home
last modified time | relevance | path

Searched refs:jhash2 (Results 1 – 25 of 29) 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.h753 return jhash2((__force const u32 *)a->s6_addr32, in __ipv6_addr_jhash()
801 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 Dtest_jhash.h73 static __always_inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() function
H A Dsock_iter_batch.c63 hash = jhash2(sk->sk_v6_rcv_saddr.s6_addr32, 4, net->hash_mix); in iter_tcp_soreuse()
/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.c483 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()
H A Dnf_nat_core.c537 j = jhash2((u32 *)&tuple->src.u3, sizeof(tuple->src.u3) / sizeof(u32), in find_best_ips_proto()
/linux/tools/include/linux/
H A Djhash.h117 static inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() function
/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/net/ieee802154/6lowpan/
H A Dreassembly.c495 return jhash2(data, in lowpan_key_hashfn()
503 return jhash2((const u32 *)&fq->key, in lowpan_obj_hashfn()
/linux/kernel/bpf/
H A Dbloom_filter.c29 h = jhash2(value, value_size / 4, bloom->hash_seed + index); in hash()
H A Dliveness.c157 return jhash2(callchain->callsites, callchain->curframe, 0); in hash_callchain()
/linux/net/ipv4/
H A Dip_fragment.c711 return jhash2(data, in ip4_key_hashfn()
719 return jhash2((const u32 *)&fq->key.v4, in ip4_obj_hashfn()
/linux/drivers/net/hyperv/
H A Dhyperv_net.h1118 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash()
1120 hash = jhash2((u32 *)&flow.addrs.v6addrs, 8, hashrnd); in netvsc_get_hash()
/linux/lib/
H A Dstackdepot.c563 return jhash2((u32 *)entries, in hash_stack()
H A Drhashtable.c982 return jhash2(key, length, seed); in rhashtable_jhash2()
/linux/kernel/futex/
H A Dcore.c194 hash = jhash2((void *)&key->private.address, in __futex_hash_private()
428 hash = jhash2((u32 *)key, in __futex_hash()
/linux/drivers/net/thunderbolt/
H A Dmain.c1279 hash = jhash2((u32 *)xd->local_uuid, 4, 0); in tbnet_generate_mac()
1281 hash = jhash2((u32 *)xd->local_uuid, 4, hash); in tbnet_generate_mac()
/linux/net/sched/
H A Dcls_flow.c325 classid = jhash2(keys, f->nkeys, f->hashrnd); in flow_classify()
/linux/drivers/net/ethernet/sfc/
H A Drx_common.c631 return jhash2((const u32 *)&spec->vport_id, in efx_filter_spec_hash()
/linux/drivers/net/ethernet/sfc/siena/
H A Drx_common.c618 return jhash2((const u32 *)&spec->outer_vid, in efx_siena_filter_spec_hash()
/linux/kernel/time/
H A Dposix-timers.c93 return &timer_buckets[jhash2((u32 *)&sig, sizeof(sig) / sizeof(u32), nr) & timer_hashmask]; in hash_bucket()

12