Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/net/
Dipv6_frag.h42 return jhash2(data, in ip6frag_key_hashfn()
50 return jhash2((const u32 *)&fq->key.v6, in ip6frag_obj_hashfn()
Dipv6.h715 hash = jhash2((__force u32 *)addr6->s6_addr32, 4, mix); in ipv6_portaddr_hash()
/Linux-v5.10/net/xfrm/
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-v5.10/net/netfilter/
Dxt_cluster.c35 return jhash2(ip, NF_CT_TUPLE_L3SIZE / sizeof(__u32), info->hash_seed); in xt_cluster_hash_ipv6()
Dnf_nat_core.c197 hash = jhash2((u32 *)&tuple->src, sizeof(tuple->src) / sizeof(u32), in hash_by_src()
367 j = jhash2((u32 *)&tuple->src.u3, sizeof(tuple->src.u3) / sizeof(u32), in find_best_ips_proto()
Dnf_conncount.c397 hash = jhash2(key, data->keylen, conncount_rnd) % CONNCOUNT_SLOTS; in count_tree()
Dnf_conntrack_expect.c87 hash = jhash2(tuple->dst.u3.all, ARRAY_SIZE(tuple->dst.u3.all), in nf_ct_expect_dst_hash()
Dxt_recent.c119 return jhash2((u32 *)addr->ip6, ARRAY_SIZE(addr->ip6), hash_rnd) & in recent_entry_hash6()
Dxt_hashlimit.c186 u_int32_t hash = jhash2((const u32 *)dst, in hash_dst()
/Linux-v5.10/tools/include/linux/
Djhash.h117 static inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() function
/Linux-v5.10/include/linux/
Djhash.h117 static inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() function
Drhashtable.h142 hash = jhash2(key, key_len / sizeof(u32), hash_rnd); in rht_key_get_hash()
/Linux-v5.10/net/ieee802154/6lowpan/
Dreassembly.c487 return jhash2(data, in lowpan_key_hashfn()
495 return jhash2((const u32 *)&fq->key, in lowpan_obj_hashfn()
/Linux-v5.10/lib/
Dstackdepot.c157 return jhash2((u32 *)entries, in hash_stack()
Drhashtable.c970 return jhash2(key, length, seed); in rhashtable_jhash2()
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c462 return jhash2((u32 *)&flower_entry->tc_flower_cookie, in nfp_fl_obj_hashfn()
471 return jhash2((u32 *)&cmp_arg->cookie, in nfp_fl_key_hashfn()
/Linux-v5.10/net/ipv4/
Dip_fragment.c709 return jhash2(data, in ip4_key_hashfn()
717 return jhash2((const u32 *)&fq->key.v4, in ip4_obj_hashfn()
/Linux-v5.10/drivers/net/
Dthunderbolt.c1184 hash = jhash2((u32 *)xd->local_uuid, 4, 0); in tbnet_generate_mac()
1186 hash = jhash2((u32 *)xd->local_uuid, 4, hash); in tbnet_generate_mac()
/Linux-v5.10/net/sched/
Dcls_flow.c323 classid = jhash2(keys, f->nkeys, f->hashrnd); in flow_classify()
/Linux-v5.10/kernel/bpf/
Dstackmap.c421 hash = jhash2((u32 *)ips, trace_len / sizeof(u32), 0); in __bpf_get_stackid()
/Linux-v5.10/drivers/net/ethernet/sfc/
Drx_common.c676 return jhash2((const u32 *)&spec->outer_vid, in efx_filter_spec_hash()
/Linux-v5.10/net/openvswitch/
Dflow_table.c655 return jhash2(hash_key, hash_u32s, 0); in flow_hash()
/Linux-v5.10/drivers/net/hyperv/
Dnetvsc_drv.c285 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash()
287 hash = jhash2((u32 *)&flow.addrs.v6addrs, 8, hashrnd); in netvsc_get_hash()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.c144 return jhash2((u32 *) fa_cookie->cookie, in mlxsw_afa_cookie_hash()
/Linux-v5.10/net/netfilter/ipset/
Dip_set_hash_gen.h312 jhash2(__k, __l, initval) & jhash_mask(htable_bits); \

12