Searched refs:hash_key (Results 1 - 25 of 27) sorted by last modified time

12

/linux-master/tools/perf/util/
H A Dannotate.c986 long hash_key; local
1008 hash_key = offset << 16 | evidx;
1009 if (!hashmap__find(src->samples, hash_key, &entry)) {
1014 if (hashmap__add(src->samples, hash_key, entry) < 0)
/linux-master/drivers/net/ethernet/amazon/ena/
H A Dena_com.c1062 struct ena_admin_feature_rss_flow_hash_control *hash_key = local
1063 (ena_dev->rss).hash_key;
1065 netdev_rss_key_fill(&hash_key->key, sizeof(hash_key->key));
1069 hash_key->key_parts = ENA_ADMIN_RSS_KEY_PARTS;
1079 rss->hash_key = dma_alloc_coherent(ena_dev->dmadev, sizeof(*rss->hash_key),
1082 if (unlikely(!rss->hash_key))
1092 if (rss->hash_key)
1093 dma_free_coherent(ena_dev->dmadev, sizeof(*rss->hash_key), rs
2295 struct ena_admin_feature_rss_flow_hash_control *hash_key; local
2371 struct ena_admin_feature_rss_flow_hash_control *hash_key = local
[all...]
H A Dena_com.h271 struct ena_admin_feature_rss_flow_hash_control *hash_key; member in struct:ena_rss
/linux-master/fs/bcachefs/
H A Dxattr.c67 .hash_key = xattr_hash_key,
H A Dstr_hash.h147 u64 (*hash_key)(const struct bch_hash_info *, const void *); member in struct:bch_hash_desc
174 SPOS(inum.inum, desc.hash_key(info, key), snapshot),
221 SPOS(inum.inum, desc.hash_key(info, key), snapshot),
H A Ddirent.c93 .hash_key = dirent_hash_key,
/linux-master/drivers/md/dm-vdo/
H A Dint-map.c127 * hash_key() - Calculate a 64-bit non-cryptographic hash value for the provided 64-bit integer
136 static u64 hash_key(u64 key) function
299 u64 hash = hash_key(key) & 0xFFFFFFFF;
/linux-master/drivers/crypto/
H A Dn2_core.c299 unsigned char hash_key[N2_HASH_KEY_MAX]; member in struct:n2_hmac_ctx
479 ctx->hash_key);
484 memcpy(ctx->hash_key, key, keylen);
656 __pa(&ctx->hash_key),
/linux-master/net/rxrpc/
H A Dar-internal.h332 unsigned long hash_key; member in struct:rxrpc_peer
H A Dpeer_object.c35 unsigned long hash_key; local
39 hash_key = (unsigned long)local / __alignof__(*local);
40 hash_key += srx->transport_type;
41 hash_key += srx->transport_len;
42 hash_key += srx->transport.family;
46 hash_key += (u16 __force)srx->transport.sin.sin_port;
52 hash_key += (u16 __force)srx->transport.sin.sin_port;
64 hash_key += *p;
66 _leave(" 0x%lx", hash_key);
67 return hash_key;
78 rxrpc_peer_cmp_key(const struct rxrpc_peer *peer, struct rxrpc_local *local, const struct sockaddr_rxrpc *srx, unsigned long hash_key) argument
116 __rxrpc_lookup_peer_rcu( struct rxrpc_local *local, const struct sockaddr_rxrpc *srx, unsigned long hash_key) argument
140 unsigned long hash_key = rxrpc_peer_hash_key(local, srx); local
241 rxrpc_init_peer(struct rxrpc_local *local, struct rxrpc_peer *peer, unsigned long hash_key) argument
277 rxrpc_create_peer(struct rxrpc_local *local, struct sockaddr_rxrpc *srx, unsigned long hash_key, gfp_t gfp) argument
311 unsigned long hash_key; local
330 unsigned long hash_key = rxrpc_peer_hash_key(local, srx); local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c967 u32 hash_key = hash_hairpin_info(peer_vhca_id, prio); local
970 hairpin_hlist, hash_key) {
H A Deswitch_offloads_termtbl.c119 u32 hash_key; local
123 hash_key = mlx5_eswitch_termtbl_hash(flow_act, dest);
125 termtbl_hlist, hash_key) {
151 hash_add(esw->offloads.termtbl_tbl, &tt->termtbl_hlist, hash_key);
/linux-master/fs/ntfs3/
H A Dfsntfs.c2093 struct SECURITY_KEY hash_key; local
2103 hash_key.hash = security_hash(sd, size_sd);
2104 hash_key.sec_id = SECURITY_ID_INVALID;
2139 err = indx_find(indx_sdh, ni, root_sdh, &hash_key, sizeof(hash_key),
2154 d_security->key.hash == hash_key.hash &&
2168 if (!e || e->key.hash != hash_key.hash)
2196 d_security->key.hash = hash_key.hash;
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.c588 u8 hash_key[ENETC_RSSHASH_KEY_SIZE]; local
596 get_random_bytes(hash_key, ENETC_RSSHASH_KEY_SIZE);
597 enetc_set_rss_key(hw, hash_key);
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hsi.h6782 __le32 hash_key[10]; member in struct:hwrm_vnic_rss_qcfg_output
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.c648 uintptr_t hash_key)
655 encap_hlist, hash_key) {
668 uintptr_t hash_key)
675 hlist, hash_key) {
830 uintptr_t hash_key; local
846 hash_key = hash_encap_info(&key);
848 e = mlx5e_encap_get(priv, &key, hash_key);
884 hash_add_rcu(esw->offloads.encap_tbl, &e->encap_hlist, hash_key);
949 uintptr_t hash_key; local
959 hash_key
647 mlx5e_encap_get(struct mlx5e_priv *priv, struct mlx5e_encap_key *key, uintptr_t hash_key) argument
667 mlx5e_decap_get(struct mlx5e_priv *priv, struct mlx5e_decap_key *key, uintptr_t hash_key) argument
1158 mlx5e_route_get(struct mlx5e_tc_tun_encap *encap, struct mlx5e_route_key *key, u32 hash_key) argument
1184 u32 hash_key; local
1224 u32 hash_key = hash_route_info(key); local
[all...]
H A Dmod_hdr.c56 u32 hash_key)
60 hash_for_each_possible(tbl->hlist, mh, mod_hdr_hlist, hash_key) {
80 u32 hash_key; local
88 hash_key = hash_mod_hdr_info(&key);
91 mh = mod_hdr_get(tbl, &key, hash_key);
115 hash_add(tbl->hlist, &mh->mod_hdr_hlist, hash_key);
54 mod_hdr_get(struct mod_hdr_tbl *tbl, struct mod_hdr_key *key, u32 hash_key) argument
/linux-master/fs/crypto/
H A Dkeysetup_v1.c184 unsigned long hash_key; local
193 BUILD_BUG_ON(sizeof(hash_key) > FSCRYPT_KEY_DESCRIPTOR_SIZE);
194 memcpy(&hash_key, ci->ci_policy.v1.master_key_descriptor,
195 sizeof(hash_key));
198 hash_for_each_possible(fscrypt_direct_keys, dk, dk_node, hash_key) {
215 hash_add(fscrypt_direct_keys, &to_insert->dk_node, hash_key);
/linux-master/net/openvswitch/
H A Dflow_table.c648 const u32 *hash_key = (const u32 *)((const u8 *)key + range->start); local
653 return jhash2(hash_key, hash_u32s, 0);
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dmetadata.c18 u32 hash_key; member in struct:nfp_mask_id_table
211 unsigned long hash_key; local
225 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed);
226 mask_entry->hash_key = hash_key;
228 hash_add(priv->mask_table, &mask_entry->link, hash_key);
238 unsigned long hash_key; local
240 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed);
242 hash_for_each_possible(priv->mask_table, mask_entry, link, hash_key)
243 if (mask_entry->hash_key
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.c84 u64 hash_key[3]; local
88 hash_key[0] = rsp.secret_key[1] << 31;
89 hash_key[0] |= rsp.secret_key[2];
90 hash_key[1] = rsp.secret_key[1] >> 33;
91 hash_key[1] |= rsp.secret_key[0] << 31;
92 hash_key[2] = rsp.secret_key[0] >> 33;
96 field_hash = rvu_npc_toeplitz_hash(data_padded, hash_key, 128, 159);
430 u64 hash_key[2]; local
438 hash_key[0] = key_in[0] << 31;
439 hash_key[
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_rss.c394 memcpy(req->hash_key,
H A Dhclge_comm_rss.h59 u8 hash_key[HCLGE_COMM_RSS_HASH_KEY_NUM]; member in struct:hclge_comm_rss_config_cmd
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dsample.c176 u32 hash_key; local
180 hash_key = sampler_hash(sample_ratio, default_table_id);
181 hash_for_each_possible(tc_psample->hashtbl, sampler, hlist, hash_key)
200 hash_add(tc_psample->hashtbl, &sampler->hlist, hash_key);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtimer_mim_reject.c54 int hash_key = HASH_KEY; local
63 bpf_map_update_elem(inner_map, &hash_key, &init, 0);
64 val = bpf_map_lookup_elem(inner_map, &hash_key);

Completed in 454 milliseconds

12