Lines Matching defs:spec
158 struct itimerspec spec;
159 memset(&spec, 0, sizeof(spec));
160 memcpy(&spec.it_value, ts, sizeof(spec.it_value));
162 return timerfd_settime(fds[type], TFD_TIMER_ABSTIME, &spec, NULL);
398 struct itimerspec spec;
399 memset(&spec, 0, sizeof(spec));
404 TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET, &spec, NULL);