Home
last modified time | relevance | path

Searched refs:zend_shared_segment (Results 1 – 6 of 6) sorted by relevance

/PHP-7.0/ext/opcache/
H A Dshared_alloc_mmap.c36 static int create_segments(size_t requested_size, zend_shared_segment ***shared_segments_p, int *sh… in create_segments()
38 zend_shared_segment *shared_segment; in create_segments()
41 …*shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment) + sizeof(void … in create_segments()
46 shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); in create_segments()
77 static int detach_segment(zend_shared_segment *shared_segment) in detach_segment()
85 return sizeof(zend_shared_segment); in segment_type_size()
H A Dzend_shared_alloc.h77 } zend_shared_segment; typedef
79 typedef int (*create_segments_t)(size_t requested_size, zend_shared_segment ***shared_segments, int…
80 typedef int (*detach_segment_t)(zend_shared_segment *shared_segment);
100 zend_shared_segment **shared_segments;
H A Dshared_alloc_win32.c165 …D_SIZE(sizeof(zend_smm_shared_globals)) + ZEND_ALIGNED_SIZE(sizeof(zend_shared_segment)) + ZEND_AL… in zend_shared_alloc_reattach()
201 static int create_segments(size_t requested_size, zend_shared_segment ***shared_segments_p, int *sh… in create_segments()
204 zend_shared_segment *shared_segment; in create_segments()
259 …*shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment)+sizeof(void *)… in create_segments()
267 shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); in create_segments()
335 static int detach_segment(zend_shared_segment *shared_segment) in detach_segment()
352 return sizeof(zend_shared_segment); in segment_type_size()
H A Dzend_shared_alloc.c107 zend_shared_segment **shared_segments_v = (zend_shared_segment **)to; in copy_shared_segments()
120 …const zend_shared_memory_handler_entry *he, size_t requested_size, zend_shared_segment ***shared_s… in zend_shared_alloc_try()
151 zend_shared_segment **tmp_shared_segments; in zend_shared_alloc_startup()
261 zend_shared_segment **tmp_shared_segments; in zend_shared_alloc_shutdown()
H A Dshared_alloc_posix.c35 zend_shared_segment common;
H A Dshared_alloc_shm.c50 zend_shared_segment common;

Completed in 15 milliseconds