Home
last modified time | relevance | path

Searched refs:huge_page_size (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/opcache/
H A Dshared_alloc_mmap.c57 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()
90 last_candidate -= huge_page_size; in find_prefered_mmap_base()
117 last_free_addr += huge_page_size; in find_prefered_mmap_base()
144 last_candidate -= 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
[all …]
H A DZendAccelerator.c3039 long unsigned int huge_page_size = 2 * 1024 * 1024; in accel_move_code_to_huge_pages() local
3056 long unsigned int seg_start = ZEND_MM_ALIGNED_SIZE_EX(start, huge_page_size); in accel_move_code_to_huge_pages()
3057 long unsigned int seg_end = (end & ~(huge_page_size-1L)); in accel_move_code_to_huge_pages()
3061 if (ret == 1 && start == seg_end + huge_page_size) { in accel_move_code_to_huge_pages()
3081 long unsigned int huge_page_size = 2 * 1024 * 1024; in accel_move_code_to_huge_pages()
3098 long unsigned int seg_start = ZEND_MM_ALIGNED_SIZE_EX(start, huge_page_size); in accel_move_code_to_huge_pages()
3099 long unsigned int seg_end = (end & ~(huge_page_size-1L)); in accel_move_code_to_huge_pages()

Completed in 13 milliseconds