Searched refs:zend_shared_segment_shm (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/opcache/
H A Dshared_alloc_shm.c52 } zend_shared_segment_shm; typedef in typeref:struct:__anon148
54 static int create_segments(size_t requested_size, zend_shared_segment_shm ***shared_segments_p, int *shared_segments_count, char **error_in)
62 zend_shared_segment_shm *shared_segments;
90 *shared_segments_p = (zend_shared_segment_shm **) calloc(1, (*shared_segments_count) * sizeof(zend_shared_segment_shm) + sizeof(void *) * (*shared_segments_count));
95 shared_segments = (zend_shared_segment_shm *)((char *)(*shared_segments_p) + sizeof(void *) * (*shared_segments_count));
128 static int detach_segment(zend_shared_segment_shm *shared_segment)
136 return sizeof(zend_shared_segment_shm);

Completed in 2 milliseconds