Searched refs:blk_keyslot_manager (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | keyslot-manager.h | 12 struct blk_keyslot_manager; 28 int (*keyslot_program)(struct blk_keyslot_manager *ksm, 31 int (*keyslot_evict)(struct blk_keyslot_manager *ksm, 36 struct blk_keyslot_manager { struct 86 int blk_ksm_init(struct blk_keyslot_manager *ksm, unsigned int num_slots); argument 88 blk_status_t blk_ksm_get_slot_for_key(struct blk_keyslot_manager *ksm, 96 bool blk_ksm_crypto_cfg_supported(struct blk_keyslot_manager *ksm, 99 int blk_ksm_evict_key(struct blk_keyslot_manager *ksm, 102 void blk_ksm_reprogram_all_keys(struct blk_keyslot_manager *ksm); 104 void blk_ksm_destroy(struct blk_keyslot_manager *ksm);
|
D | blkdev.h | 45 struct blk_keyslot_manager; 485 struct blk_keyslot_manager *ksm; 1860 bool blk_ksm_register(struct blk_keyslot_manager *ksm, struct request_queue *q); 1866 static inline bool blk_ksm_register(struct blk_keyslot_manager *ksm, in blk_ksm_register()
|
/kernel/linux/linux-5.10/block/ |
D | keyslot-manager.c | 43 struct blk_keyslot_manager *ksm; 46 static inline void blk_ksm_hw_enter(struct blk_keyslot_manager *ksm) in blk_ksm_hw_enter() 58 static inline void blk_ksm_hw_exit(struct blk_keyslot_manager *ksm) in blk_ksm_hw_exit() 75 int blk_ksm_init(struct blk_keyslot_manager *ksm, unsigned int num_slots) in blk_ksm_init() 131 blk_ksm_hash_bucket_for_key(struct blk_keyslot_manager *ksm, in blk_ksm_hash_bucket_for_key() 139 struct blk_keyslot_manager *ksm = slot->ksm; in blk_ksm_remove_slot_from_lru_list() 148 struct blk_keyslot_manager *ksm, in blk_ksm_find_keyslot() 162 struct blk_keyslot_manager *ksm, in blk_ksm_find_and_grab_keyslot() 199 blk_status_t blk_ksm_get_slot_for_key(struct blk_keyslot_manager *ksm, in blk_ksm_get_slot_for_key() 269 struct blk_keyslot_manager *ksm; in blk_ksm_put_slot() [all …]
|
D | blk-crypto-fallback.c | 80 static struct blk_keyslot_manager blk_crypto_ksm; 105 static int blk_crypto_keyslot_program(struct blk_keyslot_manager *ksm, in blk_crypto_keyslot_program() 128 static int blk_crypto_keyslot_evict(struct blk_keyslot_manager *ksm, in blk_crypto_keyslot_evict()
|
/kernel/linux/linux-5.10/drivers/scsi/ufs/ |
D | ufshcd-crypto.c | 51 static int ufshcd_crypto_keyslot_program(struct blk_keyslot_manager *ksm, in ufshcd_crypto_keyslot_program() 108 static int ufshcd_crypto_keyslot_evict(struct blk_keyslot_manager *ksm, in ufshcd_crypto_keyslot_evict()
|
D | ufshcd.h | 809 struct blk_keyslot_manager ksm;
|
/kernel/linux/linux-5.10/Documentation/block/ |
D | inline-encryption.rst | 183 A :c:type:``struct blk_keyslot_manager`` should be set up by device drivers in 185 ``blk_ksm_init`` on the ``blk_keyslot_manager``, which specifying the number of 192 must fill up after initing the ``blk_keyslot_manager``. 206 manager upon ``blk_ksm_init``, once the ``blk_keyslot_manager`` is no longer
|