Lines Matching refs:chunk
43 // We are about to unmap a chunk of user memory.
45 // Since asan's mapping is compacting, the shadow chunk may be
102 // Every chunk of memory allocated by this allocator can be in one of 3 states:
103 // CHUNK_AVAILABLE: the chunk is in the free list and ready to be allocated.
104 // CHUNK_ALLOCATED: the chunk is allocated and not yet freed.
105 // CHUNK_QUARANTINE: the chunk was freed and put into quarantine zone.
140 // The memory chunk allocated from the underlying allocator looks like this:
200 // in the chunk itself.
284 // contents of deallocated chunk, confusing GetAsanChunk lookup.
453 // Expects the chunk to already be marked as quarantined by using
504 // Must mark the chunk as quarantined before any changes to its metadata.
571 // Prefer an allocated chunk over freed chunk and freed chunk
572 // over available chunk.
597 // The address is in the chunk's left redzone, so maybe it is actually
598 // a right buffer overflow from the other chunk to the left.
599 // Search a bit to the left to see if there is another chunk.
603 if (m2 == m1) continue; // Still the same chunk.
725 uptr chunk = m->Beg();
727 return chunk;
731 uptr GetUserBegin(uptr chunk) {
733 __asan::GetAsanChunkByAddrFastLocked(chunk);
738 LsanMetadata::LsanMetadata(uptr chunk) {
739 metadata_ = reinterpret_cast<void *>(chunk - __asan::kChunkHeaderSize);