Searched refs:CurrentThreadContext (Results 1 – 1 of 1) sorted by relevance
1013 PTHREAD_CONTEXT CurrentThreadContext; in CdSetThreadContext() local1028 CurrentThreadContext = (PTHREAD_CONTEXT) IoGetTopLevelIrp(); in CdSetThreadContext()1030 if (CurrentThreadContext == NULL) { in CdSetThreadContext()1059 (!IoWithinStackLimits( (ULONG_PTR)CurrentThreadContext, sizeof( THREAD_CONTEXT ) ) || in CdSetThreadContext()1061 (((ULONG_PTR) CurrentThreadContext > StackBottom - sizeof( THREAD_CONTEXT )) || in CdSetThreadContext()1062 ((ULONG_PTR) CurrentThreadContext <= StackTop) || in CdSetThreadContext()1064 FlagOn( (ULONG_PTR) CurrentThreadContext, 0x3 ) || in CdSetThreadContext()1065 (CurrentThreadContext->Cdfs != 0x53464443))) { in CdSetThreadContext()1068 ThreadContext->SavedTopLevelIrp = (PIRP) CurrentThreadContext; in CdSetThreadContext()1083 IrpContext->TopLevel = CurrentThreadContext->TopLevelIrpContext; in CdSetThreadContext()