/linux/net/rxrpc/ |
A D | peer_object.c | 33 unsigned long hash_key; in rxrpc_peer_hash_key() local 38 hash_key += srx->transport_type; in rxrpc_peer_hash_key() 39 hash_key += srx->transport_len; in rxrpc_peer_hash_key() 62 hash_key += *p; in rxrpc_peer_hash_key() 64 _leave(" 0x%lx", hash_key); in rxrpc_peer_hash_key() 65 return hash_key; in rxrpc_peer_hash_key() 83 diff = ((peer->hash_key - hash_key) ?: in rxrpc_peer_cmp_key() 117 unsigned long hash_key) in __rxrpc_lookup_peer_rcu() argument 247 unsigned long hash_key) in rxrpc_init_peer() argument 249 peer->hash_key = hash_key; in rxrpc_init_peer() [all …]
|
A D | ar-internal.h | 308 unsigned long hash_key; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | mod_hdr.c | 55 u32 hash_key) in mod_hdr_get() argument 59 hash_for_each_possible(tbl->hlist, mh, mod_hdr_hlist, hash_key) { in mod_hdr_get() 79 u32 hash_key; in mlx5e_mod_hdr_attach() local 87 hash_key = hash_mod_hdr_info(&key); in mlx5e_mod_hdr_attach() 90 mh = mod_hdr_get(tbl, &key, hash_key); in mlx5e_mod_hdr_attach() 114 hash_add(tbl->hlist, &mh->mod_hdr_hlist, hash_key); in mlx5e_mod_hdr_attach()
|
A D | tc_tun_encap.c | 577 uintptr_t hash_key) in mlx5e_encap_get() argument 584 encap_hlist, hash_key) { in mlx5e_encap_get() 597 uintptr_t hash_key) in mlx5e_decap_get() argument 604 hlist, hash_key) { in mlx5e_decap_get() 758 uintptr_t hash_key; in mlx5e_attach_encap() local 771 hash_key = hash_encap_info(&key); in mlx5e_attach_encap() 891 uintptr_t hash_key; in mlx5e_attach_decap() local 902 hash_key = hash_decap_info(&key); in mlx5e_attach_decap() 1017 u32 hash_key) in mlx5e_route_get() argument 1042 u32 hash_key; in mlx5e_route_get_create() local [all …]
|
A D | mapping.c | 47 u32 hash_key; in mapping_add() local 51 hash_key = jhash(data, ctx->data_size, 0); in mapping_add() 52 hash_for_each_possible(ctx->ht, mi, node, hash_key) { in mapping_add() 62 hash_add(ctx->ht, &mi->node, hash_key); in mapping_add()
|
/linux/fs/crypto/ |
A D | keysetup_v1.c | 182 unsigned long hash_key; in find_or_insert_direct_key() local 191 BUILD_BUG_ON(sizeof(hash_key) > FSCRYPT_KEY_DESCRIPTOR_SIZE); in find_or_insert_direct_key() 192 memcpy(&hash_key, ci->ci_policy.v1.master_key_descriptor, in find_or_insert_direct_key() 193 sizeof(hash_key)); in find_or_insert_direct_key() 196 hash_for_each_possible(fscrypt_direct_keys, dk, dk_node, hash_key) { in find_or_insert_direct_key() 213 hash_add(fscrypt_direct_keys, &to_insert->dk_node, hash_key); in find_or_insert_direct_key()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | timer_mim_reject.c | 54 int hash_key = HASH_KEY; in BPF_PROG() local 63 bpf_map_update_elem(inner_map, &hash_key, &init, 0); in BPF_PROG() 64 val = bpf_map_lookup_elem(inner_map, &hash_key); in BPF_PROG()
|
A D | timer_mim.c | 71 int hash_key = HASH_KEY; in BPF_PROG() local 77 bpf_map_update_elem(inner_map, &hash_key, &init, 0); in BPF_PROG() 78 val = bpf_map_lookup_elem(inner_map, &hash_key); in BPF_PROG()
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
A D | metadata.c | 18 u32 hash_key; member 199 unsigned long hash_key; in nfp_add_mask_table() local 213 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed); in nfp_add_mask_table() 214 mask_entry->hash_key = hash_key; in nfp_add_mask_table() 216 hash_add(priv->mask_table, &mask_entry->link, hash_key); in nfp_add_mask_table() 226 unsigned long hash_key; in nfp_search_mask_table() local 228 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed); in nfp_search_mask_table() 230 hash_for_each_possible(priv->mask_table, mask_entry, link, hash_key) in nfp_search_mask_table() 231 if (mask_entry->hash_key == hash_key) in nfp_search_mask_table()
|
/linux/drivers/net/ethernet/amazon/ena/ |
A D | ena_com.c | 1091 (ena_dev->rss).hash_key; in ena_com_hash_key_fill_default_key() 1093 netdev_rss_key_fill(&hash_key->key, sizeof(hash_key->key)); in ena_com_hash_key_fill_default_key() 1108 rss->hash_key = in ena_com_hash_key_allocate() 1112 if (unlikely(!rss->hash_key)) in ena_com_hash_key_allocate() 1122 if (rss->hash_key) in ena_com_hash_key_destroy() 1125 rss->hash_key = NULL; in ena_com_hash_key_destroy() 2376 hash_key = rss->hash_key; in ena_com_fill_hash_function() 2406 hash_key->key_parts = key_len / sizeof(hash_key->key[0]); in ena_com_fill_hash_function() 2459 ena_dev->rss.hash_key; in ena_com_get_hash_key() 2462 memcpy(key, hash_key->key, in ena_com_get_hash_key() [all …]
|
A D | ena_com.h | 276 struct ena_admin_feature_rss_flow_hash_control *hash_key; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
A D | sample.c | 175 u32 hash_key; in sampler_get() local 179 hash_key = sampler_hash(sample_ratio, default_table_id); in sampler_get() 180 hash_for_each_possible(tc_psample->hashtbl, sampler, hlist, hash_key) in sampler_get() 199 hash_add(tc_psample->hashtbl, &sampler->hlist, hash_key); in sampler_get() 289 u32 hash_key; in sample_restore_get() local 293 hash_key = restore_hash(obj_id, post_act_handle); in sample_restore_get() 294 hash_for_each_possible(tc_psample->restore_hashtbl, restore, hlist, hash_key) in sample_restore_get() 319 hash_add(tc_psample->restore_hashtbl, &restore->hlist, hash_key); in sample_restore_get()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | eswitch_offloads_termtbl.c | 117 u32 hash_key; in mlx5_eswitch_termtbl_get_create() local 121 hash_key = mlx5_eswitch_termtbl_hash(flow_act, dest); in mlx5_eswitch_termtbl_get_create() 123 termtbl_hlist, hash_key) { in mlx5_eswitch_termtbl_get_create() 149 hash_add(esw->offloads.termtbl_tbl, &tt->termtbl_hlist, hash_key); in mlx5_eswitch_termtbl_get_create()
|
A D | en_tc.c | 735 u32 hash_key = hash_hairpin_info(peer_vhca_id, prio); in mlx5e_hairpin_get() local 738 hairpin_hlist, hash_key) { in mlx5e_hairpin_get()
|
/linux/fs/ntfs3/ |
A D | fsntfs.c | 2064 struct SECURITY_KEY hash_key; in ntfs_insert_security() local 2074 hash_key.hash = security_hash(sd, size_sd); in ntfs_insert_security() 2075 hash_key.sec_id = SECURITY_ID_INVALID; in ntfs_insert_security() 2110 err = indx_find(indx_sdh, ni, root_sdh, &hash_key, sizeof(hash_key), in ntfs_insert_security() 2125 d_security->key.hash == hash_key.hash && in ntfs_insert_security() 2139 if (!e || e->key.hash != hash_key.hash) in ntfs_insert_security() 2167 d_security->key.hash = hash_key.hash; in ntfs_insert_security()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
A D | hclgevf_cmd.h | 212 u8 hash_key[HCLGEVF_RSS_HASH_KEY_NUM]; member
|
A D | hclgevf_main.c | 632 memcpy(req->hash_key, in hclgevf_set_rss_algo_key()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_pf.c | 584 u8 hash_key[ENETC_RSSHASH_KEY_SIZE]; in enetc_configure_port() local 594 get_random_bytes(hash_key, ENETC_RSSHASH_KEY_SIZE); in enetc_configure_port() 595 enetc_set_rss_key(hw, hash_key); in enetc_configure_port()
|
/linux/drivers/crypto/ |
A D | n2_core.c | 298 unsigned char hash_key[N2_HASH_KEY_MAX]; member 478 ctx->hash_key); in n2_hmac_async_setkey() 483 memcpy(ctx->hash_key, key, keylen); in n2_hmac_async_setkey() 655 __pa(&ctx->hash_key), in n2_hmac_async_digest()
|
/linux/net/openvswitch/ |
A D | flow_table.c | 650 const u32 *hash_key = (const u32 *)((const u8 *)key + range->start); in flow_hash() local 655 return jhash2(hash_key, hash_u32s, 0); in flow_hash()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_cmd.h | 579 u8 hash_key[HCLGE_RSS_HASH_KEY_NUM]; member
|
A D | hclge_main.c | 4717 memcpy(req->hash_key, in hclge_set_rss_algo_key()
|