Home
last modified time | relevance | path

Searched refs:jhash (Results 1 – 25 of 59) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads_termtbl.c27 hash = jhash((const void *)&flow_act->vlan, in mlx5_eswitch_termtbl_hash()
29 hash = jhash((const void *)&dest->vport.num, in mlx5_eswitch_termtbl_hash()
31 hash = jhash((const void *)&dest->vport.vhca_id, in mlx5_eswitch_termtbl_hash()
34 hash = jhash(flow_act->pkt_reformat, in mlx5_eswitch_termtbl_hash()
/kernel/linux/linux-5.10/net/9p/
Derror.c190 bucket = jhash(c->name, c->namelen, 0) % ERRHASHSZ; in p9_error_init()
214 bucket = jhash(errstr, len, 0) % ERRHASHSZ; in p9_errstr2errno()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_verif_scale2.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
Dtest_verif_scale3.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
Dtest_verif_scale1.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
Dtest_jhash.h36 u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
Dtest_l4lb.c59 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
211 return jhash_2words(jhash(pckt->srcv6, 16, MAX_VIPS), in get_packet_hash()
Dtest_l4lb_noinline.c53 static __noinline u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
204 return jhash_2words(jhash(pckt->srcv6, 16, MAX_VIPS), in get_packet_hash()
/kernel/linux/linux-5.10/net/netfilter/
Dnft_set_hash.c44 return jhash(arg->key, len, seed); in nft_rhash_key()
51 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj()
440 hash = jhash(key, set->klen, priv->seed); in nft_hash_lookup()
460 hash = jhash(elem->key.val.data, set->klen, priv->seed); in nft_hash_get()
503 hash = jhash(key, set->klen, priv->seed); in nft_jhash()
Dxt_RATEEST.c33 return jhash(name, sizeof_field(struct xt_rateest, name), jhash_rnd) & in xt_rateest_hash()
Dnf_flow_table_core.c194 return jhash(tuple, offsetof(struct flow_offload_tuple, dir), seed); in flow_offload_hash()
201 return jhash(&tuplehash->tuple, offsetof(struct flow_offload_tuple, dir), seed); in flow_offload_hash_obj()
Dnft_hash.c34 h = reciprocal_scale(jhash(data, priv->len, priv->seed), in nft_jhash_eval()
/kernel/linux/linux-5.10/Documentation/security/
Dsiphash.rst10 as a replacement for some uses of: `jhash`, `md5_transform`, `sha1_transform`,
122 high-performance `jhash` users.
128 transmitted out of the kernel. This is only remotely useful over `jhash` as a
/kernel/linux/linux-5.10/net/batman-adv/
Doriginator.h82 hash = jhash(data, ETH_ALEN, hash); in batadv_choose_orig()
/kernel/linux/linux-5.10/include/net/
Dllc.h83 return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0), in llc_sk_laddr_hashfn()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmod_hdr.c29 return jhash(key->actions, in hash_mod_hdr_info()
Dmapping.c43 hash_key = jhash(data, ctx->data_size, 0); in mapping_add()
/kernel/linux/linux-5.10/tools/include/linux/
Djhash.h70 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_pe_sip.c138 return jhash(p->pe_data, p->pe_data_len, initval); in ip_vs_sip_hashkey_raw()
/kernel/linux/linux-5.10/include/linux/
Djhash.h70 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
/kernel/linux/linux-5.10/fs/dlm/
Ddir.c204 hash = jhash(name, len, 0); in find_rsb_root()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c212 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed); in nfp_add_mask_table()
227 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed); in nfp_search_mask_table()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Diwpm_util.c560 u32 ipv6_hash = jhash(&ipv6_sockaddr->sin6_addr, sizeof(struct in6_addr), 0); in iwpm_ipv6_jhash()
567 u32 ipv4_hash = jhash(&ipv4_sockaddr->sin_addr, sizeof(struct in_addr), 0); in iwpm_ipv4_jhash()
/kernel/linux/linux-5.10/net/openvswitch/
Dvport.c57 unsigned int hash = jhash(name, strlen(name), (unsigned long) net); in hash_bucket()
/kernel/linux/linux-5.10/lib/
Dtest_rhashtable.c98 .hashfn = jhash,
105 .hashfn = jhash,

123