Lines Matching defs:bc
262 struct bio_crypt_ctx *bc;
279 bc = src_bio->bi_crypt_context;
280 data_unit_size = bc->bc_key->crypto_cfg.data_unit_size;
293 blk_st = blk_ksm_get_slot_for_key(&blk_crypto_ksm, bc->bc_key, &slot);
305 memcpy(curr_dun, bc->bc_dun, sizeof(curr_dun));
378 struct bio_crypt_ctx *bc = &f_ctx->crypt_ctx;
387 const int data_unit_size = bc->bc_key->crypto_cfg.data_unit_size;
395 blk_st = blk_ksm_get_slot_for_key(&blk_crypto_ksm, bc->bc_key, &slot);
407 memcpy(curr_dun, bc->bc_dun, sizeof(curr_dun));
489 struct bio_crypt_ctx *bc = bio->bi_crypt_context;
492 if (WARN_ON_ONCE(!tfms_inited[bc->bc_key->crypto_cfg.crypto_mode])) {
499 &bc->bc_key->crypto_cfg)) {
512 f_ctx->crypt_ctx = *bc;