Home
last modified time | relevance | path

Searched refs:RtlEnterCriticalSection (Results 1 – 25 of 45) sorted by relevance

12

/reactos/sdk/lib/rtl/
H A Dreadme.txt5 RtlEnterCriticalSection (and friends) must be used exclusively. ExAcquireFastMutex (and friends) mu…
H A Dresource.c93 RtlEnterCriticalSection(&Resource->Lock); in RtlAcquireResourceExclusive()
147 RtlEnterCriticalSection(&Resource->Lock); in RtlAcquireResourceShared()
188 RtlEnterCriticalSection(&Resource->Lock); in RtlConvertExclusiveToShared()
225 RtlEnterCriticalSection(&Resource->Lock); in RtlConvertSharedToExclusive()
243 RtlEnterCriticalSection(&Resource->Lock); in RtlConvertSharedToExclusive()
258 RtlEnterCriticalSection(&Resource->Lock); in RtlReleaseResource()
H A Dvectoreh.c63 RtlEnterCriticalSection(&RtlpVectoredHandlerLock); in RtlpCallVectoredHandlers()
91 RtlEnterCriticalSection(&RtlpVectoredHandlerLock); in RtlpCallVectoredHandlers()
118 RtlEnterCriticalSection(&RtlpVectoredHandlerLock); in RtlpCallVectoredHandlers()
171 RtlEnterCriticalSection(&RtlpVectoredHandlerLock); in RtlpAddVectoredHandler()
210 RtlEnterCriticalSection(&RtlpVectoredHandlerLock); in RtlpRemoveVectoredHandler()
H A Dtimerqueue.c89 RtlEnterCriticalSection(&q->cs); in timer_cleanup_callback()
152 RtlEnterCriticalSection(&q->cs); in queue_timer_expire()
198 RtlEnterCriticalSection(&q->cs); in queue_get_timeout()
236 RtlEnterCriticalSection(&q->cs); in timer_queue_thread_proc()
343 RtlEnterCriticalSection(&q->cs); in RtlDeleteTimerQueueEx()
451 RtlEnterCriticalSection(&q->cs); in RtlCreateTimer()
510 RtlEnterCriticalSection(&q->cs); in RtlUpdateTimer()
560 RtlEnterCriticalSection(&q->cs); in RtlDeleteTimer()
H A Dheapuser.c31 RtlEnterCriticalSection(&RtlpProcessHeapsListLock); in RtlpAddHeapToProcessList()
66 RtlEnterCriticalSection(&RtlpProcessHeapsListLock); in RtlpRemoveHeapFromProcessList()
135 RtlEnterCriticalSection(&RtlpProcessHeapsListLock); in RtlGetProcessHeaps()
H A Dcritical.c411 RtlEnterCriticalSection(&RtlCriticalSectionLock); in RtlDeleteCriticalSection()
487 RtlEnterCriticalSection(PRTL_CRITICAL_SECTION CriticalSection) in RtlEnterCriticalSection() function
657 RtlEnterCriticalSection(&RtlCriticalSectionLock); in RtlInitializeCriticalSectionEx()
H A Dworkitem.c367 Status = RtlEnterCriticalSection(&ThreadPoolLock); in RtlpExecuteIoWorkItem()
624 Status = RtlEnterCriticalSection(&ThreadPoolLock); in RtlpIoWorkerThreadProc()
735 if (!NT_SUCCESS(RtlEnterCriticalSection(&ThreadPoolLock))) in RtlpWorkerThreadProc()
822 Status = RtlEnterCriticalSection(&ThreadPoolLock); in RtlQueueWorkItem()
/reactos/win32ss/user/winsrv/consrv/
H A Dhandle.c126 RtlEnterCriticalSection(&SourceProcessData->HandleTableLock); in ConSrvInheritHandlesTable()
174 RtlEnterCriticalSection(&ProcessData->HandleTableLock); in ConSrvFreeHandlesTable()
297 RtlEnterCriticalSection(&ProcessData->HandleTableLock); in ConSrvRemoveObject()
337 RtlEnterCriticalSection(&ProcessData->HandleTableLock); in ConSrvGetObject()
408 RtlEnterCriticalSection(&ProcessData->HandleTableLock); in CON_API()
457 RtlEnterCriticalSection(&ProcessData->HandleTableLock); in CON_API()
517 RtlEnterCriticalSection(&ProcessData->HandleTableLock); in CON_API()
555 RtlEnterCriticalSection(&ProcessData->HandleTableLock); in CON_API()
602 RtlEnterCriticalSection(&ProcessData->HandleTableLock); in CON_API()
/reactos/dll/appcompat/apphelp/
H A Ddbgheap.c62 RtlEnterCriticalSection(&g_SdbpAllocationLock); in SdbpInsertAllocation()
73 RtlEnterCriticalSection(&g_SdbpAllocationLock); in SdbpUpdateAllocation()
110 RtlEnterCriticalSection(&g_SdbpAllocationLock); in SdbpRemoveAllocation()
151 RtlEnterCriticalSection(&g_SdbpAllocationLock); in SdbpDebugHeapDeinit()
/reactos/base/system/smss/
H A Dsmsessn.c44 RtlEnterCriticalSection(&SmpKnownSubSysLock); in SmpCheckDuplicateMuSessionId()
103 RtlEnterCriticalSection(&SmpSessionListLock); in SmpDeleteSession()
130 RtlEnterCriticalSection(&SmpSessionListLock); in SmpAllocateSessionId()
H A Dsmsubsys.c50 RtlEnterCriticalSection(&SmpKnownSubSysLock); in SmpDereferenceSubsystem()
74 RtlEnterCriticalSection(&SmpKnownSubSysLock); in SmpLocateKnownSubSysByCid()
109 RtlEnterCriticalSection(&SmpKnownSubSysLock); in SmpLocateKnownSubSysByType()
166 RtlEnterCriticalSection(&SmpKnownSubSysLock); in SmpLoadSubSystem()
178 RtlEnterCriticalSection(&SmpKnownSubSysLock); in SmpLoadSubSystem()
491 RtlEnterCriticalSection(&SmpKnownSubSysLock); in SmpLoadSubSystem()
/reactos/win32ss/user/user32/misc/
H A Dusrapihk.c174 RtlEnterCriticalSection(&gcsUserApiHook); in EndUserApiHook()
198 RtlEnterCriticalSection(&gcsUserApiHook); in ClearUserApiHook()
228 RtlEnterCriticalSection(&gcsUserApiHook); in ClearUserApiHook()
261 RtlEnterCriticalSection(&gcsUserApiHook); in InitUserApiHook()
/reactos/subsystems/csr/csrsrv/
H A Dapi.h13 RtlEnterCriticalSection(&CsrProcessLock);
22 RtlEnterCriticalSection(&CsrWaitListsLock);
28 RtlEnterCriticalSection(&CsrNtSessionLock);
/reactos/subsystems/win/basesrv/
H A Dvdm.c304 RtlEnterCriticalSection(&DosCriticalSection); in BaseSrvCleanupVDMResources()
650 RtlEnterCriticalSection(CriticalSection); in CSR_API()
820 RtlEnterCriticalSection(CriticalSection); in CSR_API()
989 RtlEnterCriticalSection(CriticalSection); in CSR_API()
1177 RtlEnterCriticalSection(CriticalSection); in CSR_API()
1256 RtlEnterCriticalSection(&DosCriticalSection); in CSR_API()
1307 RtlEnterCriticalSection(&DosCriticalSection); in CSR_API()
1352 RtlEnterCriticalSection(&DosCriticalSection); in CSR_API()
1413 RtlEnterCriticalSection(&DosCriticalSection); in CSR_API()
H A Ddosdev.c322 RtlEnterCriticalSection(&BaseSrvDDDBSMCritSec); in BaseSrvBSMThread()
355 RtlEnterCriticalSection(&BaseSrvDDDBSMCritSec); in BaseSrvBSMThread()
442 RtlEnterCriticalSection(&BaseSrvDDDBSMCritSec); in AddBSMRequest()
552 Status = RtlEnterCriticalSection(&BaseDefineDosDeviceCritSec); in CSR_API()
H A Dnls.c130 RtlEnterCriticalSection(&NlsCacheCriticalSection); in BaseSrvNLSInit()
350 Status = RtlEnterCriticalSection(&NlsCacheCriticalSection); in CSR_API()
/reactos/modules/rostests/apitests/ntdll/
H A DRtlCriticalSection.c242 RtlEnterCriticalSection(&CritSect); in ThreadProc1()
262 RtlEnterCriticalSection(&CritSect); in ThreadProc2()
285 RtlEnterCriticalSection(&CritSect); in Test_Acquire()
293 RtlEnterCriticalSection(&CritSect); in Test_Acquire()
/reactos/dll/win32/kernel32/client/file/
H A Dfind.c405 RtlEnterCriticalSection(&FindDataHandle->Lock); in FindNextFileW()
524 RtlEnterCriticalSection(&FindDataHandle->Lock); in FindClose()
533 RtlEnterCriticalSection(&FindDataHandle->Lock); in FindClose()
1128 RtlEnterCriticalSection(&FindDataHandle->Lock); in FindNextStreamW()
/reactos/dll/win32/kernel32/wine/
H A Dprofile.c1172 RtlEnterCriticalSection( &PROFILE_CritSect ); in GetPrivateProfileStringW()
1365 RtlEnterCriticalSection( &PROFILE_CritSect ); in GetPrivateProfileSectionW()
1458 RtlEnterCriticalSection( &PROFILE_CritSect ); in WritePrivateProfileStringW()
1517 RtlEnterCriticalSection( &PROFILE_CritSect ); in WritePrivateProfileSectionW()
1646 RtlEnterCriticalSection( &PROFILE_CritSect ); in GetPrivateProfileSectionNamesW()
1701 RtlEnterCriticalSection( &PROFILE_CritSect ); in GetPrivateProfileStructW()
1821 RtlEnterCriticalSection( &PROFILE_CritSect ); in WritePrivateProfileStructW()
/reactos/dll/win32/kernel32/client/console/
H A Dconsole.c120 RtlEnterCriticalSection(&ConsoleLock); in ConsoleControlDispatcher()
166 RtlEnterCriticalSection(&ConsoleLock); in ConsoleControlDispatcher()
323 RtlEnterCriticalSection(&ExeNameLock); in GetCurrentExeName()
1378 RtlEnterCriticalSection(&ConsoleLock); in AllocConsole()
1451 RtlEnterCriticalSection(&ConsoleLock); in FreeConsole()
2114 RtlEnterCriticalSection(&ConsoleLock); in SetConsoleCtrlHandler()
2682 RtlEnterCriticalSection(&ConsoleLock); in AttachConsole()
2801 RtlEnterCriticalSection(&ExeNameLock); in SetConsoleInputExeNameW()
2915 RtlEnterCriticalSection(&ExeNameLock); in GetConsoleInputExeNameW()
/reactos/dll/ntdll/ldr/
H A Dldrapi.c256 RtlEnterCriticalSection(&LdrpLoaderLock); in LdrLockLoaderLock()
287 RtlEnterCriticalSection(&LdrpLoaderLock); in LdrLockLoaderLock()
966 RtlEnterCriticalSection(NtCurrentPeb()->LoaderLock); in LdrQueryProcessModuleInformationEx()
1305 if (!LdrpInLdrInit) RtlEnterCriticalSection(Peb->LoaderLock); in LdrUnloadDll()
/reactos/dll/ntdll/rtl/
H A Dlibsupp.c77 RtlEnterCriticalSection(Peb->FastPebLock); in RtlAcquirePebLock()
114 return RtlEnterCriticalSection(&Lock->CriticalSection); in RtlEnterHeapLock()
378 RtlEnterCriticalSection(&AtomTable->CriticalSection); in RtlpLockAtomTable()
666 RtlEnterCriticalSection (NtCurrentPeb()->LoaderLock); in RtlPcToFileHeader()
/reactos/dll/win32/imm32/
H A Dime.c24 RtlEnterCriticalSection(&gcsImeDpi); in Imm32FindImeDpi()
313 RtlEnterCriticalSection(&gcsImeDpi); in Imm32LoadImeDpi()
376 RtlEnterCriticalSection(&gcsImeDpi); in Imm32ReleaseIME()
545 RtlEnterCriticalSection(&gcsImeDpi); in Imm32GetImeMenuItemWInterProcess()
984 RtlEnterCriticalSection(&gcsImeDpi); in ImmLockImeDpi()
1016 RtlEnterCriticalSection(&gcsImeDpi); in ImmUnlockImeDpi()
/reactos/dll/win32/kernel32/client/
H A Dpath.c434 RtlEnterCriticalSection(&BaseDllDirectoryLock); in BaseComputeProcessDllPath()
822 RtlEnterCriticalSection(&BaseDllDirectoryLock); in SetDllDirectoryW()
871 RtlEnterCriticalSection(&BaseDllDirectoryLock); in SetDllDirectoryA()
892 RtlEnterCriticalSection(&BaseDllDirectoryLock); in GetDllDirectoryW()
924 RtlEnterCriticalSection(&BaseDllDirectoryLock); in GetDllDirectoryA()
/reactos/win32ss/gdi/gdi32/objects/
H A Deng.c18 RtlEnterCriticalSection((PRTL_CRITICAL_SECTION)hsem); in EngAcquireSemaphore()

12