Lines Matching refs:bio_in
55 struct bio *bio_in; member
536 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_lmk_gen()
554 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) in crypt_iv_lmk_post()
686 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_tcw_gen()
709 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_tcw_post()
992 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant()
999 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_elephant()
1009 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant()
1029 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant_gen()
1041 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_elephant_post()
1223 struct bio *bio_out, struct bio *bio_in, in crypt_convert_init() argument
1226 ctx->bio_in = bio_in; in crypt_convert_init()
1228 if (bio_in) in crypt_convert_init()
1229 ctx->iter_in = bio_in->bi_iter; in crypt_convert_init()
1302 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block_aead()
1350 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_aead()
1365 if (bio_data_dir(ctx->bio_in) == WRITE) { in crypt_convert_block_aead()
1382 ctx->bio_in->bi_bdev, s); in crypt_convert_block_aead()
1384 ctx->bio_in, s, 0); in crypt_convert_block_aead()
1390 bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); in crypt_convert_block_aead()
1401 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block_skcipher()
1440 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_skcipher()
1459 if (bio_data_dir(ctx->bio_in) == WRITE) in crypt_convert_block_skcipher()
1467 bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); in crypt_convert_block_skcipher()
2031 switch (bio_op(ctx->bio_in)) { in kcryptd_crypt_write_inline()
2207 ctx->bio_in->bi_bdev, s); in kcryptd_async_done()
2209 ctx->bio_in, s, 0); in kcryptd_async_done()