Searched refs:chunk_state (Results 1 – 3 of 3) sorted by relevance
| /openbsd/src/gnu/llvm/compiler-rt/lib/asan/ |
| D | asan_allocator.cpp | 90 atomic_uint8_t chunk_state; member in __asan::ChunkHeader 208 if (!atomic_compare_exchange_strong(&m->chunk_state, &old_chunk_state, in Recycle() 351 if (ac && atomic_load(&ac->chunk_state, memory_order_acquire) == in RePoisonChunk() 439 u8 left_state = atomic_load(&left_chunk->chunk_state, memory_order_relaxed); in ChooseChunk() 441 atomic_load(&right_chunk->chunk_state, memory_order_relaxed); in ChooseChunk() 464 if (atomic_load(&m->chunk_state, memory_order_acquire) != CHUNK_ALLOCATED) in UpdateAllocationStack() 595 atomic_store(&m->chunk_state, CHUNK_ALLOCATED, memory_order_release); in Allocate() 610 if (!atomic_compare_exchange_strong(&m->chunk_state, &old_chunk_state, in AtomicallySetQuarantineFlagIfAllocated() 626 CHECK_EQ(atomic_load(&m->chunk_state, memory_order_relaxed), in QuarantineChunk() 717 u8 chunk_state = atomic_load(&m->chunk_state, memory_order_acquire); in Reallocate() local [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/hwasan/ |
| D | hwasan_allocator.h | 39 atomic_uint8_t chunk_state; member
|
| D | hwasan_allocator.cpp | 86 atomic_store(&chunk_state, CHUNK_ALLOCATED, memory_order_release); in SetAllocated() 90 atomic_store(&chunk_state, CHUNK_INVALID, memory_order_release); in SetUnallocated() 97 return atomic_load(&chunk_state, memory_order_relaxed) == CHUNK_ALLOCATED && in IsAllocated()
|