Searched refs:shared_segments_p (Results 1 – 5 of 5) sorted by relevance
/PHP-5.6/ext/opcache/ |
H A D | shared_alloc_mmap.c | 36 static int create_segments(size_t requested_size, zend_shared_segment ***shared_segments_p, int *sh… in create_segments() argument 41 …*shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment) + sizeof(void … in create_segments() 42 if (!*shared_segments_p) { in create_segments() 46 shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); in create_segments() 47 (*shared_segments_p)[0] = shared_segment; in create_segments()
|
H A D | shared_alloc_posix.c | 39 static int create_segments(size_t requested_size, zend_shared_segment_posix ***shared_segments_p, i… in create_segments() argument 45 …*shared_segments_p = (zend_shared_segment_posix **) calloc(1, sizeof(zend_shared_segment_posix) + … in create_segments() 46 if (!*shared_segments_p) { in create_segments() 50 shared_segment = (zend_shared_segment_posix *)((char *)(*shared_segments_p) + sizeof(void *)); in create_segments() 51 (*shared_segments_p)[0] = shared_segment; in create_segments()
|
H A D | shared_alloc_shm.c | 54 static int create_segments(size_t requested_size, zend_shared_segment_shm ***shared_segments_p, int… in create_segments() argument 90 …*shared_segments_p = (zend_shared_segment_shm **) calloc(1, (*shared_segments_count) * sizeof(zend… in create_segments() 91 if (!*shared_segments_p) { in create_segments() 95 …shared_segments = (zend_shared_segment_shm *)((char *)(*shared_segments_p) + sizeof(void *) * (*sh… in create_segments() 97 (*shared_segments_p)[i] = shared_segments + i; in create_segments()
|
H A D | zend_shared_alloc.c | 122 …ry_handler_entry *he, size_t requested_size, zend_shared_segment ***shared_segments_p, int *shared… in zend_shared_alloc_try() argument 130 res = S_H(create_segments)(requested_size, shared_segments_p, shared_segments_count, error_in); in zend_shared_alloc_try() 136 if (*shared_segments_p) { in zend_shared_alloc_try() 140 if ((*shared_segments_p)[i]->p && (*shared_segments_p)[i]->p != (void *)-1) { in zend_shared_alloc_try() 141 S_H(detach_segment)((*shared_segments_p)[i]); in zend_shared_alloc_try() 144 free(*shared_segments_p); in zend_shared_alloc_try() 145 *shared_segments_p = NULL; in zend_shared_alloc_try()
|
H A D | shared_alloc_win32.c | 216 static int create_segments(size_t requested_size, zend_shared_segment ***shared_segments_p, int *sh… in create_segments() argument 273 …*shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment)+sizeof(void *)… in create_segments() 274 if (!*shared_segments_p) { in create_segments() 280 shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); in create_segments() 281 (*shared_segments_p)[0] = shared_segment; in create_segments()
|
Completed in 11 milliseconds