Home
last modified time | relevance | path

Searched refs:OwningThread (Results 1 – 20 of 20) sorted by relevance

/reactos/sdk/lib/drivers/wdf/shared/support/
H A Dfxspinlock.cpp76 ASSERT(pHistory->OwningThread == NULL); in __drv_maxIRQL()
77 pHistory->OwningThread = Mx::MxGetCurrentThread(); in __drv_maxIRQL()
100 if (pHistory->OwningThread != Mx::MxGetCurrentThread()) { in __drv_requiresIRQL()
101 if (pHistory->OwningThread == NULL) { in __drv_requiresIRQL()
112 pHistory->OwningThread); in __drv_requiresIRQL()
125 ASSERT(pHistory->OwningThread != NULL); in __drv_requiresIRQL()
138 pHistory->OwningThread = NULL; in __drv_requiresIRQL()
/reactos/sdk/lib/rtl/
H A Dresource.c58 Resource->OwningThread = NULL; in RtlInitializeResource()
73 Resource->OwningThread = NULL; in RtlDeleteResource()
101 if (Resource->OwningThread == NtCurrentTeb()->ClientId.UniqueThread) in RtlAcquireResourceExclusive()
127 Resource->OwningThread = NtCurrentTeb()->ClientId.UniqueThread; in RtlAcquireResourceExclusive()
150 if (Resource->OwningThread == NtCurrentTeb()->ClientId.UniqueThread) in RtlAcquireResourceShared()
192 Resource->OwningThread = NULL; in RtlConvertExclusiveToShared()
229 Resource->OwningThread = NtCurrentTeb()->ClientId.UniqueThread; in RtlConvertSharedToExclusive()
244 Resource->OwningThread = NtCurrentTeb()->ClientId.UniqueThread; in RtlConvertSharedToExclusive()
280 Resource->OwningThread = 0; in RtlReleaseResource()
322 Resource->OwningThread); in RtlDumpResource()
H A Dcritical.c495 if (Thread == CriticalSection->OwningThread) in RtlEnterCriticalSection()
522 CriticalSection->OwningThread = Thread; in RtlEnterCriticalSection()
613 CriticalSection->OwningThread = 0; in RtlInitializeCriticalSectionEx()
729 if (CriticalSection->OwningThread == NtCurrentTeb()->ClientId.UniqueThread) in RtlGetCriticalSectionRecursionCount()
774 if (Thread != CriticalSection->OwningThread) in RtlLeaveCriticalSection()
802 CriticalSection->OwningThread = 0; in RtlLeaveCriticalSection()
840 CriticalSection->OwningThread = NtCurrentTeb()->ClientId.UniqueThread; in RtlTryEnterCriticalSection()
844 else if (CriticalSection->OwningThread == NtCurrentTeb()->ClientId.UniqueThread) in RtlTryEnterCriticalSection()
874 return CriticalSection->OwningThread == NtCurrentTeb()->ClientId.UniqueThread && in RtlIsCriticalSectionLockedByThread()
/reactos/modules/rostests/apitests/ntdll/
H A DRtlCriticalSection.c52 ok_ptr(CritSect.OwningThread, NULL); in Test_Init()
69 ok_ptr(CritSect.OwningThread, NULL); in Test_Init()
108 ok_ptr(CritSect.OwningThread, NULL); in Test_Init()
288 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire()
296 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire()
316 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire()
331 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire()
345 ok_ptr(CritSect.OwningThread, UlongToHandle(dwThreadId1)); in Test_Acquire()
364 ok_ptr(CritSect.OwningThread, UlongToHandle(dwThreadId2)); in Test_Acquire()
/reactos/modules/rostests/apitests/gdi32/
H A DEngAcquireSemaphore.c24 ok(lpcrit->OwningThread != 0, "lpcrit->OwningThread=%p\n", lpcrit->OwningThread); in Test_EngAcquireSemaphore()
H A DEngCreateSemaphore.c22 ok(lpcrit->OwningThread == 0, "lpcrit->OwningThread=%p\n", lpcrit->OwningThread); in Test_EngCreateSemaphore()
H A DEngReleaseSemaphore.c25 ok(lpcrit->OwningThread == 0, "lpcrit->OwningThread=%p\n", lpcrit->OwningThread); in Test_EngReleaseSemaphore()
/reactos/sdk/include/ddk/
H A Dwsk.h190 _In_opt_ PETHREAD OwningThread,
376 _In_opt_ PETHREAD OwningThread,
420 _In_opt_ PETHREAD OwningThread,
433 _In_opt_ PETHREAD OwningThread,
/reactos/sdk/lib/drivers/wdf/shared/inc/private/common/
H A Dfxspinlock.hpp32 MxThread OwningThread; member
/reactos/ntoskrnl/include/internal/
H A Dfsrtl.h68 ULONG_PTR OwningThread; member
/reactos/ntoskrnl/fsrtl/
H A Dnotify.c27 if (RealNotifySync->OwningThread != CurrentThread) in FsRtlNotifyAcquireFastMutex()
30 RealNotifySync->OwningThread = CurrentThread; in FsRtlNotifyAcquireFastMutex()
48 RealNotifySync->OwningThread = (ULONG_PTR)0; in FsRtlNotifyReleaseFastMutex()
1599 RealNotifySync->OwningThread = 0; in FsRtlNotifyInitializeSync()
/reactos/subsystems/csr/csrsrv/
H A Dapi.h19 (CsrProcessLock.OwningThread == NtCurrentTeb()->ClientId.UniqueThread)
/reactos/modules/rostests/winetests/ntdll/
H A Drtl.c3195 ok(cs.OwningThread == ULongToHandle(GetCurrentThreadId()), "unexpected OwningThread\n"); in test_RtlLeaveCriticalSection()
3201 ok(!cs.OwningThread, "unexpected OwningThread %p\n", cs.OwningThread); in test_RtlLeaveCriticalSection()
3211 ok(!cs.OwningThread, "unexpected OwningThread %p\n", cs.OwningThread); in test_RtlLeaveCriticalSection()
3218 ok(!cs.OwningThread, "unexpected OwningThread %p\n", cs.OwningThread); in test_RtlLeaveCriticalSection()
3226 ok(cs.OwningThread == ULongToHandle(GetCurrentThreadId()), "unexpected OwningThread\n"); in test_RtlLeaveCriticalSection()
3232 ok(!cs.OwningThread, "unexpected OwningThread %p\n", cs.OwningThread); in test_RtlLeaveCriticalSection()
H A Dgenerated.c2685 TEST_FIELD_SIZE (RTL_CRITICAL_SECTION, OwningThread, 8) in test_pack_RTL_CRITICAL_SECTION()
2686 TEST_FIELD_ALIGN (RTL_CRITICAL_SECTION, OwningThread, 8) in test_pack_RTL_CRITICAL_SECTION()
2687 TEST_FIELD_OFFSET(RTL_CRITICAL_SECTION, OwningThread, 16) in test_pack_RTL_CRITICAL_SECTION()
6102 TEST_FIELD_SIZE (RTL_CRITICAL_SECTION, OwningThread, 4) in test_pack_RTL_CRITICAL_SECTION()
6103 TEST_FIELD_ALIGN (RTL_CRITICAL_SECTION, OwningThread, 4) in test_pack_RTL_CRITICAL_SECTION()
6104 TEST_FIELD_OFFSET(RTL_CRITICAL_SECTION, OwningThread, 12) in test_pack_RTL_CRITICAL_SECTION()
/reactos/dll/win32/kernel32/client/
H A Dthread.c373 if (LoaderLock) ASSERT(NtCurrentTeb()->ClientId.UniqueThread != LoaderLock->OwningThread); in ExitThread()
619 ASSERT(NtCurrentTeb()->ClientId.UniqueThread != LoaderLock->OwningThread); in TerminateThread()
/reactos/sdk/include/ndk/
H A Drtltypes.h1434 HANDLE OwningThread; member
1521 HANDLE OwningThread; member
/reactos/dll/win32/imm32/
H A Dctf.c18 return NtCurrentTeb()->ProcessEnvironmentBlock->LoaderLock->OwningThread == in Imm32InsideLoaderLock()
/reactos/sdk/include/asm/
H A Dksx.template.h399 OFFSET(CsOwningThread, RTL_CRITICAL_SECTION, OwningThread),
/reactos/sdk/include/xdk/
H A Dwinnt_old.h2806 HANDLE OwningThread; member
/reactos/sdk/include/psdk/
H A Dwinbase.h922 HANDLE OwningThread; member