Home
last modified time | relevance | path

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

/Linux-v5.10/block/
Dblk-crypto.c95 memcpy(bc->bc_dun, dun, sizeof(bc->bc_dun)); in bio_crypt_set_ctx()
139 bio_crypt_dun_increment(bc->bc_dun, in __bio_crypt_advance()
155 if (bc->bc_dun[i] + carry != next_dun[i]) in bio_crypt_dun_is_contiguous()
161 if ((bc->bc_dun[i] + carry) < carry) in bio_crypt_dun_is_contiguous()
200 return !bc1 || bio_crypt_dun_is_contiguous(bc1, bc1_bytes, bc2->bc_dun); in bio_crypt_ctx_mergeable()
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()
Dblk-crypto-fallback.c305 memcpy(curr_dun, bc->bc_dun, sizeof(curr_dun)); in blk_crypto_fallback_encrypt_bio()
407 memcpy(curr_dun, bc->bc_dun, sizeof(curr_dun)); in blk_crypto_fallback_decrypt_bio()
/Linux-v5.10/drivers/scsi/ufs/
Dufshcd-crypto.h22 lrbp->data_unit_num = rq->crypt_ctx->bc_dun[0]; in ufshcd_prepare_lrbp_crypto()
/Linux-v5.10/include/linux/
Dblk-crypto.h68 u64 bc_dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; member