Home
last modified time | relevance | path

Searched refs:slotp (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/block/
H A Dblk-crypto-fallback.c94 struct blk_crypto_fallback_keyslot *slotp = &blk_crypto_keyslots[slot]; in blk_crypto_fallback_evict_keyslot() local
95 enum blk_crypto_mode_num crypto_mode = slotp->crypto_mode; in blk_crypto_fallback_evict_keyslot()
98 WARN_ON(slotp->crypto_mode == BLK_ENCRYPTION_MODE_INVALID); in blk_crypto_fallback_evict_keyslot()
101 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], blank_key, in blk_crypto_fallback_evict_keyslot()
104 slotp->crypto_mode = BLK_ENCRYPTION_MODE_INVALID; in blk_crypto_fallback_evict_keyslot()
112 struct blk_crypto_fallback_keyslot *slotp = &blk_crypto_keyslots[slot]; in blk_crypto_fallback_keyslot_program() local
117 if (crypto_mode != slotp->crypto_mode && in blk_crypto_fallback_keyslot_program()
118 slotp->crypto_mode != BLK_ENCRYPTION_MODE_INVALID) in blk_crypto_fallback_keyslot_program()
121 slotp->crypto_mode = crypto_mode; in blk_crypto_fallback_keyslot_program()
122 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], key->raw, in blk_crypto_fallback_keyslot_program()
[all …]
H A Dblk-crypto-profile.c195 struct blk_crypto_keyslot *slotp; in blk_crypto_find_keyslot() local
197 hlist_for_each_entry(slotp, head, hash_node) { in blk_crypto_find_keyslot()
198 if (slotp->key == key) in blk_crypto_find_keyslot()
199 return slotp; in blk_crypto_find_keyslot()
/openbmc/linux/lib/
H A Dradix-tree.c600 void __rcu ***slotp) in __radix_tree_create() argument
642 if (slotp) in __radix_tree_create()
643 *slotp = slot; in __radix_tree_create()
749 void __rcu ***slotp) in __radix_tree_lookup() argument
776 if (slotp) in __radix_tree_lookup()
777 *slotp = slot; in __radix_tree_lookup()
/openbmc/linux/include/linux/
H A Dradix-tree.h222 struct radix_tree_node **nodep, void __rcu ***slotp);
/openbmc/qemu/hw/pci/
H A Dpci.c810 unsigned int *slotp, unsigned int *funcp) in pci_parse_devaddr() argument
862 *slotp = slot; in pci_parse_devaddr()
/openbmc/linux/drivers/md/
H A Draid10.c353 struct bio *bio, int *slotp, int *replp) in find_bio_disk() argument
369 if (slotp) in find_bio_disk()
370 *slotp = slot; in find_bio_disk()