Lines Matching refs:bio_in
54 struct bio *bio_in; member
532 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_lmk_gen()
550 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) in crypt_iv_lmk_post()
682 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_tcw_gen()
705 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_tcw_post()
981 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant()
988 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_elephant()
998 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant()
1018 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant_gen()
1030 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_elephant_post()
1213 struct bio *bio_out, struct bio *bio_in, in crypt_convert_init() argument
1216 ctx->bio_in = bio_in; in crypt_convert_init()
1218 if (bio_in) in crypt_convert_init()
1219 ctx->iter_in = bio_in->bi_iter; in crypt_convert_init()
1290 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block_aead()
1338 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_aead()
1353 if (bio_data_dir(ctx->bio_in) == WRITE) { in crypt_convert_block_aead()
1370 ctx->bio_in->bi_bdev, s); in crypt_convert_block_aead()
1372 ctx->bio_in, s, 0); in crypt_convert_block_aead()
1378 bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); in crypt_convert_block_aead()
1389 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block_skcipher()
1428 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_skcipher()
1447 if (bio_data_dir(ctx->bio_in) == WRITE) in crypt_convert_block_skcipher()
1455 bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); in crypt_convert_block_skcipher()
1998 switch (bio_op(ctx->bio_in)) { in kcryptd_crypt_write_inline()
2175 ctx->bio_in->bi_bdev, s); in kcryptd_async_done()
2177 ctx->bio_in, s, 0); in kcryptd_async_done()