Home
last modified time | relevance | path

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

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