Lines Matching refs:bio_in
48 struct bio *bio_in; member
654 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_lmk_gen()
672 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) in crypt_iv_lmk_post()
804 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_tcw_gen()
827 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_tcw_post()
996 struct bio *bio_out, struct bio *bio_in, in crypt_convert_init() argument
999 ctx->bio_in = bio_in; in crypt_convert_init()
1001 if (bio_in) in crypt_convert_init()
1002 ctx->iter_in = bio_in->bi_iter; in crypt_convert_init()
1073 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block_aead()
1121 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_aead()
1136 if (bio_data_dir(ctx->bio_in) == WRITE) { in crypt_convert_block_aead()
1156 bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); in crypt_convert_block_aead()
1167 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block_skcipher()
1206 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_skcipher()
1222 if (bio_data_dir(ctx->bio_in) == WRITE) in crypt_convert_block_skcipher()
1230 bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); in crypt_convert_block_skcipher()