Home
last modified time | relevance | path

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

/xen/tools/libxc/
A Dxc_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/libxc/include/
A Dxenguest.h264 uint32_t domid, int suspend_evtchn, int *lockfd);
273 uint32_t domid, int port, int *lockfd);
288 uint32_t domid, int port, int *lockfd);
/xen/tools/misc/
A Dxen-hptool.c102 int *evtchn, int *lockfd) in suspend_guest() argument
106 *lockfd = -1; in suspend_guest()
118 port, lockfd); in suspend_guest()
142 suspend_evtchn, lockfd); in suspend_guest()
/xen/tools/console/client/
A Dmain.c50 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()

Completed in 7 milliseconds