Home
last modified time | relevance | path

Searched refs:blk_crypto_profile (Results 1 – 13 of 13) sorted by relevance

/linux/include/linux/
A Dblk-crypto-profile.h12 struct blk_crypto_profile;
37 int (*keyslot_program)(struct blk_crypto_profile *profile,
57 int (*keyslot_evict)(struct blk_crypto_profile *profile,
70 struct blk_crypto_profile { struct
132 int blk_crypto_profile_init(struct blk_crypto_profile *profile, argument
136 struct blk_crypto_profile *profile,
147 bool __blk_crypto_cfg_supported(struct blk_crypto_profile *profile,
150 int __blk_crypto_evict_key(struct blk_crypto_profile *profile,
158 const struct blk_crypto_profile *child);
161 const struct blk_crypto_profile *reference);
[all …]
A Dblkdev.h33 struct blk_crypto_profile;
263 struct blk_crypto_profile *crypto_profile;
1171 bool blk_crypto_register(struct blk_crypto_profile *profile,
1178 static inline bool blk_crypto_register(struct blk_crypto_profile *profile, in blk_crypto_register()
A Ddevice-mapper.h581 void dm_destroy_crypto_profile(struct blk_crypto_profile *profile);
/linux/block/
A Dblk-crypto-profile.c41 struct blk_crypto_profile *profile;
73 int blk_crypto_profile_init(struct blk_crypto_profile *profile, in blk_crypto_profile_init()
148 struct blk_crypto_profile *profile, in devm_blk_crypto_profile_init()
173 struct blk_crypto_profile *profile = slot->profile; in blk_crypto_remove_slot_from_lru_list()
182 blk_crypto_find_keyslot(struct blk_crypto_profile *profile, in blk_crypto_find_keyslot()
320 struct blk_crypto_profile *profile; in blk_crypto_put_keyslot()
373 int __blk_crypto_evict_key(struct blk_crypto_profile *profile, in __blk_crypto_evict_key()
454 bool blk_crypto_register(struct blk_crypto_profile *profile, in blk_crypto_register()
484 const struct blk_crypto_profile *child) in blk_crypto_intersect_capabilities()
511 const struct blk_crypto_profile *reference) in blk_crypto_has_capabilities()
[all …]
A Dblk-crypto-fallback.c81 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()
537 struct blk_crypto_profile *profile = &blk_crypto_fallback_profile; in blk_crypto_fallback_init()
A Dblk-crypto.c268 struct blk_crypto_profile *profile; in __blk_crypto_bio_prep()
/linux/drivers/mmc/host/
A Dcqhci-crypto.c26 cqhci_host_from_crypto_profile(struct blk_crypto_profile *profile) in cqhci_host_from_crypto_profile()
61 static int cqhci_crypto_keyslot_program(struct blk_crypto_profile *profile, in cqhci_crypto_keyslot_program()
119 static int cqhci_crypto_keyslot_evict(struct blk_crypto_profile *profile, in cqhci_crypto_keyslot_evict()
172 struct blk_crypto_profile *profile = &mmc->crypto_profile; in cqhci_crypto_init()
/linux/Documentation/block/
A Dinline-encryption.rst94 We also introduce ``struct blk_crypto_profile`` to contain all generic inline
96 blk_crypto_profile serves as the way that drivers for inline encryption hardware
99 wants to support inline encryption will construct a blk_crypto_profile, then
102 The blk_crypto_profile also manages the hardware's keyslots, when applicable.
107 Specifically, for each keyslot, the block layer (via the blk_crypto_profile)
166 blk-crypto-fallback also defines its own blk_crypto_profile and has its own
232 blk_crypto_profile in the request_queue of its device. To do this, it first
237 blk_crypto_profile, e.g. ``modes_supported`` and ``max_dun_bytes_supported``.
240 blk_crypto_profile to tell upper layers how to control the inline encryption
245 Once the driver registers a blk_crypto_profile with a request_queue, I/O
[all …]
/linux/drivers/scsi/ufs/
A Dufshcd-crypto.c51 static int ufshcd_crypto_keyslot_program(struct blk_crypto_profile *profile, in ufshcd_crypto_keyslot_program()
109 static int ufshcd_crypto_keyslot_evict(struct blk_crypto_profile *profile, in ufshcd_crypto_keyslot_evict()
A Dufshcd.h934 struct blk_crypto_profile crypto_profile;
/linux/drivers/md/
A Ddm-table.c1190 struct blk_crypto_profile profile;
1216 static int dm_keyslot_evict(struct blk_crypto_profile *profile, in dm_keyslot_evict()
1244 struct blk_crypto_profile *parent = data; in device_intersect_crypto_capabilities()
1245 struct blk_crypto_profile *child = in device_intersect_crypto_capabilities()
1252 void dm_destroy_crypto_profile(struct blk_crypto_profile *profile) in dm_destroy_crypto_profile()
1283 struct blk_crypto_profile *profile; in dm_table_construct_crypto_profile()
1372 void dm_destroy_crypto_profile(struct blk_crypto_profile *profile) in dm_destroy_crypto_profile()
A Ddm-core.h203 struct blk_crypto_profile *crypto_profile;
/linux/include/linux/mmc/
A Dhost.h498 struct blk_crypto_profile crypto_profile;

Completed in 31 milliseconds