Home
last modified time | relevance | path

Searched refs:crypt_ctx (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/ufs/core/
H A Dufshcd-crypto.h25 lrbp->data_unit_num = rq->crypt_ctx->bc_dun[0]; in ufshcd_prepare_lrbp_crypto()
43 const struct bio_crypt_ctx *crypt_ctx = scsi_cmd_to_rq(cmd)->crypt_ctx; in ufshcd_crypto_fill_prdt() local
46 if (crypt_ctx && hba->vops && hba->vops->fill_crypto_prdt) in ufshcd_crypto_fill_prdt()
47 return hba->vops->fill_crypto_prdt(hba, crypt_ctx, in ufshcd_crypto_fill_prdt()
61 if (!(scsi_cmd_to_rq(cmd)->crypt_ctx)) in ufshcd_crypto_clear_prdt()
/linux/drivers/mmc/core/
H A Dcrypto.c35 if (!req->crypt_ctx) in mmc_crypto_prepare_req()
38 mrq->crypto_ctx = req->crypt_ctx; in mmc_crypto_prepare_req()
/linux/block/
H A Dblk-crypto-fallback.c41 struct bio_crypt_ctx crypt_ctx; member
426 struct bio_crypt_ctx *bc = &f_ctx->crypt_ctx; in blk_crypto_fallback_decrypt_bio()
517 f_ctx->crypt_ctx = *bc; in blk_crypto_fallback_bio_prep()
/linux/drivers/scsi/
H A Dscsi_error.c1135 ses->rq_crypt_ctx = rq->crypt_ctx; in scsi_eh_prep_cmnd()
1138 rq->crypt_ctx = NULL; in scsi_eh_prep_cmnd()
1177 rq->crypt_ctx = ses->rq_crypt_ctx; in scsi_eh_restore_cmnd()
/linux/include/ufs/
H A Dufshcd.h371 const struct bio_crypt_ctx *crypt_ctx,