Lines Matching refs:WaitBlock

24     PKWAIT_BLOCK WaitBlock;  in KiWaitTest()  local
35 WaitBlock = CONTAINING_RECORD(WaitEntry, KWAIT_BLOCK, WaitListEntry); in KiWaitTest()
36 WaitThread = WaitBlock->Thread; in KiWaitTest()
40 if (WaitBlock->WaitType == WaitAny) in KiWaitTest()
43 WaitStatus = (NTSTATUS)WaitBlock->WaitKey; in KiWaitTest()
58 PKWAIT_BLOCK WaitBlock; in KiUnlinkThread() local
65 WaitBlock = Thread->WaitBlockList; in KiUnlinkThread()
69 RemoveEntryList(&WaitBlock->WaitListEntry); in KiUnlinkThread()
72 WaitBlock = WaitBlock->NextWaitBlock; in KiUnlinkThread()
73 } while (WaitBlock != Thread->WaitBlockList); in KiUnlinkThread()
315 TimerBlock = &Thread->WaitBlock[TIMER_WAIT_BLOCK]; in KeDelayExecutionThread()
424 PKWAIT_BLOCK WaitBlock = &Thread->WaitBlock[0]; in KeWaitForSingleObject() local
425 PKWAIT_BLOCK TimerBlock = &Thread->WaitBlock[TIMER_WAIT_BLOCK]; in KeWaitForSingleObject()
519 &WaitBlock->WaitListEntry); in KeWaitForSingleObject()
596 PKWAIT_BLOCK WaitBlock; in KeWaitForMultipleObjects() local
598 PKWAIT_BLOCK TimerBlock = &Thread->WaitBlock[TIMER_WAIT_BLOCK]; in KeWaitForMultipleObjects()
626 WaitBlockArray = &Thread->WaitBlock[0]; in KeWaitForMultipleObjects()
757 WaitBlock = WaitBlockArray; in KeWaitForMultipleObjects()
761 CurrentObject = (PKMUTANT)WaitBlock->Object; in KeWaitForMultipleObjects()
765 WaitBlock = WaitBlock->NextWaitBlock; in KeWaitForMultipleObjects()
766 } while(WaitBlock != WaitBlockArray); in KeWaitForMultipleObjects()
795 WaitBlock->NextWaitBlock = TimerBlock; in KeWaitForMultipleObjects()
799 WaitBlock = WaitBlockArray; in KeWaitForMultipleObjects()
803 CurrentObject = WaitBlock->Object; in KeWaitForMultipleObjects()
807 &WaitBlock->WaitListEntry); in KeWaitForMultipleObjects()
810 WaitBlock = WaitBlock->NextWaitBlock; in KeWaitForMultipleObjects()
811 } while (WaitBlock != WaitBlockArray); in KeWaitForMultipleObjects()