/kernel/linux/linux-5.10/block/ |
H A D | blk-crypto-fallback.c | 92 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 in blk_crypto_keyslot_program() 191 const struct blk_crypto_keyslot *slotp; blk_crypto_alloc_cipher_req() local 603 struct blk_crypto_keyslot *slotp; blk_crypto_fallback_start_using_mode() local [all...] |
H A D | keyslot-manager.c | 152 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-6.6/block/ |
H A D | blk-crypto-fallback.c | 94 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 in blk_crypto_fallback_keyslot_program() 192 const struct blk_crypto_fallback_keyslot *slotp; blk_crypto_fallback_alloc_cipher_req() local 624 struct blk_crypto_fallback_keyslot *slotp; blk_crypto_fallback_start_using_mode() local [all...] |
H A D | blk-crypto-profile.c | 195 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()
|
/kernel/linux/linux-5.10/lib/ |
H A D | radix-tree.c | 585 * @slotp: returns slot 598 void __rcu ***slotp) in __radix_tree_create() 640 if (slotp) in __radix_tree_create() 641 *slotp = slot; in __radix_tree_create() 736 * @slotp: returns slot 747 void __rcu ***slotp) in __radix_tree_lookup() 774 if (slotp) in __radix_tree_lookup() 775 *slotp = slot; in __radix_tree_lookup() 596 __radix_tree_create(struct radix_tree_root *root, unsigned long index, struct radix_tree_node **nodep, void __rcu ***slotp) __radix_tree_create() argument 745 __radix_tree_lookup(const struct radix_tree_root *root, unsigned long index, struct radix_tree_node **nodep, void __rcu ***slotp) __radix_tree_lookup() argument
|
/kernel/linux/linux-6.6/lib/ |
H A D | radix-tree.c | 587 * @slotp: returns slot 600 void __rcu ***slotp) in __radix_tree_create() 642 if (slotp) in __radix_tree_create() 643 *slotp = slot; in __radix_tree_create() 738 * @slotp: returns slot 749 void __rcu ***slotp) in __radix_tree_lookup() 776 if (slotp) in __radix_tree_lookup() 777 *slotp = slot; in __radix_tree_lookup() 598 __radix_tree_create(struct radix_tree_root *root, unsigned long index, struct radix_tree_node **nodep, void __rcu ***slotp) __radix_tree_create() argument 747 __radix_tree_lookup(const struct radix_tree_root *root, unsigned long index, struct radix_tree_node **nodep, void __rcu ***slotp) __radix_tree_lookup() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | radix-tree.h | 220 struct radix_tree_node **nodep, void __rcu ***slotp);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | radix-tree.h | 222 struct radix_tree_node **nodep, void __rcu ***slotp);
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid10.c | 325 struct bio *bio, int *slotp, int *replp) in find_bio_disk() 342 if (slotp) in find_bio_disk() 343 *slotp = slot; in find_bio_disk() 324 find_bio_disk(struct r10conf *conf, struct r10bio *r10_bio, struct bio *bio, int *slotp, int *replp) find_bio_disk() argument
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid10.c | 353 struct bio *bio, int *slotp, int *replp) in find_bio_disk() 369 if (slotp) in find_bio_disk() 370 *slotp = slot; in find_bio_disk() 352 find_bio_disk(struct r10conf *conf, struct r10bio *r10_bio, struct bio *bio, int *slotp, int *replp) find_bio_disk() argument
|