/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | vporttbl.c | 88 u32 hkey; local 92 hkey = flow_attr_to_vport_key(esw, attr, &skey); 93 e = esw_vport_tbl_lookup(esw, &skey, hkey); 119 hash_add(esw->fdb_table.offloads.vports.table, &e->hlist, hkey); 136 u32 hkey; local 140 hkey = flow_attr_to_vport_key(esw, attr, &key); 141 e = esw_vport_tbl_lookup(esw, &key, hkey);
|
/linux-master/net/ethtool/ |
H A D | rss.c | 18 u8 *hkey; member in struct:rss_reply_data 88 data->hkey = rss_config + indir_bytes; 93 rxfh.key = data->hkey; 136 nla_put(skb, ETHTOOL_A_RSS_HKEY, data->hkey_size, data->hkey)))
|
/linux-master/drivers/crypto/ccree/ |
H A D | cc_aead.h | 57 u8 hkey[AES_BLOCK_SIZE] ____cacheline_aligned; 80 dma_addr_t hkey_dma_addr; /* Phys. address of hkey */
|
H A D | cc_buffer_mgr.c | 1009 dma_addr = dma_map_single(dev, areq_ctx->hkey, AES_BLOCK_SIZE, 1012 dev_err(dev, "Mapping hkey %u B at va=%pK for DMA failed\n", 1013 AES_BLOCK_SIZE, areq_ctx->hkey);
|
H A D | cc_aead.c | 1632 /* process one zero block to generate hkey */ 1845 memset(req_ctx->hkey, 0, AES_BLOCK_SIZE);
|
/linux-master/drivers/crypto/ |
H A D | atmel-sha.c | 1615 static inline void atmel_sha_hmac_key_init(struct atmel_sha_hmac_key *hkey) argument 1617 memset(hkey, 0, sizeof(*hkey)); 1620 static inline void atmel_sha_hmac_key_release(struct atmel_sha_hmac_key *hkey) argument 1622 kfree(hkey->keydup); 1623 memset(hkey, 0, sizeof(*hkey)); 1626 static inline int atmel_sha_hmac_key_set(struct atmel_sha_hmac_key *hkey, argument 1630 atmel_sha_hmac_key_release(hkey); 1632 if (keylen > sizeof(hkey 1646 atmel_sha_hmac_key_get(const struct atmel_sha_hmac_key *hkey, const u8 **key, unsigned int *keylen) argument 1662 struct atmel_sha_hmac_key hkey; member in struct:atmel_sha_hmac_ctx [all...] |
/linux-master/drivers/platform/x86/ |
H A D | panasonic-laptop.c | 322 union acpi_object *hkey = NULL; local 332 hkey = buffer.pointer; 333 if (!hkey || (hkey->type != ACPI_TYPE_PACKAGE)) { 339 if (pcc->num_sifr < hkey->package.count) { 345 for (i = 0; i < hkey->package.count; i++) { 346 union acpi_object *element = &(hkey->package.elements[i]); 352 pcc->sinf[hkey->package.count] = -1;
|
H A D | thinkpad_acpi.c | 581 TPACPI_HANDLE(hkey, ec, "\\_SB.HKEY", /* 600e/x, 770e, 770x */ 3375 TPACPI_ACPIHANDLE_INIT(hkey); 3729 static bool hotkey_notify_extended_hotkey(const u32 hkey) argument 3733 switch (hkey) { 3737 tpacpi_driver_event(hkey); 3745 scancode = (hkey & 0xfff) - (0x300 - TP_ACPI_HOTKEYSCAN_EXTENDED_START); 3755 static bool hotkey_notify_hotkey(const u32 hkey, argument 3760 unsigned int scancode = hkey & 0xfff; 3769 switch ((hkey >> 8) & 0xf) { 3789 return hotkey_notify_extended_hotkey(hkey); 3795 hotkey_notify_wakeup(const u32 hkey, bool *send_acpi_ev, bool *ignore_acpi_ev) argument 3835 hotkey_notify_dockevent(const u32 hkey, bool *send_acpi_ev, bool *ignore_acpi_ev) argument 3880 hotkey_notify_usrevent(const u32 hkey, bool *send_acpi_ev, bool *ignore_acpi_ev) argument 3915 hotkey_notify_6xxx(const u32 hkey, bool *send_acpi_ev, bool *ignore_acpi_ev) argument 4001 u32 hkey; local [all...] |
/linux-master/drivers/net/phy/mscc/ |
H A D | mscc_macsec.c | 504 static int vsc8584_macsec_derive_key(const u8 *key, u16 key_len, u8 hkey[16]) argument 514 aes_encrypt(&ctx, hkey, input); 527 u8 hkey[16]; local 530 ret = vsc8584_macsec_derive_key(key, priv->secy->key_len, hkey); 572 ((u32 *)hkey)[i]);
|
/linux-master/fs/xfs/scrub/ |
H A D | rmap.c | 152 union xfs_btree_key *lkey, *hkey; local 176 hkey = xfs_btree_high_key_addr(cur, ptr, keyblock); 177 if (hkey->rmap.rm_offset & badflag) {
|
H A D | btree.c | 143 union xfs_btree_key hkey; local 175 cur->bc_ops->init_high_key_from_rec(&hkey, rec); 177 if (xfs_btree_keycmp_lt(cur, keyp, &hkey))
|
/linux-master/drivers/nvme/common/ |
H A D | auth.c | 315 static int nvme_auth_hash_skey(int hmac_id, u8 *skey, size_t skey_len, u8 *hkey) argument 331 ret = crypto_shash_tfm_digest(tfm, skey, skey_len, hkey);
|
/linux-master/drivers/net/ethernet/emulex/benet/ |
H A D | be_ethtool.c | 1300 u8 *hkey = rxfh->key; local 1322 if (!hkey) 1323 hkey = adapter->rss_info.rss_hkey; 1327 RSS_INDIR_TABLE_LEN, hkey); 1332 memcpy(adapter->rss_info.rss_hkey, hkey, RSS_HASH_KEY_LEN);
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_btree.c | 2190 union xfs_btree_key hkey; local 2203 cur->bc_ops->init_high_key_from_rec(&hkey, rec); 2204 if (xfs_btree_keycmp_gt(cur, &hkey, &max_hkey)) 2205 max_hkey = hkey; 2220 union xfs_btree_key *hkey; local 2231 hkey = xfs_btree_high_key_addr(cur, n, block); 2232 if (xfs_btree_keycmp_gt(cur, hkey, max_hkey)) 2233 max_hkey = hkey; 2287 union xfs_btree_key *hkey; local 2302 hkey [all...] |
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 10537 static const u32 hkey[] = { local 10545 wr32(&pf->hw, I40E_GLQF_HKEY(i), hkey[i]);
|