Lines Matching refs:p
183 void *p; in create_segments() local
209 p = mmap(hint, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_HUGETLB|MAP_FIXED, -1, 0); in create_segments()
210 if (p != MAP_FAILED) { in create_segments()
215 p = mmap(hint, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_FIXED, -1, 0); in create_segments()
216 if (p != MAP_FAILED) { in create_segments()
239 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, fd, 0); in create_segments()
240 if (p != MAP_FAILED) { in create_segments()
241 munmap(p, requested_size); in create_segments()
242 p = (void*)(ZEND_MM_ALIGNED_SIZE_EX((ptrdiff_t)p, huge_page_size)); in create_segments()
243 …p = mmap(p, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT|MAP_HUGETLB|MAP_FIXED, -1, 0… in create_segments()
244 if (p != MAP_FAILED) { in create_segments()
247 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, fd, 0); in create_segments()
248 if (p != MAP_FAILED) { in create_segments()
254 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_HUGETLB, fd, 0); in create_segments()
255 if (p != MAP_FAILED) { in create_segments()
260 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, fd, 0); in create_segments()
261 if (p != MAP_FAILED) { in create_segments()
266 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS, fd, 0); in create_segments()
267 if (p == MAP_FAILED) { in create_segments()
276 munmap(p, requested_size); in create_segments()
283 shared_segment->p = p; in create_segments()
292 munmap(shared_segment->p, shared_segment->size); in detach_segment()