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