Home
last modified time | relevance | path

Searched refs:sync_alloc_ (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_sync.cpp55 sync_alloc_(LINKER_INITIALIZED, "sync allocator") { in MetaMap()
100 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in FreeRange()
103 sync_alloc_.Free(&proc->sync_cache, idx & ~kFlagMask); in FreeRange()
189 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetBlock()
203 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetSync()
207 sync_alloc_.Free(&thr->proc()->sync_cache, myidx); in GetSync()
222 myidx = sync_alloc_.Alloc(&thr->proc()->sync_cache); in GetSync()
223 mys = sync_alloc_.Map(myidx); in GetSync()
260 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in MoveMemory()
269 sync_alloc_.FlushCache(&proc->sync_cache); in OnProcIdle()
[all …]
H A Dtsan_sync.h144 SyncAlloc sync_alloc_; variable
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_sync.cc56 , sync_alloc_("sync allocator") { in MetaMap()
101 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in FreeRange()
104 sync_alloc_.Free(&proc->sync_cache, idx & ~kFlagMask); in FreeRange()
190 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetBlock()
218 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetAndLock()
222 sync_alloc_.Free(&thr->proc()->sync_cache, myidx); in GetAndLock()
241 myidx = sync_alloc_.Alloc(&thr->proc()->sync_cache); in GetAndLock()
242 mys = sync_alloc_.Map(myidx); in GetAndLock()
283 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in MoveMemory()
292 sync_alloc_.FlushCache(&proc->sync_cache); in OnProcIdle()
H A Dtsan_sync.h135 SyncAlloc sync_alloc_; variable
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_sync.cc58 , sync_alloc_("sync allocator") { in MetaMap()
103 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in FreeRange()
106 sync_alloc_.Free(&proc->sync_cache, idx & ~kFlagMask); in FreeRange()
192 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetBlock()
220 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetAndLock()
224 sync_alloc_.Free(&thr->proc()->sync_cache, myidx); in GetAndLock()
243 myidx = sync_alloc_.Alloc(&thr->proc()->sync_cache); in GetAndLock()
244 mys = sync_alloc_.Map(myidx); in GetAndLock()
285 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in MoveMemory()
294 sync_alloc_.FlushCache(&proc->sync_cache); in OnProcIdle()
H A Dtsan_sync.h137 SyncAlloc sync_alloc_; variable