Lines Matching refs:MemprofChunk
153 struct MemprofChunk : ChunkHeader { struct
169 MemprofChunk *chunk_header;
172 MemprofChunk *Get() const { in Get()
178 void Set(MemprofChunk *p) { in Set()
314 static MemInfoBlock CreateNewMIB(uptr p, MemprofChunk *m, u64 user_size) { in CreateNewMIB()
322 static MemInfoBlock CreateNewMIBWithHistogram(uptr p, MemprofChunk *m, in CreateNewMIBWithHistogram()
342 static MemInfoBlock CreateNewMIBWithoutHistogram(uptr p, MemprofChunk *m, in CreateNewMIBWithoutHistogram()
386 MemprofChunk *m = in InsertLiveBlocks()
473 MemprofChunk *m = reinterpret_cast<MemprofChunk *>(chunk_beg); in Allocate()
514 MemprofChunk *m = reinterpret_cast<MemprofChunk *>(chunk_beg); in Deallocate()
550 MemprofChunk *m = reinterpret_cast<MemprofChunk *>(chunk_beg); in Reallocate()
588 MemprofChunk *GetMemprofChunk(void *alloc_beg, u64 &user_requested_size) { in GetMemprofChunk()
591 MemprofChunk *p = reinterpret_cast<LargeChunkHeader *>(alloc_beg)->Get(); in GetMemprofChunk()
595 p = reinterpret_cast<MemprofChunk *>(alloc_beg); in GetMemprofChunk()
606 MemprofChunk *GetMemprofChunkByAddr(uptr p, u64 &user_requested_size) { in GetMemprofChunkByAddr()
613 MemprofChunk *m = GetMemprofChunkByAddr(p, user_requested_size); in AllocationSize()
622 return reinterpret_cast<MemprofChunk *>(p - kChunkHeaderSize)->UsedSize(); in AllocationSizeFast()
752 MemprofChunk *m = in memprof_malloc_begin()