Home
last modified time | relevance | path

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

/linux/arch/um/drivers/
H A Drtc_user.c17 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()
[all …]