Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/block/
Dblk-crypto-fallback.c92 struct blk_crypto_keyslot *slotp = &blk_crypto_keyslots[slot]; in blk_crypto_evict_keyslot() local
93 enum blk_crypto_mode_num crypto_mode = slotp->crypto_mode; in blk_crypto_evict_keyslot()
96 WARN_ON(slotp->crypto_mode == BLK_ENCRYPTION_MODE_INVALID); in blk_crypto_evict_keyslot()
99 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], blank_key, in blk_crypto_evict_keyslot()
102 slotp->crypto_mode = BLK_ENCRYPTION_MODE_INVALID; in blk_crypto_evict_keyslot()
109 struct blk_crypto_keyslot *slotp = &blk_crypto_keyslots[slot]; in blk_crypto_keyslot_program() local
114 if (crypto_mode != slotp->crypto_mode && in blk_crypto_keyslot_program()
115 slotp->crypto_mode != BLK_ENCRYPTION_MODE_INVALID) in blk_crypto_keyslot_program()
118 slotp->crypto_mode = crypto_mode; in blk_crypto_keyslot_program()
119 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], key->raw, in blk_crypto_keyslot_program()
[all …]
Dkeyslot-manager.c152 struct blk_ksm_keyslot *slotp; in blk_ksm_find_keyslot() local
154 hlist_for_each_entry(slotp, head, hash_node) { in blk_ksm_find_keyslot()
155 if (slotp->key == key) in blk_ksm_find_keyslot()
156 return slotp; in blk_ksm_find_keyslot()
/kernel/linux/linux-5.10/lib/
Dradix-tree.c598 void __rcu ***slotp) in __radix_tree_create() argument
640 if (slotp) in __radix_tree_create()
641 *slotp = slot; in __radix_tree_create()
747 void __rcu ***slotp) in __radix_tree_lookup() argument
774 if (slotp) in __radix_tree_lookup()
775 *slotp = slot; in __radix_tree_lookup()
/kernel/linux/linux-5.10/include/linux/
Dradix-tree.h220 struct radix_tree_node **nodep, void __rcu ***slotp);
/kernel/linux/linux-5.10/drivers/md/
Draid10.c325 struct bio *bio, int *slotp, int *replp) in find_bio_disk() argument
342 if (slotp) in find_bio_disk()
343 *slotp = slot; in find_bio_disk()