Searched refs:crypt_ctx (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/block/ |
A D | blk-crypto-internal.h | 39 return bio_crypt_ctx_mergeable(req->crypt_ctx, blk_rq_bytes(req), in bio_crypt_ctx_back_mergeable() 47 bio->bi_iter.bi_size, req->crypt_ctx); in bio_crypt_ctx_front_mergeable() 53 return bio_crypt_ctx_mergeable(req->crypt_ctx, blk_rq_bytes(req), in bio_crypt_ctx_merge_rq() 54 next->crypt_ctx); in bio_crypt_ctx_merge_rq() 59 rq->crypt_ctx = NULL; in blk_crypto_rq_set_defaults() 65 return rq->crypt_ctx; in blk_crypto_rq_is_encrypted() 143 memcpy(rq->crypt_ctx->bc_dun, bio->bi_crypt_context->bc_dun, in bio_crypt_do_front_merge() 144 sizeof(rq->crypt_ctx->bc_dun)); in bio_crypt_do_front_merge()
|
A D | blk-crypto.c | 194 return bio_crypt_ctx_compatible(rq->crypt_ctx, bio->bi_crypt_context); in bio_crypt_rq_ctx_compatible() 230 rq->crypt_ctx->bc_key, in __blk_crypto_init_request() 246 mempool_free(rq->crypt_ctx, bio_crypt_ctx_pool); in __blk_crypto_free_request() 305 if (!rq->crypt_ctx) { in __blk_crypto_rq_bio_prep() 306 rq->crypt_ctx = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in __blk_crypto_rq_bio_prep() 307 if (!rq->crypt_ctx) in __blk_crypto_rq_bio_prep() 310 *rq->crypt_ctx = *bio->bi_crypt_context; in __blk_crypto_rq_bio_prep()
|
A D | blk-crypto-fallback.c | 41 struct bio_crypt_ctx crypt_ctx; member 381 struct bio_crypt_ctx *bc = &f_ctx->crypt_ctx; in blk_crypto_fallback_decrypt_bio() 516 f_ctx->crypt_ctx = *bc; in blk_crypto_fallback_bio_prep()
|
/linux-6.3-rc2/drivers/mmc/core/ |
A D | crypto.c | 35 if (!req->crypt_ctx) in mmc_crypto_prepare_req() 38 mrq->crypto_ctx = req->crypt_ctx; in mmc_crypto_prepare_req()
|
/linux-6.3-rc2/drivers/ufs/core/ |
A D | ufshcd-crypto.h | 25 lrbp->data_unit_num = rq->crypt_ctx->bc_dun[0]; in ufshcd_prepare_lrbp_crypto()
|
/linux-6.3-rc2/include/linux/ |
A D | blk-mq.h | 140 struct bio_crypt_ctx *crypt_ctx; member
|
Completed in 16 milliseconds