shared_segment 38 ext/opcache/shared_alloc_mmap.c zend_shared_segment *shared_segment; shared_segment 46 ext/opcache/shared_alloc_mmap.c shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); shared_segment 47 ext/opcache/shared_alloc_mmap.c (*shared_segments_p)[0] = shared_segment; shared_segment 56 ext/opcache/shared_alloc_mmap.c shared_segment->p = mmap(0, requested_size, PROT_READ | PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS|MAP_HUGETLB, -1, 0); shared_segment 57 ext/opcache/shared_alloc_mmap.c if (shared_segment->p != MAP_FAILED) { shared_segment 58 ext/opcache/shared_alloc_mmap.c shared_segment->pos = 0; shared_segment 59 ext/opcache/shared_alloc_mmap.c shared_segment->size = requested_size; shared_segment 65 ext/opcache/shared_alloc_mmap.c shared_segment->p = mmap(0, requested_size, PROT_READ | PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0); shared_segment 66 ext/opcache/shared_alloc_mmap.c if (shared_segment->p == MAP_FAILED) { shared_segment 71 ext/opcache/shared_alloc_mmap.c shared_segment->pos = 0; shared_segment 72 ext/opcache/shared_alloc_mmap.c shared_segment->size = requested_size; shared_segment 77 ext/opcache/shared_alloc_mmap.c static int detach_segment(zend_shared_segment *shared_segment) shared_segment 79 ext/opcache/shared_alloc_mmap.c munmap(shared_segment->p, shared_segment->size); shared_segment 41 ext/opcache/shared_alloc_posix.c zend_shared_segment_posix *shared_segment; shared_segment 50 ext/opcache/shared_alloc_posix.c shared_segment = (zend_shared_segment_posix *)((char *)(*shared_segments_p) + sizeof(void *)); shared_segment 51 ext/opcache/shared_alloc_posix.c (*shared_segments_p)[0] = shared_segment; shared_segment 54 ext/opcache/shared_alloc_posix.c shared_segment->shm_fd = shm_open(shared_segment_name, O_RDWR|O_CREAT|O_TRUNC, 0600); shared_segment 55 ext/opcache/shared_alloc_posix.c if (shared_segment->shm_fd == -1) { shared_segment 60 ext/opcache/shared_alloc_posix.c if (ftruncate(shared_segment->shm_fd, requested_size) != 0) { shared_segment 66 ext/opcache/shared_alloc_posix.c shared_segment->common.p = mmap(0, requested_size, PROT_READ | PROT_WRITE, MAP_SHARED, shared_segment->shm_fd, 0); shared_segment 67 ext/opcache/shared_alloc_posix.c if (shared_segment->common.p == MAP_FAILED) { shared_segment 74 ext/opcache/shared_alloc_posix.c shared_segment->common.pos = 0; shared_segment 75 ext/opcache/shared_alloc_posix.c shared_segment->common.size = requested_size; shared_segment 80 ext/opcache/shared_alloc_posix.c static int detach_segment(zend_shared_segment_posix *shared_segment) shared_segment 82 ext/opcache/shared_alloc_posix.c munmap(shared_segment->common.p, shared_segment->common.size); shared_segment 83 ext/opcache/shared_alloc_posix.c close(shared_segment->shm_fd); shared_segment 128 ext/opcache/shared_alloc_shm.c static int detach_segment(zend_shared_segment_shm *shared_segment) shared_segment 130 ext/opcache/shared_alloc_shm.c shmdt(shared_segment->common.p); shared_segment 201 ext/opcache/shared_alloc_win32.c zend_shared_segment *shared_segment; shared_segment 261 ext/opcache/shared_alloc_win32.c shared_segment = (zend_shared_segment *)((char *)(*shared_segments_p) + sizeof(void *)); shared_segment 262 ext/opcache/shared_alloc_win32.c (*shared_segments_p)[0] = shared_segment; shared_segment 294 ext/opcache/shared_alloc_win32.c shared_segment->p = mapping_base = MapViewOfFileEx(memfile, FILE_MAP_ALL_ACCESS, 0, 0, 0, *wanted_mapping_base); shared_segment 321 ext/opcache/shared_alloc_win32.c shared_segment->pos = 0; shared_segment 322 ext/opcache/shared_alloc_win32.c shared_segment->size = requested_size; shared_segment 329 ext/opcache/shared_alloc_win32.c static int detach_segment(zend_shared_segment *shared_segment) shared_segment 80 ext/opcache/zend_shared_alloc.h typedef int (*detach_segment_t)(zend_shared_segment *shared_segment);