Searched refs:TlsIndex (Results 1 – 12 of 12) sorted by relevance
41 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()
80 if ((CurrentThread = TlsGetValue(TlsIndex))) in WsSockInitialize()
1170 ULONG TlsIndex; in TlsFree() local1182 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() local1291 TlsIndex = Index - TLS_MINIMUM_AVAILABLE; in TlsSetValue()1292 if (TlsIndex >= TLS_EXPANSION_SLOTS) in TlsSetValue()1325 Teb->TlsExpansionSlots[TlsIndex] = Value; in TlsSetValue()
88 DWORD CMenuFocusManager::TlsIndex = 0; member in CMenuFocusManager93 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()
29 static DWORD TlsIndex;
2035 ULONG_PTR TlsIndex = 0; in NtSetInformationThread() local2452 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()
148 USHORT TlsIndex; member
568 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()
1181 if (!LdrEntry->TlsIndex) in LdrDisableThreadCalloutsForDll()
209 USHORT TlsIndex; member
277 #define TlsIndex GlobalTlsIndex macro
2243 SHORT TlsIndex; member