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