Searched refs:rqtime (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwpsys.c | 453 timespec_t rqtime; in lwp_park() local 469 if (copyin(timeoutp, &rqtime, sizeof (timespec_t))) { in lwp_park() 480 TIMESPEC32_TO_TIMESPEC(&rqtime, &timeout32) in lwp_park() 483 if (itimerspecfix(&rqtime)) { in lwp_park() 490 timespecadd(&rqtime, &now); in lwp_park() 491 rqtp = &rqtime; in lwp_park() 517 if ((now.tv_sec < rqtime.tv_sec) || in lwp_park() 518 ((now.tv_sec == rqtime.tv_sec) && in lwp_park() 519 (now.tv_nsec < rqtime.tv_nsec))) { in lwp_park() 520 rmtime = rqtime; in lwp_park()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | timers.c | 1311 timespec_t rqtime; in nanosleep() local 1322 if (copyin(rqtp, &rqtime, sizeof (rqtime))) in nanosleep() 1329 TIMESPEC32_TO_TIMESPEC(&rqtime, &rqtime32); in nanosleep() 1332 if (rqtime.tv_sec < 0 || rqtime.tv_nsec < 0 || in nanosleep() 1333 rqtime.tv_nsec >= NANOSEC) in nanosleep() 1336 if (timerspecisset(&rqtime)) { in nanosleep() 1337 timespecadd(&rqtime, &now); in nanosleep() 1340 &curthread->t_delay_lock, &rqtime, timecheck)) > 0) in nanosleep() 1353 timespec_t delta = rqtime; in nanosleep()
|
H A D | aio.c | 418 timeval2reltime(struct timeval *timout, timestruc_t *rqtime, in timeval2reltime() argument 472 rqtime->tv_sec = wait_time.tv_sec; in timeval2reltime() 473 rqtime->tv_nsec = wait_time.tv_usec * 1000; in timeval2reltime() 474 *rqtp = rqtime; in timeval2reltime() 481 timespec2reltime(timespec_t *timout, timestruc_t *rqtime, in timespec2reltime() argument 496 if (copyin(timout, rqtime, sizeof (*rqtime))) in timespec2reltime() 503 TIMESPEC32_TO_TIMESPEC(rqtime, &wait_time_32); in timespec2reltime() 507 if (rqtime->tv_sec == 0 && rqtime->tv_nsec == 0) { in timespec2reltime() 512 if (rqtime->tv_sec < 0 || in timespec2reltime() 513 rqtime->tv_nsec < 0 || rqtime->tv_nsec >= NANOSEC) in timespec2reltime() [all …]
|
/illumos-gate/usr/src/uts/common/fs/portfs/ |
H A D | port.c | 1180 timespec_t rqtime; in port_getn() local 1276 error = port_get_timeout(pgt->pgt_timeout, &rqtime, &rqtp, in port_getn() 1765 port_get_timeout(timespec_t *timeout, timespec_t *rqtime, timespec_t **rqtp, in port_get_timeout() argument 1777 *rqtime = *timeout; in port_get_timeout() 1780 if (copyin(timeout, rqtime, sizeof (*rqtime))) in port_get_timeout() 1788 TIMESPEC32_TO_TIMESPEC(rqtime, &wait_time_32); in port_get_timeout() 1793 if (rqtime->tv_sec == 0 && rqtime->tv_nsec == 0) { in port_get_timeout() 1798 if (rqtime->tv_sec < 0 || in port_get_timeout() 1799 rqtime->tv_nsec < 0 || rqtime->tv_nsec >= NANOSEC) in port_get_timeout() 1802 *rqtp = rqtime; in port_get_timeout()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv_pcap.c | 209 hrtime_t rqtime, boolean_t is_reply) in smbsrv_pcap_dump() argument 340 phdr.ts_sec = rqtime / NANOSEC; in smbsrv_pcap_dump() 341 phdr.ts_usec = (rqtime / 1000) % MICROSEC; in smbsrv_pcap_dump()
|
H A D | smbsrv.c | 1282 hrtime_t rqtime, boolean_t is_reply) in smb_req_dump() argument 1287 _NOTE(ARGUNUSED(rqtime)); in smb_req_dump()
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | disp.c | 2214 hrtime_t now, nosteal, rqtime; in disp_getbest() local 2279 rqtime = now - tp->t_waitrq; in disp_getbest() 2280 scalehrtime(&rqtime); in disp_getbest() 2290 if (rqtime > nosteal || rqtime < 0) in disp_getbest() 2294 cpu_t *, tcp, cpu_t *, cp, hrtime_t, rqtime); in disp_getbest() 2299 now += (nosteal - rqtime); in disp_getbest()
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 1239 timestruc_t rqtime; in pr_wait_stop() local 1253 rqtp = &rqtime; in pr_wait_stop()
|