Lines Matching refs:tv_nsec
907 then.tv_nsec = uap->tv_nsec;
911 then.tv_nsec = uap->tv_nsec - now.tv_nsec;
912 if (then.tv_nsec < 0) {
913 then.tv_nsec += NSEC_PER_SEC;
919 then.tv_nsec = 0;
924 kern_result = semaphore_timedwait_trap_internal((mach_port_name_t)uap->cond_sem, then.tv_sec, then.tv_nsec, __posix_sem_syscall_return);
926 kern_result = semaphore_timedwait_signal_trap_internal(uap->cond_sem, uap->mutex_sem, then.tv_sec, then.tv_nsec, __posix_sem_syscall_return);