Lines Matching defs:deMemPool_s
86 struct deMemPool_s struct
88 deUint32 flags; /*!< Flags. */
89 deMemPool* parent; /*!< Pointer to parent (null for root pools). */
90 deMemPoolUtil* util; /*!< Utilities (callbacks etc.). */
91 int numChildren; /*!< Number of child pools. */
92 deMemPool* firstChild; /*!< Pointer to first child pool in linked list. */
93 deMemPool* prevPool; /*!< Previous pool in parent's linked list. */
94 deMemPool* nextPool; /*!< Next pool in parent's linked list. */
96 MemPage* currentPage; /*!< Current memory page from which to allocate. */
99 deBool allowFailing; /*!< Is allocation failure simulation enabled? */
100 deRandom failRandom; /*!< RNG for failing allocations. */
103 deBool enableDebugAllocs; /*!< If true, always allocates using deMalloc(). */
104 DebugAlloc* debugAllocListHead; /*!< List of allocation in debug mode. */
106 int lastAllocatedIndex; /*!< Index of last allocated pool (rootPool only). */
107 int allocIndex; /*!< Allocation index (running counter). */
110 int maxMemoryAllocated; /*!< Maximum amount of memory allocated from pools. */
111 int maxMemoryCapacity; /*!< Maximum amount of memory allocated for pools. */