Lines Matching refs:HEADERSIZE
103 #define MINOBJSIZE (HEADERSIZE + ALIGNMENT) // smallest object
104 #define HEADERSIZE ROUND(sizeof(Cell), ALIGNMENT) macro
357 size += HEADERSIZE; in OSAllocFromHeap()
417 hd->headerBytes += HEADERSIZE; in OSAllocFromHeap()
418 hd->paddingBytes += cell->size - (HEADERSIZE + requested); in OSAllocFromHeap()
422 return (void*) ((char*) cell + HEADERSIZE); in OSAllocFromHeap()
493 if (InRange(cell, (char*) start - HEADERSIZE, end) && in OSAllocFixed()
507 if (InRange(cell, (char*) start - HEADERSIZE, end)) in OSAllocFixed()
590 ASSERTMSG(InRange(ptr, (char*) ArenaStart + HEADERSIZE, (char*) ArenaEnd), in OSFreeToHeap()
595 cell = (Cell*) ((char*) ptr - HEADERSIZE); in OSFreeToHeap()
603 hd->headerBytes -= HEADERSIZE; in OSFreeToHeap()
604 hd->paddingBytes -= cell->size - (HEADERSIZE + cell->requested); in OSFreeToHeap()
930 CHECK(HEADERSIZE + cell->requested <= cell->size); in OSCheckHeap()
945 free += cell->size - HEADERSIZE; in OSCheckHeap()
973 ASSERTMSG(InRange(ptr, (char*) ArenaStart + HEADERSIZE, (char*) ArenaEnd), in OSReferentSize()
977 cell = (Cell*) ((char*) ptr - HEADERSIZE); in OSReferentSize()
988 return (u32) (cell->size - HEADERSIZE); in OSReferentSize()
1077 visitor((void*)((u8*)cell + HEADERSIZE), (u32)cell->size); in OSVisitAllocated()