Lines Matching refs:p
47 void *p; in create_segments() local
76 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, fd, 0); in create_segments()
77 if (p != MAP_FAILED) { in create_segments()
78 munmap(p, requested_size); in create_segments()
79 p = (void*)(ZEND_MM_ALIGNED_SIZE_EX((ptrdiff_t)p, huge_page_size)); in create_segments()
80 …p = mmap(p, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT|MAP_HUGETLB|MAP_FIXED, -1, 0… in create_segments()
81 if (p != MAP_FAILED) { in create_segments()
84 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, fd, 0); in create_segments()
85 if (p != MAP_FAILED) { in create_segments()
91 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_HUGETLB, fd, 0); in create_segments()
92 if (p != MAP_FAILED) { in create_segments()
97 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, fd, 0); in create_segments()
98 if (p != MAP_FAILED) { in create_segments()
103 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS, fd, 0); in create_segments()
104 if (p == MAP_FAILED) { in create_segments()
113 munmap(p, requested_size); in create_segments()
120 shared_segment->p = p; in create_segments()
129 munmap(shared_segment->p, shared_segment->size); in detach_segment()