Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.cpp153 CHUNK_ALLOCATED = 2, enumerator
363 CHUNK_ALLOCATED) { in RePoisonChunk()
454 if (left_state == CHUNK_ALLOCATED) in ChooseChunk()
456 if (right_state == CHUNK_ALLOCATED) in ChooseChunk()
475 if (atomic_load(&m->chunk_state, memory_order_acquire) != CHUNK_ALLOCATED) in UpdateAllocationStack()
606 atomic_store(&m->chunk_state, CHUNK_ALLOCATED, memory_order_release); in Allocate()
619 u8 old_chunk_state = CHUNK_ALLOCATED; in AtomicallySetQuarantineFlagIfAllocated()
628 CHECK_EQ(CHUNK_ALLOCATED, old_chunk_state); in AtomicallySetQuarantineFlagIfAllocated()
730 if (chunk_state != CHUNK_ALLOCATED) in Reallocate()
787 if (state == CHUNK_ALLOCATED || state == CHUNK_QUARANTINE) in GetAsanChunk()
[all …]
/external/compiler-rt/lib/asan/
Dasan_allocator.cc105 CHUNK_ALLOCATED = 2, enumerator
304 if (left_chunk->chunk_state == CHUNK_ALLOCATED) in ChooseChunk()
306 if (right_chunk->chunk_state == CHUNK_ALLOCATED) in ChooseChunk()
455 atomic_store((atomic_uint8_t *)m, CHUNK_ALLOCATED, memory_order_release); in Allocate()
464 u8 old_chunk_state = CHUNK_ALLOCATED; in AtomicallySetQuarantineFlagIfAllocated()
473 CHECK_EQ(CHUNK_ALLOCATED, old_chunk_state); in AtomicallySetQuarantineFlagIfAllocated()
552 if (chunk_state != CHUNK_ALLOCATED) in Reallocate()
619 if (m->chunk_state != CHUNK_ALLOCATED) return 0; in AllocationSize()
669 return chunk_ && chunk_->chunk_state == CHUNK_ALLOCATED; in IsAllocated()
821 if (m->chunk_state != __asan::CHUNK_ALLOCATED) in PointsIntoChunk()
[all …]