Lines Matching refs:p
43 void *p; in create_segments() local
68 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, -1, 0); in create_segments()
69 if (p != MAP_FAILED) { in create_segments()
70 munmap(p, requested_size); in create_segments()
71 p = (void*)(ZEND_MM_ALIGNED_SIZE_EX((ptrdiff_t)p, huge_page_size)); in create_segments()
72 …p = mmap(p, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT|MAP_HUGETLB|MAP_FIXED, -1, 0… in create_segments()
73 if (p != MAP_FAILED) { in create_segments()
76 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, -1, 0); in create_segments()
77 if (p != MAP_FAILED) { in create_segments()
83 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_HUGETLB, -1, 0); in create_segments()
84 if (p != MAP_FAILED) { in create_segments()
89 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, -1, 0); in create_segments()
90 if (p != MAP_FAILED) { in create_segments()
95 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS, -1, 0); in create_segments()
96 if (p == MAP_FAILED) { in create_segments()
105 munmap(p, requested_size); in create_segments()
112 shared_segment->p = p; in create_segments()
121 munmap(shared_segment->p, shared_segment->size); in detach_segment()