Lines Matching refs:huge_page_size
57 size_t huge_page_size = 2 * 1024 * 1024; in find_prefered_mmap_base() local
58 uintptr_t last_free_addr = huge_page_size; in find_prefered_mmap_base()
77 uintptr_t start_base = start & ~(huge_page_size - 1); in find_prefered_mmap_base()
79 last_free_addr = ZEND_MM_ALIGNED_SIZE_EX(end + huge_page_size, huge_page_size); in find_prefered_mmap_base()
88 last_candidate = ZEND_MM_ALIGNED_SIZE_EX(start - requested_size, huge_page_size); in find_prefered_mmap_base()
90 last_candidate -= huge_page_size; in find_prefered_mmap_base()
115 last_free_addr = ZEND_MM_ALIGNED_SIZE_EX(end, huge_page_size); in find_prefered_mmap_base()
117 last_free_addr += huge_page_size; in find_prefered_mmap_base()
142 last_candidate = ZEND_MM_ALIGNED_SIZE_EX(e_start - requested_size, huge_page_size); in find_prefered_mmap_base()
144 last_candidate -= huge_page_size; in find_prefered_mmap_base()
169 last_free_addr = ZEND_MM_ALIGNED_SIZE_EX(e_end, huge_page_size); in find_prefered_mmap_base()
216 size_t huge_page_size = 2 * 1024 * 1024; in create_segments() local
217 if (requested_size >= huge_page_size && requested_size % huge_page_size == 0) { in create_segments()
231 size_t huge_page_size = 2 * 1024 * 1024; in create_segments() local
243 if (requested_size >= huge_page_size && requested_size % huge_page_size == 0) { in create_segments()
251 p = (void*)(ZEND_MM_ALIGNED_SIZE_EX((ptrdiff_t)p, huge_page_size)); in create_segments()