Home
last modified time | relevance | path

Searched refs:blk_crypto_key (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/include/linux/
H A Dblk-crypto.h52 struct blk_crypto_key { struct
72 const struct blk_crypto_key *bc_key; argument
89 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key,
97 int blk_crypto_init_key(struct blk_crypto_key *blk_key,
104 int blk_crypto_start_using_key(const struct blk_crypto_key *key,
108 const struct blk_crypto_key *key);
H A Dkeyslot-manager.h41 const struct blk_crypto_key *key,
44 const struct blk_crypto_key *key,
114 const struct blk_crypto_key *key,
125 const struct blk_crypto_key *key);
/OK3568_Linux_fs/kernel/block/
H A Dkeyslot-manager.c43 const struct blk_crypto_key *key;
166 const struct blk_crypto_key *key) in blk_ksm_hash_bucket_for_key()
183 const struct blk_crypto_key *key) in blk_ksm_find_keyslot()
197 const struct blk_crypto_key *key) in blk_ksm_find_and_grab_keyslot()
234 const struct blk_crypto_key *key, in blk_ksm_get_slot_for_key()
368 const struct blk_crypto_key *key) in blk_ksm_evict_key()
424 const struct blk_crypto_key *key = ksm->slots[slot].key; in blk_ksm_reprogram_all_keys()
H A Dblk-crypto.c81 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, in bio_crypt_set_ctx()
267 const struct blk_crypto_key *bc_key = bio->bi_crypt_context->bc_key; in __blk_crypto_bio_prep()
325 int blk_crypto_init_key(struct blk_crypto_key *blk_key, in blk_crypto_init_key()
398 int blk_crypto_start_using_key(const struct blk_crypto_key *key, in blk_crypto_start_using_key()
425 const struct blk_crypto_key *key) in blk_crypto_evict_key()
H A Dblk-crypto-internal.h186 int blk_crypto_fallback_evict_key(const struct blk_crypto_key *key);
205 blk_crypto_fallback_evict_key(const struct blk_crypto_key *key) in blk_crypto_fallback_evict_key()
H A Dblk-crypto-fallback.c106 const struct blk_crypto_key *key, in blk_crypto_keyslot_program()
129 const struct blk_crypto_key *key, in blk_crypto_keyslot_evict()
525 int blk_crypto_fallback_evict_key(const struct blk_crypto_key *key) in blk_crypto_fallback_evict_key()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dcqhci-crypto.c61 const struct blk_crypto_key *key, in cqhci_crypto_keyslot_program()
119 const struct blk_crypto_key *key, in cqhci_crypto_keyslot_evict()
/OK3568_Linux_fs/kernel/drivers/scsi/ufs/
H A Dufshcd-crypto.c55 const struct blk_crypto_key *key, in ufshcd_crypto_keyslot_program()
112 const struct blk_crypto_key *key, in ufshcd_crypto_keyslot_evict()
/OK3568_Linux_fs/kernel/Documentation/block/
H A Dinline-encryption.rst144 ``struct blk_crypto_key`` represents a crypto key (the raw key, size of the
150 ``blk_crypto_key``.
155 crypto configuration). This function takes the ``blk_crypto_key`` and the
167 ``blk_crypto_key`` and a ``request_queue`` before using the key with any bio
175 ``blk_crypto_key`` is freed. Further, it *must* only be called only once
176 there are no more in-flight requests that use that ``blk_crypto_key``.
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-default-key.c50 struct blk_crypto_key key;
H A Ddm-table.c1225 const struct blk_crypto_key *key;
1247 const struct blk_crypto_key *key, unsigned int slot) in dm_keyslot_evict()
/OK3568_Linux_fs/kernel/fs/crypto/
H A Dinline_crypt.c26 struct blk_crypto_key base;