/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | vporttbl.c | 80 u32 hkey; in mlx5_esw_vporttbl_get() local 83 hkey = flow_attr_to_vport_key(esw, attr, &skey); in mlx5_esw_vporttbl_get() 84 e = esw_vport_tbl_lookup(esw, &skey, hkey); in mlx5_esw_vporttbl_get() 110 hash_add(esw->fdb_table.offloads.vports.table, &e->hlist, hkey); in mlx5_esw_vporttbl_get() 127 u32 hkey; in mlx5_esw_vporttbl_put() local 130 hkey = flow_attr_to_vport_key(esw, attr, &key); in mlx5_esw_vporttbl_put() 131 e = esw_vport_tbl_lookup(esw, &key, hkey); in mlx5_esw_vporttbl_put()
|
/linux-6.3-rc2/net/ethtool/ |
A D | rss.c | 17 u8 *hkey; member 87 data->hkey = rss_config + indir_bytes; in rss_prepare_data() 90 ret = ops->get_rxfh_context(dev, data->indir_table, data->hkey, in rss_prepare_data() 93 ret = ops->get_rxfh(dev, data->indir_table, data->hkey, in rss_prepare_data() 131 nla_put(skb, ETHTOOL_A_RSS_HKEY, data->hkey_size, data->hkey))) in rss_fill_reply()
|
A D | ioctl.c | 1178 u8 *hkey = NULL; in ethtool_get_rxfh() local 1220 hkey = rss_config + indir_bytes; in ethtool_get_rxfh() 1223 ret = dev->ethtool_ops->get_rxfh_context(dev, indir, hkey, in ethtool_get_rxfh() 1227 ret = dev->ethtool_ops->get_rxfh(dev, indir, hkey, &dev_hfunc); in ethtool_get_rxfh() 1254 u8 *hkey = NULL; in ethtool_set_rxfh() local 1324 hkey = rss_config + indir_bytes; in ethtool_set_rxfh() 1325 if (copy_from_user(hkey, in ethtool_set_rxfh() 1334 ret = ops->set_rxfh_context(dev, indir, hkey, rxfh.hfunc, in ethtool_set_rxfh() 1337 ret = ops->set_rxfh(dev, indir, hkey, rxfh.hfunc); in ethtool_set_rxfh()
|
/linux-6.3-rc2/drivers/crypto/ |
A D | atmel-sha.c | 1619 memset(hkey, 0, sizeof(*hkey)); in atmel_sha_hmac_key_init() 1624 kfree(hkey->keydup); in atmel_sha_hmac_key_release() 1625 memset(hkey, 0, sizeof(*hkey)); in atmel_sha_hmac_key_release() 1632 atmel_sha_hmac_key_release(hkey); in atmel_sha_hmac_key_set() 1636 if (!hkey->keydup) in atmel_sha_hmac_key_set() 1643 hkey->valid = true; in atmel_sha_hmac_key_set() 1644 hkey->keylen = keylen; in atmel_sha_hmac_key_set() 1652 if (!hkey->valid) in atmel_sha_hmac_key_get() 1655 *keylen = hkey->keylen; in atmel_sha_hmac_key_get() 1656 *key = (hkey->keydup) ? hkey->keydup : hkey->buffer; in atmel_sha_hmac_key_get() [all …]
|
/linux-6.3-rc2/drivers/platform/x86/ |
A D | panasonic-laptop.c | 322 union acpi_object *hkey = NULL; in acpi_pcc_retrieve_biosdata() local 332 hkey = buffer.pointer; in acpi_pcc_retrieve_biosdata() 333 if (!hkey || (hkey->type != ACPI_TYPE_PACKAGE)) { in acpi_pcc_retrieve_biosdata() 339 if (pcc->num_sifr < hkey->package.count) { in acpi_pcc_retrieve_biosdata() 345 for (i = 0; i < hkey->package.count; i++) { in acpi_pcc_retrieve_biosdata() 346 union acpi_object *element = &(hkey->package.elements[i]); in acpi_pcc_retrieve_biosdata() 352 pcc->sinf[hkey->package.count] = -1; in acpi_pcc_retrieve_biosdata()
|
A D | thinkpad_acpi.c | 3735 switch (hkey) { in hotkey_notify_extended_hotkey() 3738 tpacpi_driver_event(hkey); in hotkey_notify_extended_hotkey() 3804 switch (hkey) { in hotkey_notify_wakeup() 3844 switch (hkey) { in hotkey_notify_dockevent() 3889 switch (hkey) { in hotkey_notify_usrevent() 3924 switch (hkey) { in hotkey_notify_6xxx() 4002 u32 hkey; in hotkey_notify() local 4023 if (hkey == 0) { in hotkey_notify() 4031 switch (hkey >> 12) { in hotkey_notify() 4044 switch (hkey) { in hotkey_notify() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/cisco/enic/ |
A D | enic_ethtool.c | 571 static int enic_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in enic_get_rxfh() argument 576 if (hkey) in enic_get_rxfh() 577 memcpy(hkey, enic->rss_key, ENIC_RSS_LEN); in enic_get_rxfh() 586 const u8 *hkey, const u8 hfunc) in enic_set_rxfh() argument 594 if (hkey) in enic_set_rxfh() 595 memcpy(enic->rss_key, hkey, ENIC_RSS_LEN); in enic_set_rxfh()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_ethtool.c | 824 const u8 *hkey, const u8 hfunc, in otx2_set_rxfh_context() argument 846 if (hkey) { in otx2_set_rxfh_context() 847 memcpy(rss->key, hkey, sizeof(rss->key)); in otx2_set_rxfh_context() 869 u8 *hkey, u8 *hfunc, u32 rss_context) in otx2_get_rxfh_context() argument 901 if (hkey) in otx2_get_rxfh_context() 902 memcpy(hkey, rss->key, sizeof(rss->key)); in otx2_get_rxfh_context() 909 u8 *hkey, u8 *hfunc) in otx2_get_rxfh() argument 911 return otx2_get_rxfh_context(dev, indir, hkey, hfunc, in otx2_get_rxfh() 917 const u8 *hkey, const u8 hfunc) in otx2_set_rxfh() argument 922 return otx2_set_rxfh_context(dev, indir, hkey, hfunc, &rss_context, 0); in otx2_set_rxfh()
|
/linux-6.3-rc2/drivers/net/ethernet/cavium/thunder/ |
A D | nicvf_ethtool.c | 656 static int nicvf_get_rxfh(struct net_device *dev, u32 *indir, u8 *hkey, in nicvf_get_rxfh() argument 668 if (hkey) in nicvf_get_rxfh() 669 memcpy(hkey, rss->key, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_get_rxfh() 678 const u8 *hkey, const u8 hfunc) in nicvf_set_rxfh() argument 698 if (hkey) { in nicvf_set_rxfh() 699 memcpy(rss->key, hkey, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_set_rxfh()
|
/linux-6.3-rc2/drivers/net/ethernet/emulex/benet/ |
A D | be_ethtool.c | 1274 static int be_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in be_get_rxfh() argument 1286 if (hkey) in be_get_rxfh() 1287 memcpy(hkey, rss->rss_hkey, RSS_HASH_KEY_LEN); in be_get_rxfh() 1296 const u8 *hkey, const u8 hfunc) in be_set_rxfh() argument 1320 if (!hkey) in be_set_rxfh() 1321 hkey = adapter->rss_info.rss_hkey; in be_set_rxfh() 1325 RSS_INDIR_TABLE_LEN, hkey); in be_set_rxfh() 1330 memcpy(adapter->rss_info.rss_hkey, hkey, RSS_HASH_KEY_LEN); in be_set_rxfh()
|
/linux-6.3-rc2/drivers/crypto/ccree/ |
A D | cc_aead.h | 57 u8 hkey[AES_BLOCK_SIZE] ____cacheline_aligned; member
|
A D | cc_buffer_mgr.c | 1009 dma_addr = dma_map_single(dev, areq_ctx->hkey, AES_BLOCK_SIZE, in cc_map_aead_request() 1013 AES_BLOCK_SIZE, areq_ctx->hkey); in cc_map_aead_request()
|
A D | cc_aead.c | 1845 memset(req_ctx->hkey, 0, AES_BLOCK_SIZE); in config_gcm_context()
|
/linux-6.3-rc2/drivers/net/phy/mscc/ |
A D | mscc_macsec.c | 504 static int vsc8584_macsec_derive_key(const u8 *key, u16 key_len, u8 hkey[16]) in vsc8584_macsec_derive_key() 514 aes_encrypt(&ctx, hkey, input); in vsc8584_macsec_derive_key() 527 u8 hkey[16]; in vsc8584_macsec_transformation() local 530 ret = vsc8584_macsec_derive_key(key, priv->secy->key_len, hkey); in vsc8584_macsec_transformation() 572 ((u32 *)hkey)[i]); in vsc8584_macsec_transformation()
|
/linux-6.3-rc2/drivers/nvme/common/ |
A D | auth.c | 305 static int nvme_auth_hash_skey(int hmac_id, u8 *skey, size_t skey_len, u8 *hkey) in nvme_auth_hash_skey() argument 321 ret = crypto_shash_tfm_digest(tfm, skey, skey_len, hkey); in nvme_auth_hash_skey()
|
/linux-6.3-rc2/fs/xfs/scrub/ |
A D | btree.c | 132 union xfs_btree_key hkey; in xchk_btree_rec() local 163 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xchk_btree_rec() 165 if (cur->bc_ops->diff_two_keys(cur, keyp, &hkey) < 0) in xchk_btree_rec()
|
/linux-6.3-rc2/fs/xfs/libxfs/ |
A D | xfs_btree.c | 2056 union xfs_btree_key hkey; in xfs_btree_get_leaf_keys() local 2069 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xfs_btree_get_leaf_keys() 2070 if (cur->bc_ops->diff_two_keys(cur, &hkey, &max_hkey) in xfs_btree_get_leaf_keys() 2072 max_hkey = hkey; in xfs_btree_get_leaf_keys() 2087 union xfs_btree_key *hkey; in xfs_btree_get_node_keys() local 2098 hkey = xfs_btree_high_key_addr(cur, n, block); in xfs_btree_get_node_keys() 2099 if (cur->bc_ops->diff_two_keys(cur, hkey, max_hkey) > 0) in xfs_btree_get_node_keys() 2100 max_hkey = hkey; in xfs_btree_get_node_keys() 2154 union xfs_btree_key *hkey; in __xfs_btree_updkeys() local 2169 hkey = xfs_btree_high_key_from_key(cur, lkey); in __xfs_btree_updkeys() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/ |
A D | i40e_main.c | 10524 static const u32 hkey[] = { in i40e_fdir_sb_setup() local 10532 wr32(&pf->hw, I40E_GLQF_HKEY(i), hkey[i]); in i40e_fdir_sb_setup()
|