Searched refs:page_size (Results 1 – 4 of 4) sorted by relevance
129 long page_size = sysconf(_SC_PAGESIZE); in get_map_jit_flag() local131 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()
179 #define ZEND_VM_STACK_PAGE_ALIGNED_SIZE(size, page_size) \ argument181 + ((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() argument203 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()
190 ZEND_API void zend_vm_stack_init_ex(size_t page_size);
2982 size_t page_size; local2987 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 39 milliseconds