Searched refs:zend_mm_storage (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_alloc.c137 static zend_mm_storage* zend_mm_mem_dummy_init(void *params)
139 return malloc(sizeof(zend_mm_storage));
142 static void zend_mm_mem_dummy_dtor(zend_mm_storage *storage)
147 static void zend_mm_mem_dummy_compact(zend_mm_storage *storage)
153 static zend_mm_segment* zend_mm_mem_mmap_realloc(zend_mm_storage *storage, zend_mm_segment* segment, size_t size)
176 static void zend_mm_mem_mmap_free(zend_mm_storage *storage, zend_mm_segment* segment)
185 static zend_mm_segment* zend_mm_mem_mmap_anon_alloc(zend_mm_storage *storage, size_t size)
202 static zend_mm_storage* zend_mm_mem_mmap_zero_init(void *params)
208 return malloc(sizeof(zend_mm_storage));
214 static void zend_mm_mem_mmap_zero_dtor(zend_mm_storage *storag
[all...]
H A Dzend_alloc.h211 typedef struct _zend_mm_storage zend_mm_storage; typedef in typeref:struct:_zend_mm_storage
220 zend_mm_storage* (*init)(void *params);
221 void (*dtor)(zend_mm_storage *storage);
222 void (*compact)(zend_mm_storage *storage);
223 zend_mm_segment* (*_alloc)(zend_mm_storage *storage, size_t size);
224 zend_mm_segment* (*_realloc)(zend_mm_storage *storage, zend_mm_segment *ptr, size_t size);
225 void (*_free)(zend_mm_storage *storage, zend_mm_segment *ptr);
235 ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap);

Completed in 5 milliseconds