Lines Matching refs:bio_in
55 struct bio *bio_in; member
538 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_lmk_gen()
556 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) in crypt_iv_lmk_post()
688 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_tcw_gen()
711 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_tcw_post()
994 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant()
1001 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_elephant()
1011 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant()
1031 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant_gen()
1043 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_elephant_post()
1225 struct bio *bio_out, struct bio *bio_in, in crypt_convert_init() argument
1228 ctx->bio_in = bio_in; in crypt_convert_init()
1230 if (bio_in) in crypt_convert_init()
1231 ctx->iter_in = bio_in->bi_iter; in crypt_convert_init()
1304 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block_aead()
1352 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_aead()
1367 if (bio_data_dir(ctx->bio_in) == WRITE) { in crypt_convert_block_aead()
1386 ctx->bio_in->bi_bdev, s); in crypt_convert_block_aead()
1388 ctx->bio_in, s, 0); in crypt_convert_block_aead()
1395 bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); in crypt_convert_block_aead()
1406 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block_skcipher()
1445 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_skcipher()
1464 if (bio_data_dir(ctx->bio_in) == WRITE) in crypt_convert_block_skcipher()
1472 bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); in crypt_convert_block_skcipher()
2056 switch (bio_op(ctx->bio_in)) { in kcryptd_crypt_write_inline()
2122 io->ctx.bio_in = clone; in kcryptd_crypt_write_convert()
2164 io->ctx.bio_in->bi_iter = io->saved_bi_iter; in kcryptd_crypt_read_done()
2165 bio_copy_data(io->base_bio, io->ctx.bio_in); in kcryptd_crypt_read_done()
2167 crypt_free_buffer_pages(io->cc, io->ctx.bio_in); in kcryptd_crypt_read_done()
2168 bio_put(io->ctx.bio_in); in kcryptd_crypt_read_done()
2254 ctx->bio_in->bi_bdev, s); in kcryptd_async_done()
2256 ctx->bio_in, s, 0); in kcryptd_async_done()