Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp235 u8 old_chunk_state = CHUNK_QUARANTINE; in Recycle() local
236 if (!atomic_compare_exchange_strong(&m->chunk_state, &old_chunk_state, in Recycle()
239 CHECK_EQ(old_chunk_state, CHUNK_QUARANTINE); in Recycle()
666 u8 old_chunk_state = CHUNK_ALLOCATED; in AtomicallySetQuarantineFlagIfAllocated() local
668 if (!atomic_compare_exchange_strong(&m->chunk_state, &old_chunk_state, in AtomicallySetQuarantineFlagIfAllocated()
671 ReportInvalidFree(ptr, old_chunk_state, stack); in AtomicallySetQuarantineFlagIfAllocated()
675 CHECK_EQ(CHUNK_ALLOCATED, old_chunk_state); in AtomicallySetQuarantineFlagIfAllocated()