Searched refs:xce_handle (Results 1 – 9 of 9) sorted by relevance
/xen/tools/misc/ |
A D | xen-lowmemd.c | 14 static xenevtchn_handle *xce_handle = NULL; variable 21 xenevtchn_unbind(xce_handle, virq_port); in cleanup() 22 if (xce_handle) in cleanup() 23 xenevtchn_close(xce_handle); in cleanup() 98 xce_handle = xenevtchn_open(NULL, 0); in main() 99 if (xce_handle == NULL) in main() 112 if ((rc = xenevtchn_bind_virq(xce_handle, VIRQ_ENOMEM)) == -1) in main() 124 if ((port = xenevtchn_pending(xce_handle)) == -1) in main() 138 if (xenevtchn_unmask(xce_handle, port) == -1) in main()
|
/xen/tools/console/daemon/ |
A D | io.c | 103 xenevtchn_handle *xce_handle; member 753 if (con->xce_handle != NULL) in console_create_ring() 759 if (con->xce_handle == NULL) { in console_create_ring() 770 con->xce_handle = NULL; in console_create_ring() 780 con->xce_handle = NULL; in console_create_ring() 946 if (con->xce_handle != NULL) in console_close_evtchn() 949 con->xce_handle = NULL; in console_close_evtchn() 1323 if (xce_handle == NULL) { in handle_io() 1460 if (xce_handle != NULL) { in handle_io() 1461 xenevtchn_close(xce_handle); in handle_io() [all …]
|
/xen/tools/xenstore/ |
A D | xenstored_domain.c | 42 xenevtchn_handle *xce_handle = NULL; variable 144 xenevtchn_notify(xce_handle, conn->domain->port); in writechn() 174 xenevtchn_notify(xce_handle, conn->domain->port); in readchn() 201 if (xenevtchn_unbind(xce_handle, domain->port) == -1) in destroy_domain() 273 if ((port = xenevtchn_pending(xce_handle)) == -1) in handle_event() 279 if (xenevtchn_unmask(xce_handle, port) == -1) in handle_event() 473 xenevtchn_unbind(xce_handle, domain->port); in do_introduce() 474 rc = xenevtchn_bind_interdomain(xce_handle, domid, port); in do_introduce() 724 xenevtchn_notify(xce_handle, dom0->port); in dom0_init() 757 xce_handle = xenevtchn_open(NULL, 0); in domain_init() [all …]
|
A D | xenstored_core.c | 67 extern xenevtchn_handle *xce_handle; /* in xenstored_domain.c */ 337 if (xce_handle != NULL) in initialize_fds() 338 xce_pollfd_idx = set_fd(xenevtchn_fd(xce_handle), in initialize_fds()
|
/xen/tools/tests/xen-access/ |
A D | xen-access.c | 67 xenevtchn_handle *xce_handle; member 156 rc = xenevtchn_unbind(xenaccess->vm_event.xce_handle, in xenaccess_teardown() 168 rc = xenevtchn_close(xenaccess->vm_event.xce_handle); in xenaccess_teardown() 236 xenaccess->vm_event.xce_handle = xenevtchn_open(NULL, 0); in xenaccess_init() 237 if ( xenaccess->vm_event.xce_handle == NULL ) in xenaccess_init() 245 rc = xenevtchn_bind_interdomain(xenaccess->vm_event.xce_handle, in xenaccess_init() 700 rc = xc_wait_for_event_or_timeout(xch, xenaccess->vm_event.xce_handle, 100); in main() 904 rc = xenevtchn_notify(xenaccess->vm_event.xce_handle, in main()
|
/xen/tools/xenpaging/ |
A D | xenpaging.c | 75 xenevtchn_handle *xce = paging->vm_event.xce_handle; in xenpaging_wait_for_event_or_timeout() 396 paging->vm_event.xce_handle = xenevtchn_open(NULL, 0); in xenpaging_init() 397 if ( paging->vm_event.xce_handle == NULL ) in xenpaging_init() 404 rc = xenevtchn_bind_interdomain(paging->vm_event.xce_handle, in xenpaging_init() 534 rc = xenevtchn_unbind(paging->vm_event.xce_handle, paging->vm_event.port); in xenpaging_teardown() 542 rc = xenevtchn_close(paging->vm_event.xce_handle); in xenpaging_teardown() 547 paging->vm_event.xce_handle = NULL; in xenpaging_teardown() 691 return xenevtchn_notify(paging->vm_event.xce_handle, paging->vm_event.port); in xenpaging_resume_page()
|
A D | xenpaging.h | 38 xenevtchn_handle *xce_handle; member
|
/xen/tools/xenmon/ |
A D | xenbaked.c | 274 xenevtchn_handle *xce_handle = NULL; variable 286 xce_handle = xenevtchn_open(NULL, 0); in eventchn_init() 288 if (xce_handle == NULL) in eventchn_init() 291 if ((rc = xenevtchn_bind_virq(xce_handle, VIRQ_TBUF)) == -1) in eventchn_init() 295 return xce_handle == NULL ? -1 : 0; in eventchn_init() 306 if (xce_handle == NULL) { in wait_for_event() 311 evtchn_fd = xenevtchn_fd(xce_handle); in wait_for_event() 321 if ((port = xenevtchn_pending(xce_handle)) == -1) in wait_for_event() 327 if (xenevtchn_unmask(xce_handle, port) == -1) in wait_for_event()
|
/xen/tools/xentrace/ |
A D | xentrace.c | 79 static xenevtchn_handle *xce_handle = NULL; variable 613 xce_handle = xenevtchn_open(NULL, 0); in event_init() 614 if (xce_handle == NULL) { in event_init() 619 rc = xenevtchn_bind_virq(xce_handle, VIRQ_TBUF); in event_init() 634 struct pollfd fd = { .fd = xenevtchn_fd(xce_handle), in wait_for_event_or_timeout() 647 port = xenevtchn_pending(xce_handle); in wait_for_event_or_timeout() 658 rc = xenevtchn_unmask(xce_handle, port); in wait_for_event_or_timeout()
|
Completed in 20 milliseconds