Home
last modified time | relevance | path

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

/Linux-v5.10/block/
Dblk-crypto.c57 bio_crypt_ctx_cache = KMEM_CACHE(bio_crypt_ctx, 0); in bio_crypt_ctx_init()
84 struct bio_crypt_ctx *bc; in bio_crypt_set_ctx()
137 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in __bio_crypt_advance()
147 bool bio_crypt_dun_is_contiguous(const struct bio_crypt_ctx *bc, in bio_crypt_dun_is_contiguous()
175 static bool bio_crypt_ctx_compatible(struct bio_crypt_ctx *bc1, in bio_crypt_ctx_compatible()
176 struct bio_crypt_ctx *bc2) in bio_crypt_ctx_compatible()
194 bool bio_crypt_ctx_mergeable(struct bio_crypt_ctx *bc1, unsigned int bc1_bytes, in bio_crypt_ctx_mergeable()
195 struct bio_crypt_ctx *bc2) in bio_crypt_ctx_mergeable()
Dblk-crypto-internal.h28 bool bio_crypt_ctx_mergeable(struct bio_crypt_ctx *bc1, unsigned int bc1_bytes,
29 struct bio_crypt_ctx *bc2);
Dblk-crypto-fallback.c40 struct bio_crypt_ctx crypt_ctx;
262 struct bio_crypt_ctx *bc; in blk_crypto_fallback_encrypt_bio()
378 struct bio_crypt_ctx *bc = &f_ctx->crypt_ctx; in blk_crypto_fallback_decrypt_bio()
489 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in blk_crypto_fallback_bio_prep()
/Linux-v5.10/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.h20 struct bio_crypt_ctx;
237 struct bio_crypt_ctx *bi_crypt_context;
Dblkdev.h225 struct bio_crypt_ctx *crypt_ctx;
/Linux-v5.10/fs/crypto/
Dinline_crypt.c323 const struct bio_crypt_ctx *bc = bio->bi_crypt_context; in fscrypt_mergeable_bio()
/Linux-v5.10/Documentation/block/
Dinline-encryption.rst55 We add a struct bio_crypt_ctx to struct bio that can