Lines Matching refs:xce
101 static int suspend_guest(xc_interface *xch, xenevtchn_handle *xce, int domid, in suspend_guest() argument
117 suspend_evtchn = xc_suspend_evtchn_init_exclusive(xch, xce, domid, in suspend_guest()
126 rc = xenevtchn_notify(xce, suspend_evtchn); in suspend_guest()
132 if (xc_await_suspend(xch, xce, suspend_evtchn) < 0) in suspend_guest()
141 xc_suspend_evtchn_release(xch, xce, domid, in suspend_guest()
201 xenevtchn_handle *xce; in hp_mem_offline_func() local
202 xce = xenevtchn_open(NULL, 0); in hp_mem_offline_func()
204 if (xce == NULL) in hp_mem_offline_func()
212 if (suspend_guest(xch, xce, domid, in hp_mem_offline_func()
217 xenevtchn_close(xce); in hp_mem_offline_func()
239 xc_suspend_evtchn_release(xch, xce, domid, in hp_mem_offline_func()
241 xenevtchn_close(xce); in hp_mem_offline_func()