Searched refs:shared_segments_p (Results 1 – 5 of 5) sorted by relevance
/PHP-8.0/ext/opcache/ |
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_mmap.c | 39 static int create_segments(size_t requested_size, zend_shared_segment ***shared_segments_p, int *sh… in create_segments() argument 103 …*shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment) + sizeof(void … in create_segments() 104 if (!*shared_segments_p) { in create_segments() 109 shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); in create_segments() 110 (*shared_segments_p)[0] = shared_segment; in create_segments()
|
H A D | shared_alloc_shm.c | 53 static int create_segments(size_t requested_size, zend_shared_segment_shm ***shared_segments_p, int… in create_segments() argument 89 …*shared_segments_p = (zend_shared_segment_shm **) calloc(1, (*shared_segments_count) * sizeof(zend… in create_segments() 90 if (!*shared_segments_p) { in create_segments() 94 …shared_segments = (zend_shared_segment_shm *)((char *)(*shared_segments_p) + sizeof(void *) * (*sh… in create_segments() 96 (*shared_segments_p)[i] = shared_segments + i; in create_segments()
|
H A D | shared_alloc_win32.c | 202 static int create_segments(size_t requested_size, zend_shared_segment ***shared_segments_p, int *sh… in create_segments() argument 260 …*shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment)+sizeof(void *)… in create_segments() 261 if (!*shared_segments_p) { in create_segments() 268 shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); in create_segments() 269 (*shared_segments_p)[0] = shared_segment; in create_segments()
|
H A D | zend_shared_alloc.c | 119 …ry_handler_entry *he, size_t requested_size, zend_shared_segment ***shared_segments_p, int *shared… in zend_shared_alloc_try() argument 127 res = S_H(create_segments)(requested_size, shared_segments_p, shared_segments_count, error_in); in zend_shared_alloc_try() 133 if (*shared_segments_p) { in zend_shared_alloc_try() 137 if ((*shared_segments_p)[i]->p && (*shared_segments_p)[i]->p != (void *)-1) { in zend_shared_alloc_try() 138 S_H(detach_segment)((*shared_segments_p)[i]); in zend_shared_alloc_try() 141 free(*shared_segments_p); in zend_shared_alloc_try() 142 *shared_segments_p = NULL; in zend_shared_alloc_try()
|
Completed in 27 milliseconds