Lines Matching refs:root
82 * creating the root pool with the deMemPool_createFailingRoot() function.
89 deMemPool* parent; /*!< Pointer to parent (null for root pools). */
219 deMemPool* root = pool;
220 while (root->parent)
221 root = root->parent;
223 if (pool == root)
224 root->lastAllocatedIndex = 0;
226 pool->allocIndex = ++root->lastAllocatedIndex;
230 root = root;*/
238 * \brief Create a new root memory pool.
307 deMemPool* root = pool->parent;
308 while (root->parent)
309 root = root->parent;
310 root->maxMemoryAllocated = deMax32(root->maxMemoryAllocated, deMemPool_getNumAllocatedBytes(root, DE_TRUE));
311 root->maxMemoryCapacity = deMax32(root->maxMemoryCapacity, deMemPool_getCapacity(root, DE_TRUE));
582 DE_ASSERT(pool && !pool->parent); /* must be root */
588 DE_ASSERT(pool && !pool->parent); /* must be root */