Searched refs:blk_keyslot_manager (Results 1 – 12 of 12) sorted by relevance
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | keyslot-manager.h | 21 struct blk_keyslot_manager; 40 int (*keyslot_program)(struct blk_keyslot_manager *ksm, 43 int (*keyslot_evict)(struct blk_keyslot_manager *ksm, 46 int (*derive_raw_secret)(struct blk_keyslot_manager *ksm, 52 struct blk_keyslot_manager { struct 108 int blk_ksm_init(struct blk_keyslot_manager *ksm, unsigned int num_slots); argument 110 int devm_blk_ksm_init(struct device *dev, struct blk_keyslot_manager *ksm, 113 blk_status_t blk_ksm_get_slot_for_key(struct blk_keyslot_manager *ksm, 121 bool blk_ksm_crypto_cfg_supported(struct blk_keyslot_manager *ksm, 124 int blk_ksm_evict_key(struct blk_keyslot_manager *ksm, [all …]
|
| H A D | blkdev.h | 47 struct blk_keyslot_manager; 491 struct blk_keyslot_manager *ksm; 1857 bool blk_ksm_register(struct blk_keyslot_manager *ksm, struct request_queue *q); 1863 static inline bool blk_ksm_register(struct blk_keyslot_manager *ksm, in blk_ksm_register()
|
| H A D | device-mapper.h | 570 void dm_destroy_keyslot_manager(struct blk_keyslot_manager *ksm);
|
| /OK3568_Linux_fs/kernel/block/ |
| H A 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 …]
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/mmc/host/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ufs/ |
| H A D | ufshcd-crypto.c | 54 static int ufshcd_crypto_keyslot_program(struct blk_keyslot_manager *ksm, in ufshcd_crypto_keyslot_program() 111 static int ufshcd_crypto_keyslot_evict(struct blk_keyslot_manager *ksm, in ufshcd_crypto_keyslot_evict()
|
| H A D | ufshcd.h | 939 struct blk_keyslot_manager ksm;
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-table.c | 1220 struct blk_keyslot_manager ksm; 1246 static int dm_keyslot_evict(struct blk_keyslot_manager *ksm, in dm_keyslot_evict() 1308 static int dm_derive_raw_secret(struct blk_keyslot_manager *ksm, in dm_derive_raw_secret() 1355 struct blk_keyslot_manager *parent = data; in device_intersect_crypto_modes() 1356 struct blk_keyslot_manager *child = bdev_get_queue(dev->bdev)->ksm; in device_intersect_crypto_modes() 1362 void dm_destroy_keyslot_manager(struct blk_keyslot_manager *ksm) in dm_destroy_keyslot_manager() 1395 struct blk_keyslot_manager *ksm; in dm_table_construct_keyslot_manager() 1483 void dm_destroy_keyslot_manager(struct blk_keyslot_manager *ksm) in dm_destroy_keyslot_manager()
|
| H A D | dm-core.h | 174 struct blk_keyslot_manager *ksm;
|
| /OK3568_Linux_fs/kernel/Documentation/block/ |
| H A 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.
|
| /OK3568_Linux_fs/kernel/include/linux/mmc/ |
| H A D | host.h | 489 struct blk_keyslot_manager ksm;
|