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

/PHP_TRUNK/sapi/phpdbg/
H A Dzend_mm_structs.h74 zend_mm_storage *storage;
H A Dphpdbg_sigsafe.c9 static void* zend_mm_mem_alloc(zend_mm_storage *storage, size_t size, size_t alignment) {
27 static void zend_mm_mem_free(zend_mm_storage *storage, void *ptr, size_t size) {
/PHP_TRUNK/Zend/
H A Dzend_alloc.h293 typedef struct _zend_mm_storage zend_mm_storage; typedef in typeref:struct:_zend_mm_storage
295 typedef void* (*zend_mm_chunk_alloc_t)(zend_mm_storage *storage, size_t size, size_t alignment);
296 typedef void (*zend_mm_chunk_free_t)(zend_mm_storage *storage, void *chunk, size_t size);
297 typedef int (*zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, size_t new_size);
298 typedef int (*zend_mm_chunk_extend_t)(zend_mm_storage *storage, void *chunk, size_t old_size, size_t new_size);
312 ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap);
327 static void *apc_chunk_alloc(zend_mm_storage *storage, size_t size, size_t alignment)
354 static void apc_chunk_free(zend_mm_storage *storage, void *chunk, size_t size)
H A Dzend_alloc.c232 zend_mm_storage *storage;
2489 ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap)
2506 zend_mm_storage tmp_storage, *storage;
2555 storage = _zend_mm_alloc(heap, sizeof(zend_mm_storage) + data_size ZEND_FILE_LINE_CC ZEND_FILE_LINE_CC);
2567 memcpy(storage, &tmp_storage, sizeof(zend_mm_storage));
2569 storage->data = (void*)(((char*)storage + sizeof(zend_mm_storage)));

Completed in 8 milliseconds