shared_segments_p 36 ext/opcache/shared_alloc_mmap.c static int create_segments(size_t requested_size, zend_shared_segment ***shared_segments_p, int *shared_segments_count, char **error_in) shared_segments_p 41 ext/opcache/shared_alloc_mmap.c *shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment) + sizeof(void *)); shared_segments_p 42 ext/opcache/shared_alloc_mmap.c if (!*shared_segments_p) { shared_segments_p 46 ext/opcache/shared_alloc_mmap.c shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); shared_segments_p 47 ext/opcache/shared_alloc_mmap.c (*shared_segments_p)[0] = shared_segment; shared_segments_p 39 ext/opcache/shared_alloc_posix.c static int create_segments(size_t requested_size, zend_shared_segment_posix ***shared_segments_p, int *shared_segments_count, char **error_in) shared_segments_p 45 ext/opcache/shared_alloc_posix.c *shared_segments_p = (zend_shared_segment_posix **) calloc(1, sizeof(zend_shared_segment_posix) + sizeof(void *)); shared_segments_p 46 ext/opcache/shared_alloc_posix.c if (!*shared_segments_p) { shared_segments_p 50 ext/opcache/shared_alloc_posix.c shared_segment = (zend_shared_segment_posix *)((char *)(*shared_segments_p) + sizeof(void *)); shared_segments_p 51 ext/opcache/shared_alloc_posix.c (*shared_segments_p)[0] = shared_segment; shared_segments_p 54 ext/opcache/shared_alloc_shm.c static int create_segments(size_t requested_size, zend_shared_segment_shm ***shared_segments_p, int *shared_segments_count, char **error_in) shared_segments_p 90 ext/opcache/shared_alloc_shm.c *shared_segments_p = (zend_shared_segment_shm **) calloc(1, (*shared_segments_count) * sizeof(zend_shared_segment_shm) + sizeof(void *) * (*shared_segments_count)); shared_segments_p 91 ext/opcache/shared_alloc_shm.c if (!*shared_segments_p) { shared_segments_p 95 ext/opcache/shared_alloc_shm.c shared_segments = (zend_shared_segment_shm *)((char *)(*shared_segments_p) + sizeof(void *) * (*shared_segments_count)); shared_segments_p 97 ext/opcache/shared_alloc_shm.c (*shared_segments_p)[i] = shared_segments + i; shared_segments_p 198 ext/opcache/shared_alloc_win32.c static int create_segments(size_t requested_size, zend_shared_segment ***shared_segments_p, int *shared_segments_count, char **error_in) shared_segments_p 254 ext/opcache/shared_alloc_win32.c *shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment)+sizeof(void *)); shared_segments_p 255 ext/opcache/shared_alloc_win32.c if (!*shared_segments_p) { shared_segments_p 261 ext/opcache/shared_alloc_win32.c shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); shared_segments_p 262 ext/opcache/shared_alloc_win32.c (*shared_segments_p)[0] = shared_segment; shared_segments_p 121 ext/opcache/zend_shared_alloc.c static int zend_shared_alloc_try(const zend_shared_memory_handler_entry *he, size_t requested_size, zend_shared_segment ***shared_segments_p, int *shared_segments_count, char **error_in) shared_segments_p 129 ext/opcache/zend_shared_alloc.c res = S_H(create_segments)(requested_size, shared_segments_p, shared_segments_count, error_in); shared_segments_p 135 ext/opcache/zend_shared_alloc.c if (*shared_segments_p) { shared_segments_p 139 ext/opcache/zend_shared_alloc.c if ((*shared_segments_p)[i]->p && (*shared_segments_p)[i]->p != (void *)-1) { shared_segments_p 140 ext/opcache/zend_shared_alloc.c S_H(detach_segment)((*shared_segments_p)[i]); shared_segments_p 143 ext/opcache/zend_shared_alloc.c free(*shared_segments_p); shared_segments_p 144 ext/opcache/zend_shared_alloc.c *shared_segments_p = NULL;