Lines Matching defs:now
52 struct timespec now;
55 clock_gettime(CLOCK_MONOTONIC, &now);
56 if (timespeccmp(&now, &TAILQ_FIRST(&events)->expiration, >=))
59 timespecsub(&TAILQ_FIRST(&events)->expiration, &now,
68 struct timespec now;
71 clock_gettime(CLOCK_MONOTONIC, &now);
73 n && timespeccmp(&now, &n->expiration, >=);
90 struct timespec now;
97 clock_gettime(CLOCK_MONOTONIC, &now);
107 (long long)(expiration->tv_sec - now.tv_sec)));
112 (int)(expiration->tv_sec - now.tv_sec)));
131 struct timespec now;
133 clock_gettime(CLOCK_MONOTONIC, &now);
139 (int) (ev->expiration.tv_sec - now.tv_sec)));