Lines Matching refs:bi_crypt_context
100 bio->bi_crypt_context = bc; in bio_crypt_set_ctx()
105 mempool_free(bio->bi_crypt_context, bio_crypt_ctx_pool); in __bio_crypt_free_ctx()
106 bio->bi_crypt_context = NULL; in __bio_crypt_free_ctx()
111 dst->bi_crypt_context = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in __bio_crypt_clone()
112 if (!dst->bi_crypt_context) in __bio_crypt_clone()
114 *dst->bi_crypt_context = *src->bi_crypt_context; in __bio_crypt_clone()
139 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in __bio_crypt_advance()
188 return bio_crypt_ctx_compatible(rq->crypt_ctx, bio->bi_crypt_context); in bio_crypt_rq_ctx_compatible()
209 bio->bi_crypt_context->bc_key->crypto_cfg.data_unit_size; in bio_crypt_check_alignment()
269 const struct blk_crypto_key *bc_key = bio->bi_crypt_context->bc_key; in __blk_crypto_bio_prep()
306 *rq->crypt_ctx = *bio->bi_crypt_context; in __blk_crypto_rq_bio_prep()