Home
last modified time | relevance | path

Searched refs:id_gen (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector2.cc114 int id_gen; member
126 id_gen = 0; in DD()
182 CHECK_LT(id_gen, kMaxMutex); in allocateId()
183 if ((id_gen % kL2Size) == 0) { in allocateId()
184 mutex[id_gen / kL2Size] = (Mutex*)MmapOrDie(kL2Size * sizeof(Mutex), in allocateId()
187 id = id_gen++; in allocateId()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector2.cpp113 int id_gen = 0; member
177 CHECK_LT(id_gen, kMaxMutex); in allocateId()
178 if ((id_gen % kL2Size) == 0) { in allocateId()
179 mutex[id_gen / kL2Size] = (Mutex*)MmapOrDie(kL2Size * sizeof(Mutex), in allocateId()
182 id = id_gen++; in allocateId()
/external/llvm-project/compiler-rt/lib/tsan/dd/
Ddd_rtl.cpp100 static atomic_uintptr_t id_gen; in ThreadInit() local
101 uptr id = atomic_fetch_add(&id_gen, 1, memory_order_relaxed); in ThreadInit()
/external/compiler-rt/lib/tsan/dd/
Ddd_rtl.cc101 static atomic_uintptr_t id_gen; in ThreadInit() local
102 uptr id = atomic_fetch_add(&id_gen, 1, memory_order_relaxed); in ThreadInit()