Lines Matching refs:wresult
459 wait_result_t wresult)
466 thread->wait_result = wresult;
545 wait_result_t wresult)
552 if (!thread_unblock(thread, wresult))
681 wait_result_t wresult;
694 wresult = wait_queue_assert_wait64_locked(wqueue, (uint32_t)event,
701 return (wresult);
711 wait_result_t wresult;
722 wresult = wait_queue_assert_wait64_locked(wqueue, (uint32_t)event,
729 return (wresult);
878 wait_result_t wresult;
888 wresult = assert_wait(&thread->wake_active, THREAD_ABORTSAFE);
892 if (wresult == THREAD_WAITING)
893 wresult = thread_block(THREAD_CONTINUE_NULL);
895 if (wresult != THREAD_AWAKENED)
914 wresult = assert_wait(&thread->wake_active, THREAD_ABORTSAFE);
918 if (wresult == THREAD_WAITING)
919 wresult = thread_block(THREAD_CONTINUE_NULL);
921 if (wresult != THREAD_AWAKENED) {
992 wait_result_t wresult;
1007 wresult = assert_wait(&thread->wake_active, THREAD_UNINT);
1011 if (wresult == THREAD_WAITING)
1043 wait_result_t wresult)
1049 if (wresult == THREAD_INTERRUPTED && (thread->state & TH_UNINT))
1069 return (thread_go(thread, wresult));