hkey 1683 drivers/crypto/atmel-sha.c static inline void atmel_sha_hmac_key_init(struct atmel_sha_hmac_key *hkey) hkey 1685 drivers/crypto/atmel-sha.c memset(hkey, 0, sizeof(*hkey)); hkey 1688 drivers/crypto/atmel-sha.c static inline void atmel_sha_hmac_key_release(struct atmel_sha_hmac_key *hkey) hkey 1690 drivers/crypto/atmel-sha.c kfree(hkey->keydup); hkey 1691 drivers/crypto/atmel-sha.c memset(hkey, 0, sizeof(*hkey)); hkey 1694 drivers/crypto/atmel-sha.c static inline int atmel_sha_hmac_key_set(struct atmel_sha_hmac_key *hkey, hkey 1698 drivers/crypto/atmel-sha.c atmel_sha_hmac_key_release(hkey); hkey 1700 drivers/crypto/atmel-sha.c if (keylen > sizeof(hkey->buffer)) { hkey 1701 drivers/crypto/atmel-sha.c hkey->keydup = kmemdup(key, keylen, GFP_KERNEL); hkey 1702 drivers/crypto/atmel-sha.c if (!hkey->keydup) hkey 1706 drivers/crypto/atmel-sha.c memcpy(hkey->buffer, key, keylen); hkey 1709 drivers/crypto/atmel-sha.c hkey->valid = true; hkey 1710 drivers/crypto/atmel-sha.c hkey->keylen = keylen; hkey 1714 drivers/crypto/atmel-sha.c static inline bool atmel_sha_hmac_key_get(const struct atmel_sha_hmac_key *hkey, hkey 1718 drivers/crypto/atmel-sha.c if (!hkey->valid) hkey 1721 drivers/crypto/atmel-sha.c *keylen = hkey->keylen; hkey 1722 drivers/crypto/atmel-sha.c *key = (hkey->keydup) ? hkey->keydup : hkey->buffer; hkey 1730 drivers/crypto/atmel-sha.c struct atmel_sha_hmac_key hkey; hkey 1793 drivers/crypto/atmel-sha.c if (likely(!atmel_sha_hmac_key_get(&hmac->hkey, &key, &keylen))) hkey 1876 drivers/crypto/atmel-sha.c atmel_sha_hmac_key_release(&hmac->hkey); hkey 1921 drivers/crypto/atmel-sha.c return atmel_sha_hmac_key_set(&hmac->hkey, key, keylen); hkey 2070 drivers/crypto/atmel-sha.c atmel_sha_hmac_key_init(&hmac->hkey); hkey 2079 drivers/crypto/atmel-sha.c atmel_sha_hmac_key_release(&hmac->hkey); hkey 1856 drivers/crypto/ccree/cc_aead.c memset(req_ctx->hkey, 0, AES_BLOCK_SIZE); hkey 57 drivers/crypto/ccree/cc_aead.h u8 hkey[AES_BLOCK_SIZE] ____cacheline_aligned; hkey 1070 drivers/crypto/ccree/cc_buffer_mgr.c dma_addr = dma_map_single(dev, areq_ctx->hkey, AES_BLOCK_SIZE, hkey 1074 drivers/crypto/ccree/cc_buffer_mgr.c AES_BLOCK_SIZE, areq_ctx->hkey); hkey 651 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c static int nicvf_get_rxfh(struct net_device *dev, u32 *indir, u8 *hkey, hkey 663 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c if (hkey) hkey 664 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c memcpy(hkey, rss->key, RSS_HASH_KEY_SIZE * sizeof(u64)); hkey 673 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c const u8 *hkey, const u8 hfunc) hkey 693 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c if (hkey) { hkey 694 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c memcpy(rss->key, hkey, RSS_HASH_KEY_SIZE * sizeof(u64)); hkey 599 drivers/net/ethernet/cisco/enic/enic_ethtool.c static int enic_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, hkey 604 drivers/net/ethernet/cisco/enic/enic_ethtool.c if (hkey) hkey 605 drivers/net/ethernet/cisco/enic/enic_ethtool.c memcpy(hkey, enic->rss_key, ENIC_RSS_LEN); hkey 614 drivers/net/ethernet/cisco/enic/enic_ethtool.c const u8 *hkey, const u8 hfunc) hkey 622 drivers/net/ethernet/cisco/enic/enic_ethtool.c if (hkey) hkey 623 drivers/net/ethernet/cisco/enic/enic_ethtool.c memcpy(enic->rss_key, hkey, ENIC_RSS_LEN); hkey 1269 drivers/net/ethernet/emulex/benet/be_ethtool.c static int be_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, hkey 1281 drivers/net/ethernet/emulex/benet/be_ethtool.c if (hkey) hkey 1282 drivers/net/ethernet/emulex/benet/be_ethtool.c memcpy(hkey, rss->rss_hkey, RSS_HASH_KEY_LEN); hkey 1291 drivers/net/ethernet/emulex/benet/be_ethtool.c const u8 *hkey, const u8 hfunc) hkey 1315 drivers/net/ethernet/emulex/benet/be_ethtool.c if (!hkey) hkey 1316 drivers/net/ethernet/emulex/benet/be_ethtool.c hkey = adapter->rss_info.rss_hkey; hkey 1320 drivers/net/ethernet/emulex/benet/be_ethtool.c RSS_INDIR_TABLE_LEN, hkey); hkey 1325 drivers/net/ethernet/emulex/benet/be_ethtool.c memcpy(adapter->rss_info.rss_hkey, hkey, RSS_HASH_KEY_LEN); hkey 9641 drivers/net/ethernet/intel/i40e/i40e_main.c static const u32 hkey[] = { hkey 9649 drivers/net/ethernet/intel/i40e/i40e_main.c wr32(&pf->hw, I40E_GLQF_HKEY(i), hkey[i]); hkey 259 drivers/platform/x86/panasonic-laptop.c union acpi_object *hkey = NULL; hkey 270 drivers/platform/x86/panasonic-laptop.c hkey = buffer.pointer; hkey 271 drivers/platform/x86/panasonic-laptop.c if (!hkey || (hkey->type != ACPI_TYPE_PACKAGE)) { hkey 277 drivers/platform/x86/panasonic-laptop.c if (pcc->num_sifr < hkey->package.count) { hkey 284 drivers/platform/x86/panasonic-laptop.c for (i = 0; i < hkey->package.count; i++) { hkey 285 drivers/platform/x86/panasonic-laptop.c union acpi_object *element = &(hkey->package.elements[i]); hkey 292 drivers/platform/x86/panasonic-laptop.c pcc->sinf[hkey->package.count] = -1; hkey 556 drivers/platform/x86/thinkpad_acpi.c TPACPI_HANDLE(hkey, ec, "\\_SB.HKEY", /* 600e/x, 770e, 770x */ hkey 3491 drivers/platform/x86/thinkpad_acpi.c TPACPI_ACPIHANDLE_INIT(hkey); hkey 3883 drivers/platform/x86/thinkpad_acpi.c static bool hotkey_notify_hotkey(const u32 hkey, hkey 3888 drivers/platform/x86/thinkpad_acpi.c unsigned int scancode = hkey & 0xfff; hkey 3897 drivers/platform/x86/thinkpad_acpi.c switch ((hkey >> 8) & 0xf) { hkey 3933 drivers/platform/x86/thinkpad_acpi.c static bool hotkey_notify_wakeup(const u32 hkey, hkey 3941 drivers/platform/x86/thinkpad_acpi.c switch (hkey) { hkey 3973 drivers/platform/x86/thinkpad_acpi.c static bool hotkey_notify_dockevent(const u32 hkey, hkey 3981 drivers/platform/x86/thinkpad_acpi.c switch (hkey) { hkey 4001 drivers/platform/x86/thinkpad_acpi.c static bool hotkey_notify_usrevent(const u32 hkey, hkey 4009 drivers/platform/x86/thinkpad_acpi.c switch (hkey) { hkey 4035 drivers/platform/x86/thinkpad_acpi.c static bool hotkey_notify_6xxx(const u32 hkey, hkey 4043 drivers/platform/x86/thinkpad_acpi.c switch (hkey) { hkey 4115 drivers/platform/x86/thinkpad_acpi.c u32 hkey; hkey 4131 drivers/platform/x86/thinkpad_acpi.c if (!acpi_evalf(hkey_handle, &hkey, "MHKP", "d")) { hkey 4136 drivers/platform/x86/thinkpad_acpi.c if (hkey == 0) { hkey 4144 drivers/platform/x86/thinkpad_acpi.c switch (hkey >> 12) { hkey 4147 drivers/platform/x86/thinkpad_acpi.c known_ev = hotkey_notify_hotkey(hkey, &send_acpi_ev, hkey 4152 drivers/platform/x86/thinkpad_acpi.c known_ev = hotkey_notify_wakeup(hkey, &send_acpi_ev, hkey 4157 drivers/platform/x86/thinkpad_acpi.c switch (hkey) { hkey 4174 drivers/platform/x86/thinkpad_acpi.c known_ev = hotkey_notify_dockevent(hkey, &send_acpi_ev, hkey 4179 drivers/platform/x86/thinkpad_acpi.c known_ev = hotkey_notify_usrevent(hkey, &send_acpi_ev, hkey 4185 drivers/platform/x86/thinkpad_acpi.c known_ev = hotkey_notify_6xxx(hkey, &send_acpi_ev, hkey 4191 drivers/platform/x86/thinkpad_acpi.c hkey == TP_HKEY_EV_RFKILL_CHANGED) { hkey 4202 drivers/platform/x86/thinkpad_acpi.c pr_notice("unhandled HKEY event 0x%04x\n", hkey); hkey 4212 drivers/platform/x86/thinkpad_acpi.c event, hkey); hkey 4562 drivers/platform/x86/thinkpad_acpi.c TPACPI_ACPIHANDLE_INIT(hkey); hkey 4751 drivers/platform/x86/thinkpad_acpi.c TPACPI_ACPIHANDLE_INIT(hkey); hkey 4891 drivers/platform/x86/thinkpad_acpi.c TPACPI_ACPIHANDLE_INIT(hkey); hkey 5412 drivers/platform/x86/thinkpad_acpi.c TPACPI_ACPIHANDLE_INIT(hkey); hkey 2030 fs/xfs/libxfs/xfs_btree.c union xfs_btree_key hkey; hkey 2043 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->init_high_key_from_rec(&hkey, rec); hkey 2044 fs/xfs/libxfs/xfs_btree.c if (cur->bc_ops->diff_two_keys(cur, &hkey, &max_hkey) hkey 2046 fs/xfs/libxfs/xfs_btree.c max_hkey = hkey; hkey 2061 fs/xfs/libxfs/xfs_btree.c union xfs_btree_key *hkey; hkey 2072 fs/xfs/libxfs/xfs_btree.c hkey = xfs_btree_high_key_addr(cur, n, block); hkey 2073 fs/xfs/libxfs/xfs_btree.c if (cur->bc_ops->diff_two_keys(cur, hkey, max_hkey) > 0) hkey 2074 fs/xfs/libxfs/xfs_btree.c max_hkey = hkey; hkey 2128 fs/xfs/libxfs/xfs_btree.c union xfs_btree_key *hkey; hkey 2143 fs/xfs/libxfs/xfs_btree.c hkey = xfs_btree_high_key_from_key(cur, lkey); hkey 2161 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->diff_two_keys(cur, nhkey, hkey) != 0)) hkey 131 fs/xfs/scrub/btree.c union xfs_btree_key hkey; hkey 162 fs/xfs/scrub/btree.c cur->bc_ops->init_high_key_from_rec(&hkey, rec); hkey 164 fs/xfs/scrub/btree.c if (cur->bc_ops->diff_two_keys(cur, keyp, &hkey) < 0) hkey 1155 net/core/ethtool.c u8 *hkey = NULL; hkey 1197 net/core/ethtool.c hkey = rss_config + indir_bytes; hkey 1200 net/core/ethtool.c ret = dev->ethtool_ops->get_rxfh_context(dev, indir, hkey, hkey 1204 net/core/ethtool.c ret = dev->ethtool_ops->get_rxfh(dev, indir, hkey, &dev_hfunc); hkey 1231 net/core/ethtool.c u8 *hkey = NULL; hkey 1301 net/core/ethtool.c hkey = rss_config + indir_bytes; hkey 1302 net/core/ethtool.c if (copy_from_user(hkey, hkey 1311 net/core/ethtool.c ret = ops->set_rxfh_context(dev, indir, hkey, rxfh.hfunc, hkey 1314 net/core/ethtool.c ret = ops->set_rxfh(dev, indir, hkey, rxfh.hfunc);