Home
last modified time | relevance | path

Searched refs:jhash_1word (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c25 return jhash_1word(*key, 0) % clipt_size_half; in ipv4_clip_hash()
34 (jhash_1word(xor, 0) % clipt_size_half); in ipv6_clip_hash()
/Linux-v5.10/net/netfilter/
Dxt_cluster.c29 return jhash_1word(ip, info->hash_seed); in xt_cluster_hash_ipv4()
Dnft_set_hash.c470 hash = jhash_1word(k1, priv->seed); in nft_hash_lookup_fast()
491 hash = jhash_1word(k1, priv->seed); in nft_jhash()
Dxt_recent.c113 return jhash_1word((__force u32)addr->ip, hash_rnd) & in recent_entry_hash4()
/Linux-v5.10/tools/include/linux/
Djhash.h170 static inline u32 jhash_1word(u32 a, u32 initval) in jhash_1word() function
/Linux-v5.10/include/linux/
Djhash.h171 static inline u32 jhash_1word(u32 a, u32 initval) in jhash_1word() function
/Linux-v5.10/security/selinux/ss/
Debitmap.c551 hash = jhash_1word(e->highbit, hash); in ebitmap_hash()
553 hash = jhash_1word(node->startbit, hash); in ebitmap_hash()
/Linux-v5.10/drivers/net/ipvlan/
Dipvlan_core.c52 return jhash_1word(ip4_addr->s_addr, ipvlan_jhash_secret) & in ipvlan_get_v4_hash()
219 u32 hash = jhash_1word(__get_unaligned_cpu32(addr+2), in ipvlan_mac_hash()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads_termtbl.c26 hash = jhash_1word(flow_act->action, 0); in mlx5_eswitch_termtbl_hash()
/Linux-v5.10/include/net/
Dipv6.h711 hash = jhash_1word(0, mix); in ipv6_portaddr_hash()
713 hash = jhash_1word((__force u32)addr6->s6_addr32[3], mix); in ipv6_portaddr_hash()
Dip.h645 return jhash_1word((__force u32)saddr, net_hash_mix(net)) ^ port; in ipv4_portaddr_hash()
/Linux-v5.10/net/openvswitch/
Dflow_table.c556 hash = jhash_1word(hash, ti->hash_seed); in find_bucket()
813 skb_hash = jhash_1word(skb_hash, key->recirc_id); in ovs_flow_tbl_lookup_stats()
Dactions.c1037 hash = jhash_1word(hash, hash_act->hash_basis); in execute_hash()
/Linux-v5.10/drivers/net/
Dgtp.c96 return jhash_1word(tid, gtp_h_initval); in gtp1u_hashfn()
101 return jhash_1word((__force u32)ip, gtp_h_initval); in ipv4_hashfn()
Dvrf.c230 key = jhash_1word(table_id, HASH_INITVAL); in vrf_map_lookup_elem()
244 key = jhash_1word(table_id, HASH_INITVAL); in vrf_map_add_elem()
/Linux-v5.10/net/mac80211/
Dmesh_pathtbl.c23 return jhash_1word(__get_unaligned_cpu32((u8 *)addr + 2), seed); in mesh_table_hash()
/Linux-v5.10/net/ipv4/netfilter/
Dipt_CLUSTERIP.c361 hashval = jhash_1word(ntohl(iph->saddr), in clusterip_hashfn()
/Linux-v5.10/net/rds/
Drds.h96 #define RDS_MPATH_HASH(rs, n) (jhash_1word((rs)->rs_bound_port, \
/Linux-v5.10/net/mpls/
Daf_mpls.c179 hash = jhash_1word(dec.label, hash); in mpls_multipath_hash()
213 hash = jhash_1word(v6hdr->nexthdr, hash); in mpls_multipath_hash()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c358 return jhash_1word(message_id, 0) & (MESSAGE_HASH_SIZE - 1); in mlx5_tracer_message_hash()
/Linux-v5.10/net/ipv4/
Droute.c626 hval = jhash_1word((__force u32)daddr, fnhe_hashrnd); in fnhe_hashfun()
/Linux-v5.10/kernel/
Dworkqueue.c3392 hash = jhash_1word(attrs->nice, hash); in wqattrs_hash()