Searched refs:blk_keyslot_manager (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.15/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 int devm_blk_ksm_init(struct device *dev, struct blk_keyslot_manager *ksm, 91 blk_status_t blk_ksm_get_slot_for_key(struct blk_keyslot_manager *ksm, 99 bool blk_ksm_crypto_cfg_supported(struct blk_keyslot_manager *ksm, 102 int blk_ksm_evict_key(struct blk_keyslot_manager *ksm, 105 void blk_ksm_reprogram_all_keys(struct blk_keyslot_manager *ksm); [all …]
|
D | blkdev.h | 40 struct blk_keyslot_manager; 448 struct blk_keyslot_manager *ksm; 1816 bool blk_ksm_register(struct blk_keyslot_manager *ksm, struct request_queue *q); 1822 static inline bool blk_ksm_register(struct blk_keyslot_manager *ksm, in blk_ksm_register()
|
D | device-mapper.h | 581 void dm_destroy_keyslot_manager(struct blk_keyslot_manager *ksm);
|
/Linux-v5.15/block/ |
D | keyslot-manager.c | 44 struct blk_keyslot_manager *ksm; 47 static inline void blk_ksm_hw_enter(struct blk_keyslot_manager *ksm) in blk_ksm_hw_enter() 59 static inline void blk_ksm_hw_exit(struct blk_keyslot_manager *ksm) in blk_ksm_hw_exit() 66 static inline bool blk_ksm_is_passthrough(struct blk_keyslot_manager *ksm) in blk_ksm_is_passthrough() 81 int blk_ksm_init(struct blk_keyslot_manager *ksm, unsigned int num_slots) in blk_ksm_init() 152 int devm_blk_ksm_init(struct device *dev, struct blk_keyslot_manager *ksm, in devm_blk_ksm_init() 165 blk_ksm_hash_bucket_for_key(struct blk_keyslot_manager *ksm, in blk_ksm_hash_bucket_for_key() 173 struct blk_keyslot_manager *ksm = slot->ksm; in blk_ksm_remove_slot_from_lru_list() 182 struct blk_keyslot_manager *ksm, in blk_ksm_find_keyslot() 196 struct blk_keyslot_manager *ksm, in blk_ksm_find_and_grab_keyslot() [all …]
|
D | blk-crypto-fallback.c | 80 static struct blk_keyslot_manager blk_crypto_ksm; 106 static int blk_crypto_keyslot_program(struct blk_keyslot_manager *ksm, in blk_crypto_keyslot_program() 129 static int blk_crypto_keyslot_evict(struct blk_keyslot_manager *ksm, in blk_crypto_keyslot_evict()
|
/Linux-v5.15/drivers/mmc/host/ |
D | cqhci-crypto.c | 26 cqhci_host_from_ksm(struct blk_keyslot_manager *ksm) in cqhci_host_from_ksm() 60 static int cqhci_crypto_keyslot_program(struct blk_keyslot_manager *ksm, in cqhci_crypto_keyslot_program() 118 static int cqhci_crypto_keyslot_evict(struct blk_keyslot_manager *ksm, in cqhci_crypto_keyslot_evict() 171 struct blk_keyslot_manager *ksm = &mmc->ksm; in cqhci_crypto_init()
|
/Linux-v5.15/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 | 914 struct blk_keyslot_manager ksm;
|
/Linux-v5.15/drivers/md/ |
D | dm-core.h | 203 struct blk_keyslot_manager *ksm;
|
D | dm-table.c | 1190 struct blk_keyslot_manager ksm; 1216 static int dm_keyslot_evict(struct blk_keyslot_manager *ksm, in dm_keyslot_evict() 1250 struct blk_keyslot_manager *parent = data; in device_intersect_crypto_modes() 1251 struct blk_keyslot_manager *child = bdev_get_queue(dev->bdev)->ksm; in device_intersect_crypto_modes() 1257 void dm_destroy_keyslot_manager(struct blk_keyslot_manager *ksm) in dm_destroy_keyslot_manager() 1290 struct blk_keyslot_manager *ksm; in dm_table_construct_keyslot_manager() 1376 void dm_destroy_keyslot_manager(struct blk_keyslot_manager *ksm) in dm_destroy_keyslot_manager()
|
/Linux-v5.15/Documentation/block/ |
D | inline-encryption.rst | 183 A :c:type:``struct blk_keyslot_manager`` should be set up by device drivers in 186 ``blk_keyslot_manager``, while specifying the number of keyslots supported by 193 must fill up after initing the ``blk_keyslot_manager``. 208 ``blk_keyslot_manager`` once it is no longer needed.
|
/Linux-v5.15/include/linux/mmc/ |
D | host.h | 495 struct blk_keyslot_manager ksm;
|