Searched refs:shared_segments_p (Results 1 – 5 of 5) sorted by relevance
/PHP-8.4/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 72 …*shared_segments_p = (zend_shared_segment_posix **) calloc(1, sizeof(zend_shared_segment_posix) + … in create_segments() 73 if (!*shared_segments_p) { in create_segments() 77 shared_segment = (zend_shared_segment_posix *)((char *)(*shared_segments_p) + sizeof(void *)); in create_segments() 78 (*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 | 200 static int create_segments(size_t requested_size, zend_shared_segment ***shared_segments_p, int *sh… in create_segments() argument 258 …*shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment)+sizeof(void *)… in create_segments() 259 if (!*shared_segments_p) { in create_segments() 266 shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); in create_segments() 267 (*shared_segments_p)[0] = shared_segment; in create_segments()
|
H A D | shared_alloc_mmap.c | 182 static int create_segments(size_t requested_size, zend_shared_segment ***shared_segments_p, int *sh… in create_segments() argument 283 …*shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment) + sizeof(void … in create_segments() 284 if (!*shared_segments_p) { in create_segments() 289 shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); in create_segments() 290 (*shared_segments_p)[0] = shared_segment; in create_segments()
|
H A D | zend_shared_alloc.c | 148 …ry_handler_entry *he, size_t requested_size, zend_shared_segment ***shared_segments_p, int *shared… in zend_shared_alloc_try() argument 156 res = S_H(create_segments)(requested_size, shared_segments_p, shared_segments_count, error_in); in zend_shared_alloc_try() 162 if (*shared_segments_p) { in zend_shared_alloc_try() 166 if ((*shared_segments_p)[i]->p && (*shared_segments_p)[i]->p != (void *)-1) { in zend_shared_alloc_try() 167 S_H(detach_segment)((*shared_segments_p)[i]); in zend_shared_alloc_try() 170 free(*shared_segments_p); in zend_shared_alloc_try() 171 *shared_segments_p = NULL; in zend_shared_alloc_try()
|
Completed in 10 milliseconds