Home
last modified time | relevance | path

Searched refs:bc_dun (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/block/
H A Dblk-crypto.c95 memcpy(bc->bc_dun, dun, sizeof(bc->bc_dun)); in bio_crypt_set_ctx()
140 bio_crypt_dun_increment(bc->bc_dun, in __bio_crypt_advance()
156 if (bc->bc_dun[i] + carry != next_dun[i]) in bio_crypt_dun_is_contiguous()
162 if ((bc->bc_dun[i] + carry) < carry) in bio_crypt_dun_is_contiguous()
201 return !bc1 || bio_crypt_dun_is_contiguous(bc1, bc1_bytes, bc2->bc_dun); in bio_crypt_ctx_mergeable()
H A Dblk-crypto-internal.h117 memcpy(rq->crypt_ctx->bc_dun, bio->bi_crypt_context->bc_dun, in bio_crypt_do_front_merge()
118 sizeof(rq->crypt_ctx->bc_dun)); in bio_crypt_do_front_merge()
H A Dblk-crypto-fallback.c307 memcpy(curr_dun, bc->bc_dun, sizeof(curr_dun)); in blk_crypto_fallback_encrypt_bio()
409 memcpy(curr_dun, bc->bc_dun, sizeof(curr_dun)); in blk_crypto_fallback_decrypt_bio()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dcqhci-crypto.h29 WARN_ON_ONCE(mrq->crypto_ctx->bc_dun[0] > U32_MAX); in cqhci_crypto_prep_task_desc()
33 mrq->crypto_ctx->bc_dun[0]; in cqhci_crypto_prep_task_desc()
/OK3568_Linux_fs/kernel/drivers/scsi/ufs/
H A Dufshcd-crypto.h22 lrbp->data_unit_num = rq->crypt_ctx->bc_dun[0]; in ufshcd_prepare_lrbp_crypto()
/OK3568_Linux_fs/kernel/include/linux/
H A Dblk-crypto.h73 u64 bc_dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; member