Home
last modified time | relevance | path

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

/external/compiler-rt/lib/lsan/
Dlsan_allocator.cc28 struct ChunkMetadata { struct
42 sizeof(ChunkMetadata), SizeClassMap, kRegionSizeLog, ByteMap>
49 sizeof(ChunkMetadata), DefaultSizeClassMap> PrimaryAllocator;
67 static ChunkMetadata *Metadata(const void *p) { in Metadata()
68 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p)); in Metadata()
73 ChunkMetadata *m = Metadata(p); in RegisterAllocation()
83 ChunkMetadata *m = Metadata(p); in RegisterDeallocation()
130 ChunkMetadata *m = Metadata(p); in GetMallocUsableSize()
157 ChunkMetadata *m = Metadata(reinterpret_cast<void *>(chunk)); in PointsIntoChunk()
178 return reinterpret_cast<ChunkMetadata *>(metadata_)->allocated; in allocated()
[all …]