Lines Matching refs:base_bio

66 	struct bio *base_bio;  member
1285 struct skcipher_request *req, struct bio *base_bio) in crypt_free_req_skcipher() argument
1287 struct dm_crypt_io *io = dm_per_bio_data(base_bio, cc->per_bio_data_size); in crypt_free_req_skcipher()
1294 struct aead_request *req, struct bio *base_bio) in crypt_free_req_aead() argument
1296 struct dm_crypt_io *io = dm_per_bio_data(base_bio, cc->per_bio_data_size); in crypt_free_req_aead()
1302 static void crypt_free_req(struct crypt_config *cc, void *req, struct bio *base_bio) in crypt_free_req() argument
1305 crypt_free_req_aead(cc, req, base_bio); in crypt_free_req()
1307 crypt_free_req_skcipher(cc, req, base_bio); in crypt_free_req()
1461 io->base_bio = bio; in crypt_io_init()
1482 struct bio *base_bio = io->base_bio; in crypt_dec_pending() local
1489 crypt_free_req(cc, io->ctx.r.req, base_bio); in crypt_dec_pending()
1496 base_bio->bi_status = error; in crypt_dec_pending()
1497 bio_endio(base_bio); in crypt_dec_pending()
1551 clone->bi_opf = io->base_bio->bi_opf; in clone_init()
1565 clone = bio_clone_fast(io->base_bio, gfp, &cc->bs); in kcryptd_io_read()
1718 crypt_convert_init(cc, &io->ctx, NULL, io->base_bio, sector); in kcryptd_crypt_write_convert()
1720 clone = crypt_alloc_buffer(io, io->base_bio->bi_iter.bi_size); in kcryptd_crypt_write_convert()
1759 crypt_convert_init(cc, &io->ctx, io->base_bio, io->base_bio, in kcryptd_crypt_read_convert()
1800 crypt_free_req(cc, req_of_dmreq(cc, dmreq), io->base_bio); in kcryptd_async_done()
1805 if (bio_data_dir(io->base_bio) == READ) in kcryptd_async_done()
1815 if (bio_data_dir(io->base_bio) == READ) in kcryptd_crypt()
2904 if (bio_data_dir(io->base_bio) == READ) { in crypt_map()