Home
last modified time | relevance | path

Searched refs:page_size (Results 1 – 4 of 4) sorted by relevance

/PHP-8.0/ext/pcre/pcre2lib/sljit/
H A DsljitExecAllocator.c129 long page_size = sysconf(_SC_PAGESIZE); in get_map_jit_flag() local
131 if (page_size < 0) in get_map_jit_flag()
132 page_size = 4096; in get_map_jit_flag()
134 void *ptr = mmap(NULL, page_size, PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANON, -1, 0); in get_map_jit_flag()
139 munmap(ptr, page_size); in get_map_jit_flag()
/PHP-8.0/Zend/
H A Dzend_execute.c179 #define ZEND_VM_STACK_PAGE_ALIGNED_SIZE(size, page_size) \ argument
181 + ((page_size) - 1)) & ~((page_size) - 1))
200 ZEND_API void zend_vm_stack_init_ex(size_t page_size) in zend_vm_stack_init_ex() argument
203 ZEND_ASSERT(page_size > 0 && (page_size & (page_size - 1)) == 0); in zend_vm_stack_init_ex()
204 EG(vm_stack_page_size) = page_size; in zend_vm_stack_init_ex()
205 EG(vm_stack) = zend_vm_stack_new_page(page_size, NULL); in zend_vm_stack_init_ex()
H A Dzend_execute.h190 ZEND_API void zend_vm_stack_init_ex(size_t page_size);
/PHP-8.0/ext/opcache/
H A DZendAccelerator.c2982 size_t page_size; local
2987 page_size = system_info.dwPageSize;
2989 page_size = getpagesize();
2991 if (!page_size || (page_size & (page_size - 1))) {
2996 jit_size = ZEND_MM_ALIGNED_SIZE_EX(jit_size, page_size);

Completed in 30 milliseconds