Home
last modified time | relevance | path

Searched refs:TlsIndex (Results 1 – 12 of 12) sorted by relevance

/reactos/dll/win32/ws2_32/src/
H A Ddthread.c41 PWSTHREAD Thread = TlsGetValue(TlsIndex); in WsThreadBlockingCallback()
158 if (TlsIndex != TLS_OUT_OF_INDEXES) in WsThreadStartup()
213 TlsSetValue(TlsIndex, NULL); in WsThreadDelete()
230 if (TlsIndex != TLS_OUT_OF_INDEXES) in WsThreadDestroyCurrentThread()
233 if ((Thread = TlsGetValue(TlsIndex))) in WsThreadDestroyCurrentThread()
237 TlsSetValue(TlsIndex, 0); in WsThreadDestroyCurrentThread()
251 if (TlsIndex != TLS_OUT_OF_INDEXES) in WsThreadCreate()
260 if (TlsSetValue(TlsIndex, Thread)) in WsThreadCreate()
283 if ((*Thread = TlsGetValue(TlsIndex))) in WsThreadGetCurrentThread()
302 if ((Thread = TlsGetValue(TlsIndex))) in WsThreadGetThreadId()
H A Ddsocket.c80 if ((CurrentThread = TlsGetValue(TlsIndex))) in WsSockInitialize()
/reactos/dll/win32/kernel32/client/
H A Dthread.c1170 ULONG TlsIndex; in TlsFree() local
1182 TlsIndex = Index - TLS_MINIMUM_AVAILABLE; in TlsFree()
1183 if (TlsIndex >= TLS_EXPANSION_SLOTS) in TlsFree()
1194 Index = TlsIndex; in TlsFree()
1279 DWORD TlsIndex; in TlsSetValue() local
1291 TlsIndex = Index - TLS_MINIMUM_AVAILABLE; in TlsSetValue()
1292 if (TlsIndex >= TLS_EXPANSION_SLOTS) in TlsSetValue()
1325 Teb->TlsExpansionSlots[TlsIndex] = Value; in TlsSetValue()
/reactos/dll/win32/shell32/shellmenu/
H A DCMenuFocusManager.cpp88 DWORD CMenuFocusManager::TlsIndex = 0; member in CMenuFocusManager
93 return reinterpret_cast<CMenuFocusManager *>(TlsGetValue(TlsIndex)); in GetManager()
101 if (!TlsIndex) in AcquireManager()
103 if ((TlsIndex = TlsAlloc()) == TLS_OUT_OF_INDEXES) in AcquireManager()
112 TlsSetValue(TlsIndex, obj); in AcquireManager()
125 TlsSetValue(TlsIndex, NULL); in ReleaseManager()
H A DCMenuFocusManager.h29 static DWORD TlsIndex;
/reactos/ntoskrnl/ps/
H A Dquery.c2035 ULONG_PTR TlsIndex = 0; in NtSetInformationThread() local
2452 TlsIndex = *(PULONG)ThreadInformation; in NtSetInformationThread()
2496 if (TlsIndex > TLS_MINIMUM_AVAILABLE - 1) in NtSetInformationThread()
2498 if (TlsIndex < (TLS_MINIMUM_AVAILABLE + in NtSetInformationThread()
2506 ExpansionSlots[TlsIndex - TLS_MINIMUM_AVAILABLE] = 0; in NtSetInformationThread()
2513 Teb->TlsSlots[TlsIndex] = NULL; in NtSetInformationThread()
/reactos/sdk/include/ndk/
H A Dldrtypes.h148 USHORT TlsIndex; member
/reactos/dll/ntdll/ldr/
H A Dldrinit.c568 if (LdrEntry->TlsIndex) in LdrpInitializeThread()
834 if (LdrEntry->TlsIndex && Context) in LdrpRunInitializeRoutines()
1014 if (LdrEntry->TlsIndex) in LdrShutdownProcess()
1139 if (LdrEntry->TlsIndex) in LdrShutdownThread()
1304 LdrEntry->TlsIndex = -1; in LdrpInitializeTls()
H A Dldrapi.c1181 if (!LdrEntry->TlsIndex) in LdrDisableThreadCalloutsForDll()
/reactos/drivers/storage/ide/uniata/
H A Dntddk_ex.h209 USHORT TlsIndex; member
/reactos/dll/win32/ws2_32/inc/
H A Dws2_32p.h277 #define TlsIndex GlobalTlsIndex macro
/reactos/sdk/include/reactos/wine/
H A Dwinternl.h2243 SHORT TlsIndex; member