Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dblk-crypto.h120 struct bio_crypt_ctx { struct
135 static inline struct bio_crypt_ctx *bio_crypt_ctx(struct bio *bio) in bio_crypt_ctx() argument
144 bool bio_crypt_dun_is_contiguous(const struct bio_crypt_ctx *bc,
177 static inline struct bio_crypt_ctx *bio_crypt_ctx(struct bio *bio) in bio_crypt_ctx() function
H A Dblk_types.h22 struct bio_crypt_ctx;
263 struct bio_crypt_ctx *bi_crypt_context;
H A Dblk-mq.h166 struct bio_crypt_ctx *crypt_ctx;
/linux/block/
H A Dblk-crypto.c71 bio_crypt_ctx_cache = KMEM_CACHE(bio_crypt_ctx, 0); in bio_crypt_ctx_init()
104 struct bio_crypt_ctx *bc; in bio_crypt_set_ctx()
156 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in __bio_crypt_advance()
166 bool bio_crypt_dun_is_contiguous(const struct bio_crypt_ctx *bc, in bio_crypt_dun_is_contiguous()
194 static bool bio_crypt_ctx_compatible(struct bio_crypt_ctx *bc1, in bio_crypt_ctx_compatible()
195 struct bio_crypt_ctx *bc2) in bio_crypt_ctx_compatible()
213 bool bio_crypt_ctx_mergeable(struct bio_crypt_ctx *bc1, unsigned int bc1_bytes, in bio_crypt_ctx_mergeable()
214 struct bio_crypt_ctx *bc2) in bio_crypt_ctx_mergeable()
H A Dblk-crypto-fallback.c41 struct bio_crypt_ctx crypt_ctx;
244 struct bio_crypt_ctx *bc = src_bio->bi_crypt_context; in __blk_crypto_fallback_encrypt_bio()
357 struct bio_crypt_ctx *bc = src_bio->bi_crypt_context; in blk_crypto_fallback_encrypt_bio()
374 struct bio_crypt_ctx *bc, struct bvec_iter iter, in __blk_crypto_fallback_decrypt_bio()
426 struct bio_crypt_ctx *bc = &f_ctx->crypt_ctx; in blk_crypto_fallback_decrypt_bio()
491 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in blk_crypto_fallback_bio_prep()
H A Dblk-crypto-internal.h34 bool bio_crypt_ctx_mergeable(struct bio_crypt_ctx *bc1, unsigned int bc1_bytes,
35 struct bio_crypt_ctx *bc2);
H A Dblk-merge.c340 struct bio_crypt_ctx *bc = bio_crypt_ctx(bio); in bio_split_io_at()
/linux/include/scsi/
H A Dscsi_eh.h47 struct bio_crypt_ctx *rq_crypt_ctx;
/linux/drivers/ufs/core/
H A Dufshcd-crypto.h43 const struct bio_crypt_ctx *crypt_ctx = scsi_cmd_to_rq(cmd)->crypt_ctx; in ufshcd_crypto_fill_prdt()
/linux/drivers/md/
H A Ddm-io-rewind.c96 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in dm_bio_crypt_rewind()
/linux/include/linux/mmc/
H A Dcore.h172 const struct bio_crypt_ctx *crypto_ctx;
/linux/fs/crypto/
H A Dinline_crypt.c386 const struct bio_crypt_ctx *bc = bio->bi_crypt_context; in fscrypt_mergeable_bio()
/linux/Documentation/block/
H A 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/include/ufs/
H A Dufshcd.h371 const struct bio_crypt_ctx *crypt_ctx,
/linux/drivers/ufs/host/
H A Dufs-exynos.c1392 const struct bio_crypt_ctx *crypt_ctx, in exynos_ufs_fmp_fill_prdt()