Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.cpp208 u8 old_chunk_state = CHUNK_QUARANTINE; in Recycle() local
209 if (!atomic_compare_exchange_strong(&m->chunk_state, &old_chunk_state, in Recycle()
211 CHECK_EQ(old_chunk_state, CHUNK_QUARANTINE); in Recycle()
619 u8 old_chunk_state = CHUNK_ALLOCATED; in AtomicallySetQuarantineFlagIfAllocated() local
621 if (!atomic_compare_exchange_strong(&m->chunk_state, &old_chunk_state, in AtomicallySetQuarantineFlagIfAllocated()
624 ReportInvalidFree(ptr, old_chunk_state, stack); in AtomicallySetQuarantineFlagIfAllocated()
628 CHECK_EQ(CHUNK_ALLOCATED, old_chunk_state); in AtomicallySetQuarantineFlagIfAllocated()
/external/compiler-rt/lib/asan/
Dasan_allocator.cc464 u8 old_chunk_state = CHUNK_ALLOCATED; in AtomicallySetQuarantineFlagIfAllocated() local
466 if (!atomic_compare_exchange_strong((atomic_uint8_t *)m, &old_chunk_state, in AtomicallySetQuarantineFlagIfAllocated()
469 ReportInvalidFree(ptr, old_chunk_state, stack); in AtomicallySetQuarantineFlagIfAllocated()
473 CHECK_EQ(CHUNK_ALLOCATED, old_chunk_state); in AtomicallySetQuarantineFlagIfAllocated()