Searched refs:reltime (Results 1 - 9 of 9) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | time_util.c | 71 const timespec_t *abstime, timespec_t *reltime) 81 reltime->tv_sec = abstime->tv_sec - now.tv_sec; 82 reltime->tv_nsec = abstime->tv_nsec - now.tv_nsec; 84 reltime->tv_sec = abstime->tv_sec - now.tv_sec - 1; 85 reltime->tv_nsec = abstime->tv_nsec - now.tv_nsec + NANOSEC; 91 if (reltime->tv_sec < 0) { 92 reltime->tv_sec = 0; 93 reltime->tv_nsec = 0; 103 reltime->tv_nsec = abstime->tv_nsec; 70 abstime_to_reltime(clockid_t clock_id, const timespec_t *abstime, timespec_t *reltime) argument
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ibd.c | 297 uint32_t timeout, reltime; local 314 if ((reltime = sockets[index].in_timeout) == 0) 315 reltime = mac_state.mac_in_timeout; 316 timeout = prom_gettime() + reltime; 455 timeout += reltime;
|
H A D | ethernet.c | 298 uint32_t timeout, reltime; local 315 if ((reltime = sockets[index].in_timeout) == 0) 316 reltime = mac_state.mac_in_timeout; 317 timeout = prom_gettime() + reltime; 463 timeout += reltime;
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_readdir.c | 565 timestruc_t reltime; local 575 reltime.tv_sec = RDDIR_CACHE_TIME/2; 576 reltime.tv_nsec = 0; 583 &cleanup_start_cv, &cleanup_lock, &reltime)) {
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 612 timespec_t reltime; local 630 abstime_to_reltime(clock_id, rqtp, &reltime); 633 reltime = *rqtp; 639 error = abort? EINTR : __nanosleep(&reltime, rmtp); 650 abstime_to_reltime(clock_id, rqtp, &reltime); 658 hrt2ts(rqlapse - lapse, &reltime); 677 abstime_to_reltime(clock_id, rqtp, &reltime); 678 if (reltime.tv_sec != 0 || reltime.tv_nsec != 0)
|
H A D | sema.c | 210 sema_reltimedwait(sema_t *sp, const timespec_t *reltime) argument 212 timespec_t tslocal = *reltime;
|
H A D | rwlock.c | 784 const struct timespec *_RESTRICT_KYWD reltime) 786 timespec_t tslocal = *reltime; 882 const struct timespec *_RESTRICT_KYWD reltime) 884 timespec_t tslocal = *reltime; 783 pthread_rwlock_reltimedrdlock_np(pthread_rwlock_t *_RESTRICT_KYWD rwlp, const struct timespec *_RESTRICT_KYWD reltime) argument 881 pthread_rwlock_reltimedwrlock_np(pthread_rwlock_t *_RESTRICT_KYWD rwlp, const struct timespec *_RESTRICT_KYWD reltime) argument
|
H A D | synch.c | 2358 const struct timespec *_RESTRICT_KYWD reltime) 2364 tslocal = *reltime; 3591 timespec_t reltime; local 3600 abstime_to_reltime(clock_id, abstime, &reltime); 3601 error = cond_wait_common(cvp, mp, &reltime); 3652 __cond_reltimedwait(cond_t *cvp, mutex_t *mp, const timespec_t *reltime) argument 3654 timespec_t tslocal = *reltime; 3664 cond_reltimedwait(cond_t *cvp, mutex_t *mp, const timespec_t *reltime) argument 3669 error = __cond_reltimedwait(cvp, mp, reltime); 3680 const struct timespec *_RESTRICT_KYWD reltime) 2357 pthread_mutex_reltimedlock_np(pthread_mutex_t *_RESTRICT_KYWD mp, const struct timespec *_RESTRICT_KYWD reltime) argument 3678 pthread_cond_reltimedwait_np(pthread_cond_t *_RESTRICT_KYWD cvp, pthread_mutex_t *_RESTRICT_KYWD mp, const struct timespec *_RESTRICT_KYWD reltime) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | sem.c | 317 sem_reltimedwait_np(sem_t *sem, const timespec_t *reltime) argument 323 if ((error = sema_reltimedwait((sema_t *)sem, reltime)) != 0) {
|
Completed in 117 milliseconds