Home
last modified time | relevance | path

Searched refs:rqtime (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/uts/common/syscall/
H A Dlwpsys.c451 timespec_t rqtime; in lwp_park() local
467 if (copyin(timeoutp, &rqtime, sizeof (timespec_t))) { in lwp_park()
478 TIMESPEC32_TO_TIMESPEC(&rqtime, &timeout32) in lwp_park()
481 if (itimerspecfix(&rqtime)) { in lwp_park()
488 timespecadd(&rqtime, &now); in lwp_park()
489 rqtp = &rqtime; in lwp_park()
515 if ((now.tv_sec < rqtime.tv_sec) || in lwp_park()
516 ((now.tv_sec == rqtime.tv_sec) && in lwp_park()
517 (now.tv_nsec < rqtime.tv_nsec))) { in lwp_park()
518 rmtime = rqtime; in lwp_park()
/titanic_41/usr/src/uts/common/os/
H A Dtimers.c1286 timespec_t rqtime; in nanosleep() local
1297 if (copyin(rqtp, &rqtime, sizeof (rqtime))) in nanosleep()
1304 TIMESPEC32_TO_TIMESPEC(&rqtime, &rqtime32); in nanosleep()
1307 if (rqtime.tv_sec < 0 || rqtime.tv_nsec < 0 || in nanosleep()
1308 rqtime.tv_nsec >= NANOSEC) in nanosleep()
1311 if (timerspecisset(&rqtime)) { in nanosleep()
1312 timespecadd(&rqtime, &now); in nanosleep()
1315 &curthread->t_delay_lock, &rqtime, timecheck)) > 0) in nanosleep()
1328 timespec_t delta = rqtime; in nanosleep()
H A Daio.c414 timeval2reltime(struct timeval *timout, timestruc_t *rqtime, in timeval2reltime() argument
468 rqtime->tv_sec = wait_time.tv_sec; in timeval2reltime()
469 rqtime->tv_nsec = wait_time.tv_usec * 1000; in timeval2reltime()
470 *rqtp = rqtime; in timeval2reltime()
477 timespec2reltime(timespec_t *timout, timestruc_t *rqtime, in timespec2reltime() argument
492 if (copyin(timout, rqtime, sizeof (*rqtime))) in timespec2reltime()
499 TIMESPEC32_TO_TIMESPEC(rqtime, &wait_time_32); in timespec2reltime()
503 if (rqtime->tv_sec == 0 && rqtime->tv_nsec == 0) { in timespec2reltime()
508 if (rqtime->tv_sec < 0 || in timespec2reltime()
509 rqtime->tv_nsec < 0 || rqtime->tv_nsec >= NANOSEC) in timespec2reltime()
[all …]
/titanic_41/usr/src/uts/common/fs/portfs/
H A Dport.c1176 timespec_t rqtime; in port_getn() local
1272 error = port_get_timeout(pgt->pgt_timeout, &rqtime, &rqtp, in port_getn()
1749 port_get_timeout(timespec_t *timeout, timespec_t *rqtime, timespec_t **rqtp, in port_get_timeout() argument
1761 *rqtime = *timeout; in port_get_timeout()
1764 if (copyin(timeout, rqtime, sizeof (*rqtime))) in port_get_timeout()
1772 TIMESPEC32_TO_TIMESPEC(rqtime, &wait_time_32); in port_get_timeout()
1777 if (rqtime->tv_sec == 0 && rqtime->tv_nsec == 0) { in port_get_timeout()
1782 if (rqtime->tv_sec < 0 || in port_get_timeout()
1783 rqtime->tv_nsec < 0 || rqtime->tv_nsec >= NANOSEC) in port_get_timeout()
1786 *rqtp = rqtime; in port_get_timeout()
/titanic_41/usr/src/uts/common/disp/
H A Ddisp.c2216 hrtime_t now, nosteal, rqtime; in disp_getbest() local
2281 rqtime = now - tp->t_waitrq; in disp_getbest()
2282 scalehrtime(&rqtime); in disp_getbest()
2292 if (rqtime > nosteal || rqtime < 0) in disp_getbest()
2296 cpu_t *, tcp, cpu_t *, cp, hrtime_t, rqtime); in disp_getbest()
2301 now += (nosteal - rqtime); in disp_getbest()
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprcontrol.c1100 timestruc_t rqtime; in pr_wait_stop() local
1114 rqtp = &rqtime; in pr_wait_stop()