Lines Matching refs:watchdog_fd
190 int watchdog_fd;
406 safe_close(e->watchdog_fd);
437 e->watchdog_fd = e->epoll_fd = e->realtime.fd = e->boottime.fd = e->monotonic.fd = e->realtime_alarm.fd = e->boottime_alarm.fd = -1;
2409 assert(e->watchdog_fd >= 0);
2422 r = timerfd_settime(e->watchdog_fd, TFD_TIMER_ABSTIME, &its, NULL);
2536 r = flush_timer(e, e->watchdog_fd, ev_queue[i].events, NULL);
2850 e->watchdog_fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK|TFD_CLOEXEC);
2851 if (e->watchdog_fd < 0)
2861 r = epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, e->watchdog_fd, &ev);
2868 if (e->watchdog_fd >= 0) {
2869 epoll_ctl(e->epoll_fd, EPOLL_CTL_DEL, e->watchdog_fd, NULL);
2870 e->watchdog_fd = safe_close(e->watchdog_fd);
2878 e->watchdog_fd = safe_close(e->watchdog_fd);