Home
last modified time | relevance | path

Searched refs:CriticalSection (Results 1 – 24 of 24) sorted by relevance

/reactos/sdk/lib/rtl/
H A Dcritical.c125 CriticalSection, in RtlpWaitForCriticalSection()
143 if (!CriticalSection->LockSemaphore) in RtlpWaitForCriticalSection()
222 if (!CriticalSection->LockSemaphore) in RtlpUnWaitCriticalSection()
229 CriticalSection, in RtlpUnWaitCriticalSection()
248 CriticalSection, in RtlpUnWaitCriticalSection()
404 if (CriticalSection->LockSemaphore) in RtlDeleteCriticalSection()
611 CriticalSection->LockCount = -1; in RtlInitializeCriticalSectionEx()
613 CriticalSection->OwningThread = 0; in RtlInitializeCriticalSectionEx()
640 CritcalSectionDebugData->CriticalSection = CriticalSection; in RtlInitializeCriticalSectionEx()
653 CriticalSection, in RtlInitializeCriticalSectionEx()
[all …]
H A Dcondvar.c368 IN OUT PRTL_CRITICAL_SECTION CriticalSection OPTIONAL, in InternalSleep()
381 ASSERT((CriticalSection == NULL) != (SRWLock == NULL)); in InternalSleep()
391 if (CriticalSection == NULL) in InternalSleep()
404 RtlLeaveCriticalSection(CriticalSection); in InternalSleep()
438 if (CriticalSection == NULL) in InternalSleep()
451 RtlEnterCriticalSection(CriticalSection); in InternalSleep()
501 IN OUT PRTL_CRITICAL_SECTION CriticalSection, in RtlSleepConditionVariableCS() argument
505 CriticalSection, in RtlSleepConditionVariableCS()
/reactos/sdk/lib/crt/conio/
H A Dkbhit.c14 static CRITICAL_SECTION CriticalSection; variable
34 InitializeCriticalSectionAndSpinCount(&CriticalSection, 0x80000400); in _kbhit()
38 EnterCriticalSection(&CriticalSection); in _kbhit()
42 LeaveCriticalSection(&CriticalSection); in _kbhit()
56 LeaveCriticalSection(&CriticalSection); in _kbhit()
62 LeaveCriticalSection(&CriticalSection); in _kbhit()
68 LeaveCriticalSection(&CriticalSection); in _kbhit()
75 LeaveCriticalSection(&CriticalSection); in _kbhit()
94 LeaveCriticalSection(&CriticalSection); in _kbhit()
/reactos/dll/win32/iprtprio/
H A Diprtprio.c40 CRITICAL_SECTION CriticalSection; variable
53 InitializeCriticalSection(&CriticalSection); in DllMain()
85 EnterCriticalSection(&CriticalSection); in ComputeRouteMetric()
86 LeaveCriticalSection(&CriticalSection); in ComputeRouteMetric()
99 EnterCriticalSection(&CriticalSection); in GetPriorityInfo()
100 LeaveCriticalSection(&CriticalSection); in GetPriorityInfo()
112 EnterCriticalSection(&CriticalSection); in SetPriorityInfo()
113 LeaveCriticalSection(&CriticalSection); in SetPriorityInfo()
/reactos/base/applications/rapps/
H A Dasyncinet.cpp65 InitializeCriticalSection(&(AsyncInet->CriticalSection)); in AsyncInetDownload()
131 EnterCriticalSection(&(AsyncInet->CriticalSection)); in AsyncInetCancel()
135 LeaveCriticalSection(&(AsyncInet->CriticalSection)); in AsyncInetCancel()
151 EnterCriticalSection(&(AsyncInet->CriticalSection)); in AsyncInetIsCanceled()
154 LeaveCriticalSection(&(AsyncInet->CriticalSection)); in AsyncInetIsCanceled()
157 LeaveCriticalSection(&(AsyncInet->CriticalSection)); in AsyncInetIsCanceled()
167 EnterCriticalSection(&(AsyncInet->CriticalSection)); in AsyncInetAcquire()
178 LeaveCriticalSection(&(AsyncInet->CriticalSection)); in AsyncInetAcquire()
189 EnterCriticalSection(&(AsyncInet->CriticalSection)); in AsyncInetRelease()
198 LeaveCriticalSection(&(AsyncInet->CriticalSection)); in AsyncInetRelease()
[all …]
/reactos/subsystems/win/basesrv/
H A Dvdm.c603 PRTL_CRITICAL_SECTION CriticalSection = NULL; in CSR_API() local
650 RtlEnterCriticalSection(CriticalSection); in CSR_API()
802 RtlLeaveCriticalSection(CriticalSection); in CSR_API()
811 PRTL_CRITICAL_SECTION CriticalSection = NULL; in CSR_API() local
820 RtlEnterCriticalSection(CriticalSection); in CSR_API()
928 RtlLeaveCriticalSection(CriticalSection); in CSR_API()
938 PRTL_CRITICAL_SECTION CriticalSection; in CSR_API() local
989 RtlEnterCriticalSection(CriticalSection); in CSR_API()
1159 RtlLeaveCriticalSection(CriticalSection); in CSR_API()
1177 RtlEnterCriticalSection(CriticalSection); in CSR_API()
[all …]
/reactos/dll/directx/d3d9/
H A Dd3d9_baseobject.c102 EnterCriticalSection(&pDevice->CriticalSection); in D3D9BaseObject_LockDevice()
112 LeaveCriticalSection(&pDevice->CriticalSection); in D3D9BaseObject_UnlockDevice()
H A Dd3d9_device.c15 #define LOCK_D3DDEVICE9() if (This->bLockDevice) EnterCriticalSection(&This->CriticalSection);
16 #define UNLOCK_D3DDEVICE9() if (This->bLockDevice) LeaveCriticalSection(&This->CriticalSection);
67 EnterCriticalSection(&This->CriticalSection); in IDirect3DDevice9Base_Release()
76 LeaveCriticalSection(&This->CriticalSection); in IDirect3DDevice9Base_Release()
H A Ddevice.c56 InitializeCriticalSection(&pThisBaseDevice->CriticalSection); in InitD3D9BaseDevice()
H A Dd3d9_haldevice.c11 #define LOCK_D3DDEVICE9() if (This->bLockDevice) EnterCriticalSection(&This->CriticalSection);
12 #define UNLOCK_D3DDEVICE9() if (This->bLockDevice) LeaveCriticalSection(&This->CriticalSection);
H A Dd3d9_puredevice.c11 #define LOCK_D3DDEVICE9() if (This->bLockDevice) EnterCriticalSection(&This->CriticalSection);
12 #define UNLOCK_D3DDEVICE9() if (This->bLockDevice) LeaveCriticalSection(&This->CriticalSection);
H A Dd3d9_device.h89 /* 0x0004 */ CRITICAL_SECTION CriticalSection; member
/reactos/dll/ntdll/rtl/
H A Dlibsupp.c105 return RtlDeleteCriticalSection(&Lock->CriticalSection); in RtlDeleteHeapLock()
114 return RtlEnterCriticalSection(&Lock->CriticalSection); in RtlEnterHeapLock()
123 return RtlTryEnterCriticalSection(&Lock->CriticalSection); in RtlTryEnterHeapLock()
130 return RtlInitializeCriticalSection(&(*Lock)->CriticalSection); in RtlInitializeHeapLock()
137 return RtlLeaveCriticalSection(&Lock->CriticalSection); in RtlLeaveHeapLock()
363 RtlInitializeCriticalSection(&AtomTable->CriticalSection); in RtlpInitAtomTableLock()
371 RtlDeleteCriticalSection(&AtomTable->CriticalSection); in RtlpDestroyAtomTableLock()
378 RtlEnterCriticalSection(&AtomTable->CriticalSection); in RtlpLockAtomTable()
386 RtlLeaveCriticalSection(&AtomTable->CriticalSection); in RtlpUnlockAtomTable()
/reactos/dll/win32/kernel32/kernel32_vista/
H A Dsync.c59 SleepConditionVariableCS(PCONDITION_VARIABLE ConditionVariable, PCRITICAL_SECTION CriticalSection, … in SleepConditionVariableCS() argument
64 …Status = RtlSleepConditionVariableCS(ConditionVariable, (PRTL_CRITICAL_SECTION)CriticalSection, Ge… in SleepConditionVariableCS()
/reactos/modules/rostests/apitests/ntdll/
H A DRtlCriticalSection.c20 _Out_ PRTL_CRITICAL_SECTION CriticalSection,
120 ok_ptr(CritSect.DebugInfo->CriticalSection, &CritSect); in Test_Init()
207 ok_ptr(CritSect.DebugInfo->CriticalSection, &CritSect); in Test_Init()
/reactos/base/applications/rapps/include/
H A Dasyncinet.h38 CRITICAL_SECTION CriticalSection; member
/reactos/sdk/lib/drivers/copysup/
H A Dcopysup.c94 goto CriticalSection; in FsRtlCopyRead2()
180 CriticalSection: in FsRtlCopyRead2()
/reactos/sdk/include/ndk/
H A Drtlfuncs.h3143 _In_ PRTL_CRITICAL_SECTION CriticalSection
3150 _In_ PRTL_CRITICAL_SECTION CriticalSection
3157 _In_ PRTL_CRITICAL_SECTION CriticalSection
3164 _In_ PRTL_CRITICAL_SECTION CriticalSection,
3172 _In_ PRTL_CRITICAL_SECTION CriticalSection
3179 _In_ PRTL_CRITICAL_SECTION CriticalSection
3186 _In_ PRTL_CRITICAL_SECTION CriticalSection
3193 _In_ PRTL_CRITICAL_SECTION CriticalSection
3200 _In_ PRTL_CRITICAL_SECTION CriticalSection
3207 _In_ PRTL_CRITICAL_SECTION CriticalSection
[all …]
H A Drtltypes.h1422 struct _RTL_CRITICAL_SECTION *CriticalSection; member
1448 RTL_CRITICAL_SECTION CriticalSection; member
1688 RTL_CRITICAL_SECTION CriticalSection; member
/reactos/modules/rostests/winetests/ntdll/
H A Dgenerated.c2705 TEST_FIELD_SIZE (RTL_CRITICAL_SECTION_DEBUG, CriticalSection, 8) in test_pack_RTL_CRITICAL_SECTION_DEBUG()
2706 TEST_FIELD_ALIGN (RTL_CRITICAL_SECTION_DEBUG, CriticalSection, 8) in test_pack_RTL_CRITICAL_SECTION_DEBUG()
2707 TEST_FIELD_OFFSET(RTL_CRITICAL_SECTION_DEBUG, CriticalSection, 8) in test_pack_RTL_CRITICAL_SECTION_DEBUG()
2793 TEST_FIELD_SIZE (RTL_RESOURCE_DEBUG, CriticalSection, 8) in test_pack_RTL_RESOURCE_DEBUG()
2794 TEST_FIELD_ALIGN (RTL_RESOURCE_DEBUG, CriticalSection, 8) in test_pack_RTL_RESOURCE_DEBUG()
2795 TEST_FIELD_OFFSET(RTL_RESOURCE_DEBUG, CriticalSection, 8) in test_pack_RTL_RESOURCE_DEBUG()
6122 TEST_FIELD_SIZE (RTL_CRITICAL_SECTION_DEBUG, CriticalSection, 4) in test_pack_RTL_CRITICAL_SECTION_DEBUG()
6123 TEST_FIELD_ALIGN (RTL_CRITICAL_SECTION_DEBUG, CriticalSection, 4) in test_pack_RTL_CRITICAL_SECTION_DEBUG()
6210 TEST_FIELD_SIZE (RTL_RESOURCE_DEBUG, CriticalSection, 4) in test_pack_RTL_RESOURCE_DEBUG()
6211 TEST_FIELD_ALIGN (RTL_RESOURCE_DEBUG, CriticalSection, 4) in test_pack_RTL_RESOURCE_DEBUG()
[all …]
/reactos/sdk/lib/atl/
H A Datlbase.h387 typedef CComFakeCriticalSection CriticalSection; typedef
406 typedef CComCriticalSection CriticalSection; typedef
425 typedef CComFakeCriticalSection CriticalSection; typedef
/reactos/sdk/include/asm/
H A Dksx.template.h406 OFFSET(CsCriticalSection, RTL_CRITICAL_SECTION_DEBUG, CriticalSection),
/reactos/sdk/include/xdk/
H A Dwinnt_old.h2792 struct _RTL_CRITICAL_SECTION *CriticalSection; member
/reactos/sdk/include/psdk/
H A Dwinbase.h907 struct _CRITICAL_SECTION *CriticalSection; member