Lines Matching refs:kern_result
864 __posix_sem_syscall_return(kern_return_t kern_result)
868 if (kern_result == KERN_SUCCESS)
870 else if (kern_result == KERN_ABORTED)
872 else if (kern_result == KERN_OPERATION_TIMED_OUT)
899 kern_return_t kern_result;
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);
931 kern_result = semaphore_wait_trap_internal(uap->cond_sem, __posix_sem_syscall_return);
934 kern_result = semaphore_wait_signal_trap_internal(uap->cond_sem, uap->mutex_sem, __posix_sem_syscall_return);
937 if (kern_result == KERN_SUCCESS)
939 else if (kern_result == KERN_ABORTED)
941 else if (kern_result == KERN_OPERATION_TIMED_OUT)