Home
last modified time | relevance | path

Searched refs:TSDs (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_tsd_shared.cpp23 static ScudoTSD *TSDs; variable
38 TSDs = reinterpret_cast<ScudoTSD *>( in initOnce()
41 TSDs[I].init(); in initOnce()
64 setCurrentTSD(&TSDs[Index % NumberOfTSDs]); in initThread()
80 if (TSDs[Index].tryLock()) { in getTSDAndLockSlow()
81 setCurrentTSD(&TSDs[Index]); in getTSDAndLockSlow()
82 return &TSDs[Index]; in getTSDAndLockSlow()
84 const uptr Precedence = TSDs[Index].getPrecedence(); in getTSDAndLockSlow()
87 CandidateTSD = &TSDs[Index]; in getTSDAndLockSlow()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dtsd_shared.h31 TSDs[I].init(Instance); in init()
47 TSDs[I].commitBack(Instance); in unmapTestOnly()
48 TSDs[I] = {}; in unmapTestOnly()
81 TSDs[I].lock(); in disable()
86 TSDs[I].unlock(); in enable()
157 setCurrentTSD(&TSDs[Index % NumberOfTSDs]); in initThread()
179 if (TSDs[Index].tryLock()) { in getTSDAndLockSlow()
180 setCurrentTSD(&TSDs[Index]); in getTSDAndLockSlow()
181 return &TSDs[Index]; in getTSDAndLockSlow()
186 CandidateTSD = &TSDs[Index]; in getTSDAndLockSlow()
[all …]
/llvm-project-15.0.7/llvm/docs/
H A DScudoHardenedAllocator.rst285 | M_TSDS_COUNT_MAX | Increases the maximum number of TSDs that can be used |