Lines Matching refs:now
72 struct timespec now;
76 clock_gettime(CLOCK_MONOTONIC, &now);
77 if (timespeccmp(&now, &e->expire, >=))
80 timespecsub(&e->expire, &now, ts);
94 struct timespec now;
97 clock_gettime(CLOCK_MONOTONIC, &now);
98 for (e = TAILQ_FIRST(&events); e && timespeccmp(&now, &e->expire, >=);
114 struct timespec now, tmp;
129 clock_gettime(CLOCK_MONOTONIC, &now);
130 timespecadd(&now, &tmp, &new->expire);