/reactos/sdk/lib/drivers/wdf/shared/support/ |
H A D | fxspinlock.cpp | 76 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 D | resource.c | 58 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 D | critical.c | 495 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 D | RtlCriticalSection.c | 52 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 D | EngAcquireSemaphore.c | 24 ok(lpcrit->OwningThread != 0, "lpcrit->OwningThread=%p\n", lpcrit->OwningThread); in Test_EngAcquireSemaphore()
|
H A D | EngCreateSemaphore.c | 22 ok(lpcrit->OwningThread == 0, "lpcrit->OwningThread=%p\n", lpcrit->OwningThread); in Test_EngCreateSemaphore()
|
H A D | EngReleaseSemaphore.c | 25 ok(lpcrit->OwningThread == 0, "lpcrit->OwningThread=%p\n", lpcrit->OwningThread); in Test_EngReleaseSemaphore()
|
/reactos/sdk/include/ddk/ |
H A D | wsk.h | 190 _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 D | fxspinlock.hpp | 32 MxThread OwningThread; member
|
/reactos/ntoskrnl/include/internal/ |
H A D | fsrtl.h | 68 ULONG_PTR OwningThread; member
|
/reactos/ntoskrnl/fsrtl/ |
H A D | notify.c | 27 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 D | api.h | 19 (CsrProcessLock.OwningThread == NtCurrentTeb()->ClientId.UniqueThread)
|
/reactos/modules/rostests/winetests/ntdll/ |
H A D | rtl.c | 3195 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 D | generated.c | 2685 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 D | thread.c | 373 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 D | rtltypes.h | 1434 HANDLE OwningThread; member 1521 HANDLE OwningThread; member
|
/reactos/dll/win32/imm32/ |
H A D | ctf.c | 18 return NtCurrentTeb()->ProcessEnvironmentBlock->LoaderLock->OwningThread == in Imm32InsideLoaderLock()
|
/reactos/sdk/include/asm/ |
H A D | ksx.template.h | 399 OFFSET(CsOwningThread, RTL_CRITICAL_SECTION, OwningThread),
|
/reactos/sdk/include/xdk/ |
H A D | winnt_old.h | 2806 HANDLE OwningThread; member
|
/reactos/sdk/include/psdk/ |
H A D | winbase.h | 922 HANDLE OwningThread; member
|