Lines Matching refs:hoardHeap
44 hoardHeap * o) // The heap that "owns" this sb. in superblock()
57 const int blksize = hoardHeap::align(sizeof(block) in superblock()
58 + hoardHeap::sizeFromClass(_sizeClass)); in superblock()
61 assert((blksize & hoardHeap::ALIGNMENT_MASK) == 0); in superblock()
64 block *b = (block *) hoardHeap::align((unsigned long)(this + 1)); in superblock()
70 assert(((unsigned long)b & hoardHeap::ALIGNMENT_MASK) == 0); in superblock()
80 assert((unsigned long)b <= hoardHeap::align(sizeof(superblock) + blksize * _numBlocks) in superblock()
93 int numBlocks = hoardHeap::numBlocks(sizeclass); in makeSuperblock()
98 moreMemory = hoardHeap::SUPERBLOCK_SIZE; in makeSuperblock()
99 assert(moreMemory >= hoardHeap::align(sizeof(superblock) in makeSuperblock()
100 + (hoardHeap::align(sizeof(block) in makeSuperblock()
101 + hoardHeap::sizeFromClass(sizeclass))) * numBlocks)); in makeSuperblock()
109 size_t blksize = hoardHeap::align(sizeof(block) in makeSuperblock()
110 + hoardHeap::sizeFromClass(sizeclass)); in makeSuperblock()
111 moreMemory = hoardHeap::align(sizeof(superblock) + blksize); in makeSuperblock()
121 buf = (char *)hoardHeap::align((unsigned long)buf); in makeSuperblock()
124 assert(buf == (char *)hoardHeap::align((unsigned long)buf)); in makeSuperblock()
125 assert((((unsigned long)buf) & hoardHeap::ALIGNMENT_MASK) == 0); in makeSuperblock()