Lines Matching refs:its
146 struct itimerspec its; in multi_timer_cb() local
151 its.it_interval.tv_sec = 0; in multi_timer_cb()
152 its.it_interval.tv_nsec = 0; in multi_timer_cb()
153 its.it_value.tv_sec = timeout_ms / 1000; in multi_timer_cb()
154 its.it_value.tv_nsec = (timeout_ms % 1000) * 1000 * 1000; in multi_timer_cb()
160 its.it_interval.tv_sec = 0; in multi_timer_cb()
161 its.it_interval.tv_nsec = 0; in multi_timer_cb()
162 its.it_value.tv_sec = 0; in multi_timer_cb()
163 its.it_value.tv_nsec = 1; in multi_timer_cb()
166 memset(&its, 0, sizeof(struct itimerspec)); in multi_timer_cb()
169 timerfd_settime(g->tfd, /* flags= */0, &its, NULL); in multi_timer_cb()
204 struct itimerspec its; in event_cb() local
215 memset(&its, 0, sizeof(struct itimerspec)); in event_cb()
216 timerfd_settime(g->tfd, 0, &its, NULL); in event_cb()
468 struct itimerspec its; in main() local
490 memset(&its, 0, sizeof(struct itimerspec)); in main()
491 its.it_interval.tv_sec = 0; in main()
492 its.it_value.tv_sec = 1; in main()
493 timerfd_settime(g.tfd, 0, &its, NULL); in main()