Home
last modified time | relevance | path

Searched refs:freelist_ (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_dense_alloc.h93 *(IndexT*)Map(idx) = freelist_; in FlushCache()
94 freelist_ = idx; in FlushCache()
110 IndexT freelist_ = {0}; variable
116 if (freelist_ == 0) { in Refill()
133 freelist_ = fillpos * kL2Size + start; in Refill()
137 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { in Refill()
138 IndexT idx = freelist_; in Refill()
140 freelist_ = *(IndexT*)Map(idx); in Refill()
148 *(IndexT*)Map(idx) = freelist_; in Drain()
149 freelist_ = idx; in Drain()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h116 atomic_uint64_t freelist_ = {0}; variable
134 u64 cmp = atomic_load(&freelist_, memory_order_acquire); in Refill()
141 } while (!atomic_compare_exchange_weak(&freelist_, &cmp, xchg, in Refill()
162 u64 cmp = atomic_load(&freelist_, memory_order_acquire); in Drain()
166 } while (!atomic_compare_exchange_weak(&freelist_, &cmp, xchg, in Drain()