Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_persistent_allocator.h31 atomic_uintptr_t region_pos; // Region allocator for Node's. variable
38 uptr cmp = atomic_load(&region_pos, memory_order_acquire); in tryAlloc()
41 if (atomic_compare_exchange_weak(&region_pos, &cmp, cmp + size, in tryAlloc()
56 atomic_store(&region_pos, 0, memory_order_relaxed); in alloc()
61 atomic_store(&region_pos, mem, memory_order_release); in alloc()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_persistent_allocator.h30 atomic_uintptr_t region_pos; // Region allocator for Node's. variable
37 uptr cmp = atomic_load(&region_pos, memory_order_acquire); in tryAlloc()
40 if (atomic_compare_exchange_weak(&region_pos, &cmp, cmp + size, in tryAlloc()
55 atomic_store(&region_pos, 0, memory_order_relaxed); in alloc()
60 atomic_store(&region_pos, mem, memory_order_release); in alloc()