Lines Matching refs:requested_size
39 static int create_segments(size_t requested_size, zend_shared_segment ***shared_segments_p, int *sh… in create_segments() argument
63 if (requested_size >= huge_page_size && requested_size % huge_page_size == 0) { in create_segments()
68 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, -1, 0); in create_segments()
70 munmap(p, requested_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()
76 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, -1, 0); in create_segments()
83 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_HUGETLB, -1, 0); in create_segments()
89 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, -1, 0); in create_segments()
95 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS, -1, 0); in create_segments()
105 munmap(p, requested_size); in create_segments()
114 shared_segment->size = requested_size; in create_segments()