Searched refs:atv (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dadjtime.c48 struct timeval atv, oatv; local
58 if (copyin(delta, &atv, sizeof (atv)))
65 TIMEVAL32_TO_TIMEVAL(&atv, &atv32);
68 if (atv.tv_usec <= -MICROSEC || atv.tv_usec >= MICROSEC)
75 ndelta = (int64_t)atv.tv_sec * NANOSEC + atv.tv_usec * 1000;
/illumos-gate/usr/src/uts/common/io/
H A Dvuid_queue.c42 static struct timeval32 tv_subt(struct timeval32 atv, struct timeval32 btv);
298 /* atv-btv */
300 tv_subt(struct timeval32 atv, struct timeval32 btv) argument
302 if ((atv.tv_usec < btv.tv_usec) && atv.tv_sec) {
303 atv.tv_usec += 1000000;
304 atv.tv_sec--;
306 if (atv.tv_usec > btv.tv_usec)
307 atv.tv_usec -= btv.tv_usec;
309 atv
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dtimers.c166 struct timeval atv; local
169 uniqtime(&atv);
171 if (copyout(&atv, tp, sizeof (atv)))
176 if (TIMEVAL_OVERFLOW(&atv))
178 TIMEVAL_TO_TIMEVAL32(&tv32, &atv);

Completed in 57 milliseconds