Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/net/9p/
A Derror.c188 bucket = jhash(c->name, c->namelen, 0) % ERRHASHSZ; in p9_error_init()
212 bucket = jhash(errstr, len, 0) % ERRHASHSZ; in p9_errstr2errno()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A 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()
/linux-6.3-rc2/Documentation/security/
A Dsiphash.rst10 as a replacement for some uses of: `jhash`, `md5_transform`, `sha1_transform`,
122 high-performance `jhash` users.
130 over `jhash` as a means of mitigating hashtable flooding denial of service
196 hsiphash() is roughly 3 times slower than jhash(). For many replacements, this
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_verif_scale1.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
A Dtest_verif_scale2.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
A Dtest_verif_scale3.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
A Dtest_jhash.h36 u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
A Dcore_kern.c89 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
A Dtest_l4lb.c57 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
209 return jhash_2words(jhash(pckt->srcv6, 16, MAX_VIPS), in get_packet_hash()
A 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()
/linux-6.3-rc2/net/netfilter/
A 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()
461 hash = jhash(key, set->klen, priv->seed); in nft_hash_lookup()
481 hash = jhash(elem->key.val.data, set->klen, priv->seed); in nft_hash_get()
525 hash = jhash(key, set->klen, priv->seed); in nft_jhash()
A Dxt_RATEEST.c33 return jhash(name, sizeof_field(struct xt_rateest, name), jhash_rnd) & in xt_rateest_hash()
A Dnft_hash.c34 h = reciprocal_scale(jhash(data, priv->len, priv->seed), in nft_jhash_eval()
/linux-6.3-rc2/net/batman-adv/
A Doriginator.h78 hash = jhash(data, ETH_ALEN, hash); in batadv_choose_orig()
/linux-6.3-rc2/include/net/
A Dllc.h83 return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0), in llc_sk_laddr_hashfn()
/linux-6.3-rc2/tools/include/linux/
A Djhash.h70 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
/linux-6.3-rc2/kernel/bpf/
A Dbloom_filter.c39 h = jhash(value, value_size, bloom->hash_seed + index); in hash()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dvporttbl.c56 return jhash(key, sizeof(*key), 0); in flow_attr_to_vport_key()
/linux-6.3-rc2/net/netfilter/ipvs/
A Dip_vs_pe_sip.c138 return jhash(p->pe_data, p->pe_data_len, initval); in ip_vs_sip_hashkey_raw()
/linux-6.3-rc2/include/linux/
A Djhash.h70 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
/linux-6.3-rc2/fs/ksmbd/mgmt/
A Dshare_config.c32 return jhash(name, strlen(name), 0); in share_name_hash()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dmod_hdr.c29 return jhash(key->actions, in hash_mod_hdr_info()
A Dmapping.c51 hash_key = jhash(data, ctx->data_size, 0); in mapping_add()
/linux-6.3-rc2/fs/dlm/
A Ddir.c205 hash = jhash(name, len, 0); in find_rsb_root()
/linux-6.3-rc2/drivers/infiniband/core/
A Diwpm_util.c516 u32 ipv6_hash = jhash(&ipv6_sockaddr->sin6_addr, sizeof(struct in6_addr), 0); in iwpm_ipv6_jhash()
523 u32 ipv4_hash = jhash(&ipv4_sockaddr->sin_addr, sizeof(struct in_addr), 0); in iwpm_ipv4_jhash()

Completed in 33 milliseconds

123