Home
last modified time | relevance | path

Searched refs:bio_crypt_ctx (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/block/
Dblk-crypto.c60 bio_crypt_ctx_cache = KMEM_CACHE(bio_crypt_ctx, 0); in bio_crypt_ctx_init()
87 struct bio_crypt_ctx *bc; in bio_crypt_set_ctx()
139 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in __bio_crypt_advance()
149 bool bio_crypt_dun_is_contiguous(const struct bio_crypt_ctx *bc, in bio_crypt_dun_is_contiguous()
177 static bool bio_crypt_ctx_compatible(struct bio_crypt_ctx *bc1, in bio_crypt_ctx_compatible()
178 struct bio_crypt_ctx *bc2) in bio_crypt_ctx_compatible()
196 bool bio_crypt_ctx_mergeable(struct bio_crypt_ctx *bc1, unsigned int bc1_bytes, in bio_crypt_ctx_mergeable()
197 struct bio_crypt_ctx *bc2) in bio_crypt_ctx_mergeable()
Dblk-crypto-internal.h33 bool bio_crypt_ctx_mergeable(struct bio_crypt_ctx *bc1, unsigned int bc1_bytes,
34 struct bio_crypt_ctx *bc2);
Dblk-crypto-fallback.c41 struct bio_crypt_ctx crypt_ctx;
264 struct bio_crypt_ctx *bc; in blk_crypto_fallback_encrypt_bio()
381 struct bio_crypt_ctx *bc = &f_ctx->crypt_ctx; in blk_crypto_fallback_decrypt_bio()
493 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in blk_crypto_fallback_bio_prep()
/Linux-v6.1/include/linux/
Dblk-crypto.h66 struct bio_crypt_ctx { struct
88 bool bio_crypt_dun_is_contiguous(const struct bio_crypt_ctx *bc, argument
Dblk_types.h21 struct bio_crypt_ctx;
283 struct bio_crypt_ctx *bi_crypt_context;
Dblk-mq.h139 struct bio_crypt_ctx *crypt_ctx;
/Linux-v6.1/include/linux/mmc/
Dcore.h167 const struct bio_crypt_ctx *crypto_ctx;
/Linux-v6.1/drivers/md/
Ddm-io-rewind.c97 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in dm_bio_crypt_rewind()
/Linux-v6.1/Documentation/block/
Dinline-encryption.rst85 We introduce ``struct bio_crypt_ctx`` to represent an encryption context. It
87 to a bio_crypt_ctx to ``struct bio`` and ``struct request``; this allows users
118 ``struct request`` also contains a pointer to the original bio_crypt_ctx.
204 ``bio_crypt_set_ctx()``. This function allocates a bio_crypt_ctx and attaches
206 for en/decryption. Users don't need to worry about freeing the bio_crypt_ctx
/Linux-v6.1/fs/crypto/
Dinline_crypt.c354 const struct bio_crypt_ctx *bc = bio->bi_crypt_context; in fscrypt_mergeable_bio()