/linux-6.3-rc2/net/9p/ |
A D | error.c | 188 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 D | eswitch_offloads_termtbl.c | 27 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 D | siphash.rst | 10 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 D | test_verif_scale1.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
|
A D | test_verif_scale2.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
|
A D | test_verif_scale3.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
|
A D | test_jhash.h | 36 u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
|
A D | core_kern.c | 89 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
|
A D | test_l4lb.c | 57 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 D | test_l4lb_noinline.c | 53 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 D | nft_set_hash.c | 44 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 D | xt_RATEEST.c | 33 return jhash(name, sizeof_field(struct xt_rateest, name), jhash_rnd) & in xt_rateest_hash()
|
A D | nft_hash.c | 34 h = reciprocal_scale(jhash(data, priv->len, priv->seed), in nft_jhash_eval()
|
/linux-6.3-rc2/net/batman-adv/ |
A D | originator.h | 78 hash = jhash(data, ETH_ALEN, hash); in batadv_choose_orig()
|
/linux-6.3-rc2/include/net/ |
A D | llc.h | 83 return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0), in llc_sk_laddr_hashfn()
|
/linux-6.3-rc2/tools/include/linux/ |
A D | jhash.h | 70 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
|
/linux-6.3-rc2/kernel/bpf/ |
A D | bloom_filter.c | 39 h = jhash(value, value_size, bloom->hash_seed + index); in hash()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | vporttbl.c | 56 return jhash(key, sizeof(*key), 0); in flow_attr_to_vport_key()
|
/linux-6.3-rc2/net/netfilter/ipvs/ |
A D | ip_vs_pe_sip.c | 138 return jhash(p->pe_data, p->pe_data_len, initval); in ip_vs_sip_hashkey_raw()
|
/linux-6.3-rc2/include/linux/ |
A D | jhash.h | 70 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() function
|
/linux-6.3-rc2/fs/ksmbd/mgmt/ |
A D | share_config.c | 32 return jhash(name, strlen(name), 0); in share_name_hash()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | mod_hdr.c | 29 return jhash(key->actions, in hash_mod_hdr_info()
|
A D | mapping.c | 51 hash_key = jhash(data, ctx->data_size, 0); in mapping_add()
|
/linux-6.3-rc2/fs/dlm/ |
A D | dir.c | 205 hash = jhash(name, len, 0); in find_rsb_root()
|
/linux-6.3-rc2/drivers/infiniband/core/ |
A D | iwpm_util.c | 516 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()
|