Home
last modified time | relevance | path

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

/freebsd-head/contrib/llvm-project/compiler-rt/lib/asan/
HDasan_allocator.cpp154 CHUNK_ALLOCATED = 2, enumerator
406 CHUNK_ALLOCATED) { in RePoisonChunk()
498 if (left_state == CHUNK_ALLOCATED) in ChooseChunk()
500 if (right_state == CHUNK_ALLOCATED) in ChooseChunk()
519 if (atomic_load(&m->chunk_state, memory_order_acquire) != CHUNK_ALLOCATED) in UpdateAllocationStack()
653 atomic_store(&m->chunk_state, CHUNK_ALLOCATED, memory_order_release); in Allocate()
666 u8 old_chunk_state = CHUNK_ALLOCATED; in AtomicallySetQuarantineFlagIfAllocated()
675 CHECK_EQ(CHUNK_ALLOCATED, old_chunk_state); in AtomicallySetQuarantineFlagIfAllocated()
769 if (chunk_state != CHUNK_ALLOCATED) in Reallocate()
826 if (state == CHUNK_ALLOCATED || state == CHUNK_QUARANTINE) in GetAsanChunk()
[all …]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/hwasan/
HDhwasan_allocator.cpp42 CHUNK_ALLOCATED = 1, enumerator
91 atomic_store(&chunk_state, CHUNK_ALLOCATED, memory_order_release); in SetAllocated()
102 return atomic_load(&chunk_state, memory_order_relaxed) == CHUNK_ALLOCATED; in IsAllocated()