Lines Matching refs:uml_rtc_irq_fds
17 static int uml_rtc_irq_fds[2]; variable
23 CATCH_EINTR(write(uml_rtc_irq_fds[1], &c, sizeof(c))); in uml_rtc_send_timetravel_alarm()
31 int err = os_pipe(uml_rtc_irq_fds, 1, 1); in uml_rtc_start()
35 uml_rtc_irq_fds[0] = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC); in uml_rtc_start()
36 if (uml_rtc_irq_fds[0] < 0) { in uml_rtc_start()
42 sigio_broken(uml_rtc_irq_fds[0]); in uml_rtc_start()
43 err = add_sigio_fd(uml_rtc_irq_fds[0]); in uml_rtc_start()
45 close(uml_rtc_irq_fds[0]); in uml_rtc_start()
50 return uml_rtc_irq_fds[0]; in uml_rtc_start()
64 if (timerfd_settime(uml_rtc_irq_fds[0], 0, &it, NULL)) in uml_rtc_enable_alarm()
77 os_close_file(uml_rtc_irq_fds[1]); in uml_rtc_stop()
79 ignore_sigio_fd(uml_rtc_irq_fds[0]); in uml_rtc_stop()
80 os_close_file(uml_rtc_irq_fds[0]); in uml_rtc_stop()