Lines Matching refs:bio_in

58 	struct bio *bio_in;  member
569 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_lmk_gen()
587 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) in crypt_iv_lmk_post()
693 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_tcw_gen()
715 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_tcw_post()
998 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant()
1005 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_elephant()
1015 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant()
1035 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant_gen()
1047 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_elephant_post()
1229 struct bio *bio_out, struct bio *bio_in, in crypt_convert_init() argument
1232 ctx->bio_in = bio_in; in crypt_convert_init()
1234 if (bio_in) in crypt_convert_init()
1235 ctx->iter_in = bio_in->bi_iter; in crypt_convert_init()
1309 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block_aead()
1357 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_aead()
1372 if (bio_data_dir(ctx->bio_in) == WRITE) { in crypt_convert_block_aead()
1391 ctx->bio_in->bi_bdev, s); in crypt_convert_block_aead()
1393 ctx->bio_in, s, 0); in crypt_convert_block_aead()
1400 bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); in crypt_convert_block_aead()
1411 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block_skcipher()
1450 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_skcipher()
1469 if (bio_data_dir(ctx->bio_in) == WRITE) in crypt_convert_block_skcipher()
1477 bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); in crypt_convert_block_skcipher()
2058 switch (bio_op(ctx->bio_in)) { in kcryptd_crypt_write_inline()
2120 io->ctx.bio_in = clone; in kcryptd_crypt_write_convert()
2158 io->ctx.bio_in->bi_iter = io->saved_bi_iter; in kcryptd_crypt_read_done()
2159 bio_copy_data(io->base_bio, io->ctx.bio_in); in kcryptd_crypt_read_done()
2161 crypt_free_buffer_pages(io->cc, io->ctx.bio_in); in kcryptd_crypt_read_done()
2162 bio_put(io->ctx.bio_in); in kcryptd_crypt_read_done()
2247 ctx->bio_in->bi_bdev, s); in kcryptd_async_done()
2249 ctx->bio_in, s, 0); in kcryptd_async_done()