Lines Matching refs:tfd
85 int tfd; /* timer filedescriptor */ member
169 timerfd_settime(g->tfd, /* flags= */0, &its, NULL); in multi_timer_cb()
216 timerfd_settime(g->tfd, 0, &its, NULL); in event_cb()
227 err = read(g->tfd, &count, sizeof(uint64_t)); in timer_cb()
235 fprintf(MSG_OUT, "EAGAIN on tfd %d\n", g->tfd); in timer_cb()
484 g.tfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK | TFD_CLOEXEC); in main()
485 if(g.tfd == -1) { in main()
493 timerfd_settime(g.tfd, 0, &its, NULL); in main()
496 ev.data.fd = g.tfd; in main()
497 epoll_ctl(g.epfd, EPOLL_CTL_ADD, g.tfd, &ev); in main()
532 else if(events[idx].data.fd == g.tfd) { in main()