Lines Matching defs:_zend_mm_heap
239 struct _zend_mm_heap { struct
241 int use_custom_heap;
244 zend_mm_storage *storage;
247 size_t size; /* current memory usage */
248 size_t peak; /* peak memory usage */
250 zend_mm_free_slot *free_slot[ZEND_MM_BINS]; /* free lists for small sizes */
252 size_t real_size; /* current size of allocated pages */
255 size_t real_peak; /* peak size of allocated pages */
258 size_t limit; /* memory limit */
259 int overflow; /* memory overflow flag */
262 zend_mm_huge_list *huge_list; /* list of huge allocated blocks */
264 zend_mm_chunk *main_chunk;
265 zend_mm_chunk *cached_chunks; /* list of unused chunks */
266 int chunks_count; /* number of alocated chunks */
267 int peak_chunks_count; /* peak number of allocated chunks for current request */
268 int cached_chunks_count; /* number of cached chunks */
269 double avg_chunks_count; /* average number of chunks allocated per request */
270 int last_chunks_delete_boundary; /* numer of chunks after last deletion */
271 int last_chunks_delete_count; /* number of deletion over the last boundary */
273 union {
284 } custom_heap;