Lines Matching defs:io_req
243 struct dm_io_request io_req;
301 lc->io_req.bi_opf = op;
303 return dm_io(&lc->io_req, 1, &lc->header_location, NULL, IOPRIO_DEFAULT);
314 lc->io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH;
316 return dm_io(&lc->io_req, 1, &null_location, NULL, IOPRIO_DEFAULT);
461 lc->io_req.mem.type = DM_IO_VMA;
462 lc->io_req.notify.fn = NULL;
463 lc->io_req.client = dm_io_client_create();
464 if (IS_ERR(lc->io_req.client)) {
465 r = PTR_ERR(lc->io_req.client);
474 dm_io_client_destroy(lc->io_req.client);
479 lc->io_req.mem.ptr.vma = lc->disk_header;
492 dm_io_client_destroy(lc->io_req.client);
507 dm_io_client_destroy(lc->io_req.client);
576 dm_io_client_destroy(lc->io_req.client);