Lines Matching refs:base_bio
66 struct bio *base_bio; member
1179 struct skcipher_request *req, struct bio *base_bio) in crypt_free_req_skcipher() argument
1181 struct dm_crypt_io *io = dm_per_bio_data(base_bio, cc->per_bio_data_size); in crypt_free_req_skcipher()
1188 struct aead_request *req, struct bio *base_bio) in crypt_free_req_aead() argument
1190 struct dm_crypt_io *io = dm_per_bio_data(base_bio, cc->per_bio_data_size); in crypt_free_req_aead()
1196 static void crypt_free_req(struct crypt_config *cc, void *req, struct bio *base_bio) in crypt_free_req() argument
1199 crypt_free_req_aead(cc, req, base_bio); in crypt_free_req()
1201 crypt_free_req_skcipher(cc, req, base_bio); in crypt_free_req()
1355 io->base_bio = bio; in crypt_io_init()
1376 struct bio *base_bio = io->base_bio; in crypt_dec_pending() local
1383 crypt_free_req(cc, io->ctx.r.req, base_bio); in crypt_dec_pending()
1390 base_bio->bi_status = error; in crypt_dec_pending()
1391 bio_endio(base_bio); in crypt_dec_pending()
1445 clone->bi_opf = io->base_bio->bi_opf; in clone_init()
1459 clone = bio_clone_fast(io->base_bio, gfp, &cc->bs); in kcryptd_io_read()
1612 crypt_convert_init(cc, &io->ctx, NULL, io->base_bio, sector); in kcryptd_crypt_write_convert()
1614 clone = crypt_alloc_buffer(io, io->base_bio->bi_iter.bi_size); in kcryptd_crypt_write_convert()
1653 crypt_convert_init(cc, &io->ctx, io->base_bio, io->base_bio, in kcryptd_crypt_read_convert()
1695 crypt_free_req(cc, req_of_dmreq(cc, dmreq), io->base_bio); in kcryptd_async_done()
1700 if (bio_data_dir(io->base_bio) == READ) in kcryptd_async_done()
1710 if (bio_data_dir(io->base_bio) == READ) in kcryptd_crypt()
2802 if (bio_data_dir(io->base_bio) == READ) { in crypt_map()