Searched refs:blk_crypto_profile (Results 1 – 9 of 9) sorted by relevance
| /linux/include/linux/ |
| H A D | blk-crypto-profile.h | 12 struct blk_crypto_profile; 37 int (*keyslot_program)(struct blk_crypto_profile *profile, 57 int (*keyslot_evict)(struct blk_crypto_profile *profile, 71 int (*derive_sw_secret)(struct blk_crypto_profile *profile, 85 int (*import_key)(struct blk_crypto_profile *profile, 99 int (*generate_key)(struct blk_crypto_profile *profile, 113 int (*prepare_key)(struct blk_crypto_profile *profile, 126 struct blk_crypto_profile { struct 195 int blk_crypto_profile_init(struct blk_crypto_profile *profile, argument 199 struct blk_crypto_profile *profile, [all …]
|
| /linux/block/ |
| H A D | blk-crypto-profile.c | 42 struct blk_crypto_profile *profile; 45 static inline void blk_crypto_hw_enter(struct blk_crypto_profile *profile) in blk_crypto_hw_enter() 57 static inline void blk_crypto_hw_exit(struct blk_crypto_profile *profile) in blk_crypto_hw_exit() 74 int blk_crypto_profile_init(struct blk_crypto_profile *profile, in blk_crypto_profile_init() 154 struct blk_crypto_profile *profile, in devm_blk_crypto_profile_init() 169 blk_crypto_hash_bucket_for_key(struct blk_crypto_profile *profile, in blk_crypto_hash_bucket_for_key() 179 struct blk_crypto_profile *profile = slot->profile; in blk_crypto_remove_slot_from_lru_list() 188 blk_crypto_find_keyslot(struct blk_crypto_profile *profile, in blk_crypto_find_keyslot() 203 blk_crypto_find_and_grab_keyslot(struct blk_crypto_profile *profile, in blk_crypto_find_and_grab_keyslot() 246 blk_status_t blk_crypto_get_keyslot(struct blk_crypto_profile *profile, in blk_crypto_get_keyslot() [all …]
|
| H A D | blk-crypto-sysfs.c | 15 struct blk_crypto_profile *profile; 20 ssize_t (*show)(struct blk_crypto_profile *profile, 24 static struct blk_crypto_profile *kobj_to_crypto_profile(struct kobject *kobj) in kobj_to_crypto_profile() 34 static ssize_t hw_wrapped_keys_show(struct blk_crypto_profile *profile, in hw_wrapped_keys_show() 41 static ssize_t max_dun_bits_show(struct blk_crypto_profile *profile, in max_dun_bits_show() 47 static ssize_t num_keyslots_show(struct blk_crypto_profile *profile, in num_keyslots_show() 53 static ssize_t raw_keys_show(struct blk_crypto_profile *profile, in raw_keys_show() 71 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj); in blk_crypto_is_visible() 107 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj); in blk_crypto_mode_is_visible() 116 static ssize_t blk_crypto_mode_show(struct blk_crypto_profile *profile, in blk_crypto_mode_show() [all …]
|
| H A D | blk-crypto-fallback.c | 81 static struct blk_crypto_profile *blk_crypto_fallback_profile; 108 blk_crypto_fallback_keyslot_program(struct blk_crypto_profile *profile, in blk_crypto_fallback_keyslot_program() 131 static int blk_crypto_fallback_keyslot_evict(struct blk_crypto_profile *profile, in blk_crypto_fallback_keyslot_evict()
|
| /linux/drivers/mmc/host/ |
| H A D | cqhci-crypto.c | 26 cqhci_host_from_crypto_profile(struct blk_crypto_profile *profile) in cqhci_host_from_crypto_profile() 54 static int cqhci_crypto_keyslot_program(struct blk_crypto_profile *profile, in cqhci_crypto_keyslot_program() 112 static int cqhci_crypto_keyslot_evict(struct blk_crypto_profile *profile, in cqhci_crypto_keyslot_evict() 165 struct blk_crypto_profile *profile = &mmc->crypto_profile; in cqhci_crypto_init()
|
| /linux/drivers/md/ |
| H A D | dm-table.c | 1140 struct blk_crypto_profile profile; 1157 static int dm_keyslot_evict(struct blk_crypto_profile *profile, in dm_keyslot_evict() 1220 struct blk_crypto_profile *profile = in dm_wrappedkey_op_callback() 1253 static int dm_exec_wrappedkey_op(struct blk_crypto_profile *profile, in dm_exec_wrappedkey_op() 1290 static int dm_derive_sw_secret(struct blk_crypto_profile *profile, in dm_derive_sw_secret() 1305 static int dm_import_key(struct blk_crypto_profile *profile, in dm_import_key() 1320 static int dm_generate_key(struct blk_crypto_profile *profile, in dm_generate_key() 1332 static int dm_prepare_key(struct blk_crypto_profile *profile, in dm_prepare_key() 1351 struct blk_crypto_profile *parent = data; in device_intersect_crypto_capabilities() 1352 struct blk_crypto_profile *child = in device_intersect_crypto_capabilities() [all …]
|
| /linux/drivers/ufs/core/ |
| H A D | ufshcd-crypto.c | 43 static int ufshcd_crypto_keyslot_program(struct blk_crypto_profile *profile, in ufshcd_crypto_keyslot_program() 88 static int ufshcd_crypto_keyslot_evict(struct blk_crypto_profile *profile, in ufshcd_crypto_keyslot_evict()
|
| /linux/include/linux/mmc/ |
| H A D | host.h | 572 struct blk_crypto_profile crypto_profile; 608 mmc_from_crypto_profile(struct blk_crypto_profile *profile) in mmc_from_crypto_profile()
|
| /linux/include/ufs/ |
| H A D | ufshcd.h | 659 * enabled, the standard code won't initialize the blk_crypto_profile; 1086 struct blk_crypto_profile crypto_profile; 1199 ufs_hba_from_crypto_profile(struct blk_crypto_profile *profile) in ufs_hba_from_crypto_profile()
|