Lines Matching refs:io_req
240 struct dm_io_request io_req;
296 lc->io_req.bi_rw = rw;
298 return dm_io(&lc->io_req, 1, &lc->header_location, NULL);
309 lc->io_req.bi_rw = WRITE_FLUSH;
311 return dm_io(&lc->io_req, 1, &null_location, NULL);
457 lc->io_req.mem.type = DM_IO_VMA;
458 lc->io_req.notify.fn = NULL;
459 lc->io_req.client = dm_io_client_create();
460 if (IS_ERR(lc->io_req.client)) {
461 r = PTR_ERR(lc->io_req.client);
470 dm_io_client_destroy(lc->io_req.client);
475 lc->io_req.mem.ptr.vma = lc->disk_header;
488 dm_io_client_destroy(lc->io_req.client);
503 dm_io_client_destroy(lc->io_req.client);
570 dm_io_client_destroy(lc->io_req.client);