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