Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A Dblk-crypto.c105 memcpy(bc->bc_dun, dun, sizeof(bc->bc_dun)); in bio_crypt_set_ctx()
148 bio_crypt_dun_increment(bc->bc_dun, in __bio_crypt_advance()
164 if (bc->bc_dun[i] + carry != next_dun[i]) in bio_crypt_dun_is_contiguous()
170 if ((bc->bc_dun[i] + carry) < carry) in bio_crypt_dun_is_contiguous()
209 return !bc1 || bio_crypt_dun_is_contiguous(bc1, bc1_bytes, bc2->bc_dun); in bio_crypt_ctx_mergeable()
H A Dblk-crypto-internal.h153 memcpy(rq->crypt_ctx->bc_dun, bio->bi_crypt_context->bc_dun, in bio_crypt_do_front_merge()
154 sizeof(rq->crypt_ctx->bc_dun)); in bio_crypt_do_front_merge()
H A Dblk-crypto-fallback.c308 memcpy(curr_dun, bc->bc_dun, sizeof(curr_dun)); in blk_crypto_fallback_encrypt_bio()
411 memcpy(curr_dun, bc->bc_dun, sizeof(curr_dun)); in blk_crypto_fallback_decrypt_bio()
/openbmc/linux/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()
/openbmc/linux/drivers/ufs/core/
H A Dufshcd-crypto.h25 lrbp->data_unit_num = rq->crypt_ctx->bc_dun[0]; in ufshcd_prepare_lrbp_crypto()
/openbmc/linux/include/linux/
H A Dblk-crypto.h69 u64 bc_dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; member
/openbmc/linux/drivers/md/
H A Ddm-io-rewind.c98 dm_bio_crypt_dun_decrement(bc->bc_dun, in dm_bio_crypt_rewind()