Lines Matching refs:io_desc
50 struct io_desc { struct
68 struct io_desc io_desc[]; member
1295 static void cowify_req(struct io_thread_req *req, struct io_desc *segment, in cowify_req()
1328 io_req->io_desc[0].buffer = NULL; in ubd_map_req()
1329 io_req->io_desc[0].length = blk_rq_bytes(req); in ubd_map_req()
1334 io_req->io_desc[i].buffer = in ubd_map_req()
1336 io_req->io_desc[i].length = bvec.bv_len; in ubd_map_req()
1343 cowify_req(io_req, &io_req->io_desc[i], byte_offset, in ubd_map_req()
1346 byte_offset += io_req->io_desc[i].length; in ubd_map_req()
1359 (desc_cnt * sizeof(struct io_desc)), in ubd_alloc_req()
1377 io_req->io_desc[i].sector_mask = 0; in ubd_alloc_req()
1378 io_req->io_desc[i].cow_offset = -1; in ubd_alloc_req()
1520 static int update_bitmap(struct io_thread_req *req, struct io_desc *segment) in update_bitmap()
1535 static void do_io(struct io_thread_req *req, struct io_desc *desc) in do_io()
1642 do_io(req, &(req->io_desc[i])); in io_thread()