Lines Matching refs:fds
54 static int fds[2]; variable
245 if (pipe(fds) == -1) in os_daemonize()
253 close(fds[1]); in os_daemonize()
256 len = read(fds[0], &status, 1); in os_daemonize()
270 close(fds[0]); in os_daemonize()
271 qemu_set_cloexec(fds[1]); in os_daemonize()
298 len = write(fds[1], &status, 1); in os_setup_post()
330 if (write(fds[1], &status, 1) != 1) { in os_pidfile_error()
345 int qemu_eventfd(int fds[2]) in qemu_eventfd()
352 fds[0] = ret; in qemu_eventfd()
354 if ((fds[1] = dup(ret)) == -1) { in qemu_eventfd()
358 qemu_set_cloexec(fds[1]); in qemu_eventfd()
367 return qemu_pipe(fds); in qemu_eventfd()