Lines Matching defs:_zend_mm_heap
230 struct _zend_mm_heap { struct
232 int use_custom_heap;
235 zend_mm_storage *storage;
238 size_t size; /* current memory usage */
239 size_t peak; /* peak memory usage */
241 zend_mm_free_slot *free_slot[ZEND_MM_BINS]; /* free lists for small sizes */
243 size_t real_size; /* current size of allocated pages */
246 size_t real_peak; /* peak size of allocated pages */
249 size_t limit; /* memory limit */
250 int overflow; /* memory overflow flag */
253 zend_mm_huge_list *huge_list; /* list of huge allocated blocks */
255 zend_mm_chunk *main_chunk;
256 zend_mm_chunk *cached_chunks; /* list of unused chunks */
257 int chunks_count; /* number of alocated chunks */
258 int peak_chunks_count; /* peak number of allocated chunks for current request */
259 int cached_chunks_count; /* number of cached chunks */
260 double avg_chunks_count; /* average number of chunks allocated per request */
261 int last_chunks_delete_boundary; /* numer of chunks after last deletion */
262 int last_chunks_delete_count; /* number of deletion over the last boundary */
264 union {
275 } custom_heap;