Searched refs:hoardHeap (Results 1 - 9 of 9) sorted by relevance

/haiku/src/system/libroot/posix/malloc_hoard2/
H A Dsuperblock.cpp44 hoardHeap * o) // The heap that "owns" this sb.
57 const int blksize = hoardHeap::align(sizeof(block)
58 + hoardHeap::sizeFromClass(_sizeClass));
61 assert((blksize & hoardHeap::ALIGNMENT_MASK) == 0);
64 block *b = (block *) hoardHeap::align((unsigned long)(this + 1));
70 assert(((unsigned long)b & hoardHeap::ALIGNMENT_MASK) == 0);
80 assert((unsigned long)b <= hoardHeap::align(sizeof(superblock) + blksize * _numBlocks)
93 int numBlocks = hoardHeap::numBlocks(sizeclass);
98 moreMemory = hoardHeap::SUPERBLOCK_SIZE;
99 assert(moreMemory >= hoardHeap
[all...]
H A Dheap.h20 /* hoardHeap, the base class for threadHeap and processHeap. */
39 class hoardHeap { class in namespace:BPrivate
41 hoardHeap(void);
150 hoardHeap(const hoardHeap &);
151 const hoardHeap & operator=(const hoardHeap &);
226 hoardHeap::incStats(int sizeclass, int updateU, int updateA)
238 hoardHeap::incUStats(int sizeclass)
248 hoardHeap
[all...]
H A Dsuperblock.h42 class hoardHeap; // forward declaration
49 superblock(int numblocks, int sizeclass, hoardHeap *owner);
56 inline hoardHeap *getOwner(void);
59 inline void setOwner(hoardHeap *o);
134 hoardHeap *_owner; // The heap who owns this superblock.
146 hoardHeap *
150 hoardHeap *o = _owner;
156 superblock::setOwner(hoardHeap *o)
H A Dheap.cpp34 size_t hoardHeap::_sizeTable[hoardHeap::SIZE_CLASSES] = {
52 size_t hoardHeap::_threshold[hoardHeap::SIZE_CLASSES] = {
65 size_t hoardHeap::_sizeTable[hoardHeap::SIZE_CLASSES] = {
74 size_t hoardHeap::_threshold[hoardHeap::SIZE_CLASSES] = {
83 size_t hoardHeap::_sizeTable[hoardHeap
128 hoardHeap::hoardHeap(void) function in class:hoardHeap
[all...]
H A Dprocessheap.h48 class processHeap : public hoardHeap {
77 inline superblock *acquire(const int c, hoardHeap * dest);
125 hoardHeap::lock();
131 hoardHeap::unlock();
215 processHeap::acquire(const int sizeclass, hoardHeap * dest)
H A Dthreadheap.h37 class threadHeap : public hoardHeap {
H A Darch-specific.cpp88 hoardHeap::initNumProcs();
154 size = (size + hoardHeap::ALIGNMENT - 1) & ~(hoardHeap::ALIGNMENT - 1);
H A Dwrapper.cpp266 static_cast<hoardHeap*>(pHeap)->lock();
290 static_cast<hoardHeap*>(pHeap)->unlock();
598 for (int i = 0; i < hoardHeap::SIZE_CLASSES; i++) {
612 stats.chunks_free = hoardHeap::SIZE_CLASSES - chunks;
H A Dprocessheap.cpp196 hoardHeap *owner;

Completed in 91 milliseconds