Lines Matching refs:io_req
240 struct dm_io_request io_req; member
296 lc->io_req.bi_opf = op; in rw_header()
298 return dm_io(&lc->io_req, 1, &lc->header_location, NULL); in rw_header()
309 lc->io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in flush_header()
311 return dm_io(&lc->io_req, 1, &null_location, NULL); in flush_header()
456 lc->io_req.mem.type = DM_IO_VMA; in create_log_context()
457 lc->io_req.notify.fn = NULL; in create_log_context()
458 lc->io_req.client = dm_io_client_create(); in create_log_context()
459 if (IS_ERR(lc->io_req.client)) { in create_log_context()
460 r = PTR_ERR(lc->io_req.client); in create_log_context()
469 dm_io_client_destroy(lc->io_req.client); in create_log_context()
474 lc->io_req.mem.ptr.vma = lc->disk_header; in create_log_context()
487 dm_io_client_destroy(lc->io_req.client); in create_log_context()
502 dm_io_client_destroy(lc->io_req.client); in create_log_context()
569 dm_io_client_destroy(lc->io_req.client); in disk_dtr()