Searched defs:shared_segments (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/opcache/
H A Dshared_alloc_shm.c62 zend_shared_segment_shm *shared_segments; local
95 shared_segments = (zend_shared_segment_shm *)((char *)(*shared_segments_p) + sizeof(void *) * (*shared_segments_count));
97 (*shared_segments_p)[i] = shared_segments + i;
104 shared_segments[i].shm_id = shmget(IPC_PRIVATE, allocate_size, shmget_flags);
106 shared_segments[i].shm_id = first_segment_id;
109 if (shared_segments[i].shm_id == -1) {
113 shared_segments[i].common.p = shmat(shared_segments[i].shm_id, NULL, 0);
114 if (shared_segments[i].common.p == (void *)-1) {
116 shmctl(shared_segments[
[all...]
H A Dzend_shared_alloc.h78 typedef int (*create_segments_t)(size_t requested_size, zend_shared_segment ***shared_segments, int *shared_segment_count, char **error_in);
99 zend_shared_segment **shared_segments; member in struct:_zend_smm_shared_globals

Completed in 6 milliseconds