Searched refs:tfd (Results 1 – 1 of 1) sorted by relevance
/external/valgrind/main/memcheck/tests/linux/ |
D | timerfd-syscall.c | 146 long waittmr(int tfd, int timeo) in waittmr() argument 151 pfd.fd = tfd; in waittmr() 164 if (read(tfd, &ticks, sizeof(ticks)) != sizeof(ticks)) in waittmr() 175 int i, tfd; in main() local 198 if ((tfd = timerfd_create(clks[i].id, 0)) == -1) in main() 204 if (timerfd_settime(tfd, 0, &tmr, NULL)) in main() 211 ticks = waittmr(tfd, -1); in main() 224 if (timerfd_settime(tfd, TFD_TIMER_ABSTIME, &tmr, NULL)) in main() 231 ticks = waittmr(tfd, -1); in main() 243 if (timerfd_settime(tfd, TFD_TIMER_ABSTIME, &tmr, NULL)) in main() [all …]
|