Lines Matching refs:xch
25 int xc_vm_event_control(xc_interface *xch, uint32_t domain_id, unsigned int op, in xc_vm_event_control() argument
36 rc = do_domctl(xch, &domctl); in xc_vm_event_control()
42 void *xc_vm_event_enable(xc_interface *xch, uint32_t domain_id, int param, in xc_vm_event_enable() argument
58 rc1 = xc_domain_pause(xch, domain_id); in xc_vm_event_enable()
66 rc1 = xc_hvm_param_get(xch, domain_id, param, &pfn); in xc_vm_event_enable()
75 rc1 = xc_get_pfn_type_batch(xch, domain_id, 1, &mmap_pfn); in xc_vm_event_enable()
79 rc1 = xc_domain_populate_physmap_exact(xch, domain_id, 1, 0, 0, in xc_vm_event_enable()
89 ring_page = xc_map_foreign_pages(xch, domain_id, PROT_READ | PROT_WRITE, in xc_vm_event_enable()
124 rc1 = xc_vm_event_control(xch, domain_id, op, mode, port); in xc_vm_event_enable()
132 rc1 = xc_domain_decrease_reservation_exact(xch, domain_id, 1, 0, &ring_pfn); in xc_vm_event_enable()
139 rc2 = xc_domain_unpause(xch, domain_id); in xc_vm_event_enable()
150 xenforeignmemory_unmap(xch->fmem, ring_page, 1); in xc_vm_event_enable()
159 int xc_vm_event_get_version(xc_interface *xch) in xc_vm_event_get_version() argument
169 rc = do_domctl(xch, &domctl); in xc_vm_event_get_version()