Searched refs:region_pos (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_persistent_allocator.h | 31 atomic_uintptr_t region_pos; // Region allocator for Node's. variable 38 uptr cmp = atomic_load(®ion_pos, memory_order_acquire); in tryAlloc() 41 if (atomic_compare_exchange_weak(®ion_pos, &cmp, cmp + size, in tryAlloc() 56 atomic_store(®ion_pos, 0, memory_order_relaxed); in alloc() 61 atomic_store(®ion_pos, mem, memory_order_release); in alloc()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_persistent_allocator.h | 30 atomic_uintptr_t region_pos; // Region allocator for Node's. variable 37 uptr cmp = atomic_load(®ion_pos, memory_order_acquire); in tryAlloc() 40 if (atomic_compare_exchange_weak(®ion_pos, &cmp, cmp + size, in tryAlloc() 55 atomic_store(®ion_pos, 0, memory_order_relaxed); in alloc() 60 atomic_store(®ion_pos, mem, memory_order_release); in alloc()
|