Lines Matching refs:now
77 timespec_t now, interval2nth;
127 gethrestime(&now);
128 if (timerspeccmp(val, &now) > 0)
137 ticks = timespectohz(val, now);
150 timespec_t now;
155 gethrestime(&now);
157 if ((val->tv_sec > now.tv_sec) ||
158 (val->tv_sec == now.tv_sec && val->tv_nsec > now.tv_nsec)) {
188 timespec_t now;
192 gethrestime(&now);
210 timespecadd(&it->it_itime.it_value, &now);
212 ticks = timespectohz(&it->it_itime.it_value, now);
218 * As a result, the time returned in "now", above, represents
222 * "now" and our desired execution time.
250 timespec_t now;
258 gethrestime(&now);
265 if (timerspeccmp(&when->it_value, &now) < 0) {
272 timespecsub(&when->it_value, &now);