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