Lines Matching refs:tfd
89 int tfd; /* timer filedescriptor */ member
174 timerfd_settime(g->tfd, /*flags=*/0, &its, NULL); in multi_timer_cb()
221 timerfd_settime(g->tfd, 0, &its, NULL); in event_cb()
232 err = read(g->tfd, &count, sizeof(uint64_t)); in timer_cb()
240 fprintf(MSG_OUT, "EAGAIN on tfd %d\n", g->tfd); in timer_cb()
491 g.tfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK | TFD_CLOEXEC); in main()
492 if(g.tfd == -1) { in main()
500 timerfd_settime(g.tfd, 0, &its, NULL); in main()
503 ev.data.fd = g.tfd; in main()
504 epoll_ctl(g.epfd, EPOLL_CTL_ADD, g.tfd, &ev); in main()
541 else if(events[idx].data.fd == g.tfd) { in main()