Searched defs:abstime (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/libc/port/sys/
H A Dtime_util.c71 const timespec_t *abstime, timespec_t *reltime)
80 if (abstime->tv_nsec >= now.tv_nsec) {
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;
102 if ((ulong_t)abstime->tv_nsec >= NANOSEC)
103 reltime->tv_nsec = abstime->tv_nsec;
70 abstime_to_reltime(clockid_t clock_id, const timespec_t *abstime, timespec_t *reltime) argument
/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dmonitor.c119 struct timespec abstime; local
122 abstime.tv_sec = end;
123 abstime.tv_nsec = 0;
125 &abstime);
/osnet-11/usr/src/lib/libc/port/rt/
H A Dsem.c297 sem_timedwait(sem_t *sem, const timespec_t *abstime) argument
303 if ((error = sema_timedwait((sema_t *)sem, abstime)) != 0) {
/osnet-11/usr/src/lib/libc/port/threads/
H A Dsema.c219 sema_timedwait(sema_t *sp, const timespec_t *abstime) argument
224 abstime_to_reltime(CLOCK_REALTIME, abstime, &tslocal);
H A Drwlock.c798 const struct timespec *_RESTRICT_KYWD abstime)
804 abstime_to_reltime(CLOCK_REALTIME, abstime, &tslocal);
895 pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlp, const timespec_t *abstime) argument
901 abstime_to_reltime(CLOCK_REALTIME, abstime, &tslocal);
797 pthread_rwlock_timedrdlock(pthread_rwlock_t *_RESTRICT_KYWD rwlp, const struct timespec *_RESTRICT_KYWD abstime) argument
H A Dsynch.c2349 const struct timespec *_RESTRICT_KYWD abstime)
2355 abstime_to_reltime(CLOCK_REALTIME, abstime, &tslocal);
3575 __cond_timedwait(cond_t *cvp, mutex_t *mp, const timespec_t *abstime) argument
3587 abstime_to_reltime(clock_id, abstime, &reltime);
3596 if ((hrtime_t)(uint32_t)abstime->tv_sec * NANOSEC +
3597 abstime->tv_nsec > gethrtime())
3604 cond_timedwait(cond_t *cvp, mutex_t *mp, const timespec_t *abstime) argument
3609 error = __cond_timedwait(cvp, mp, abstime);
3623 const struct timespec *_RESTRICT_KYWD abstime)
3627 error = cond_timedwait((cond_t *)cvp, (mutex_t *)mp, abstime);
2348 pthread_mutex_timedlock(pthread_mutex_t *_RESTRICT_KYWD mp, const struct timespec *_RESTRICT_KYWD abstime) argument
3621 pthread_cond_timedwait(pthread_cond_t *_RESTRICT_KYWD cvp, pthread_mutex_t *_RESTRICT_KYWD mp, const struct timespec *_RESTRICT_KYWD abstime) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpac.c479 krb5_ui_8 abstime; local
483 abstime = ntTime > 0 ? ntTime - NT_TIME_EPOCH : -ntTime;
485 if (abstime > KRB5_INT32_MAX)
488 *elapsedSeconds = abstime;
/osnet-11/usr/src/lib/libzpool/common/
H A Dkernel.c276 cv_timedwait(kcondvar_t *cv, kmutex_t *mp, clock_t abstime) argument
283 delta = abstime - ddi_get_lbolt();

Completed in 61 milliseconds