Home
last modified time | relevance | path

Searched refs:lockfd (Results 1 – 4 of 4) sorted by relevance

/xen/tools/libs/guest/
A Dxg_suspend.c52 *lockfd = -1; in lock_suspend_event()
93 *lockfd = fd; in lock_suspend_event()
108 if (*lockfd < 0) in unlock_suspend_event()
117 r = close(*lockfd); in unlock_suspend_event()
118 *lockfd = -1; in unlock_suspend_event()
123 if (*lockfd >= 0) in unlock_suspend_event()
124 close(*lockfd); in unlock_suspend_event()
156 return unlock_suspend_event(xch, domid, lockfd); in xc_suspend_evtchn_release()
160 uint32_t domid, int port, int *lockfd) in xc_suspend_evtchn_init_sane() argument
164 if (lock_suspend_event(xch, domid, lockfd)) { in xc_suspend_evtchn_init_sane()
[all …]
/xen/tools/misc/
A Dxen-hptool.c104 int *evtchn, int *lockfd) in suspend_guest() argument
108 *lockfd = -1; in suspend_guest()
120 port, lockfd); in suspend_guest()
144 suspend_evtchn, lockfd); in suspend_guest()
/xen/tools/console/client/
A Dmain.c49 static int lockfd = -1; variable
312 lockfd = fd; in console_lock()
318 if (lockfile[0] && lockfd != -1) { in console_unlock()
320 close(lockfd); in console_unlock()
/xen/tools/include/
A Dxenguest.h655 uint32_t domid, int suspend_evtchn, int *lockfd);
664 uint32_t domid, int port, int *lockfd);
679 uint32_t domid, int port, int *lockfd);

Completed in 13 milliseconds