Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_allocator.cpp207 u8 old_chunk_state = CHUNK_QUARANTINE; in Recycle() local
208 if (!atomic_compare_exchange_strong(&m->chunk_state, &old_chunk_state, in Recycle()
210 CHECK_EQ(old_chunk_state, CHUNK_QUARANTINE); in Recycle()
608 u8 old_chunk_state = CHUNK_ALLOCATED; in AtomicallySetQuarantineFlagIfAllocated() local
610 if (!atomic_compare_exchange_strong(&m->chunk_state, &old_chunk_state, in AtomicallySetQuarantineFlagIfAllocated()
613 ReportInvalidFree(ptr, old_chunk_state, stack); in AtomicallySetQuarantineFlagIfAllocated()
617 CHECK_EQ(CHUNK_ALLOCATED, old_chunk_state); in AtomicallySetQuarantineFlagIfAllocated()