Searched refs:page_size (Results 1 – 7 of 7) sorted by relevance
50 size_t page_size; in get_map_jit_flag() local61 page_size = get_page_alignment() + 1; in get_map_jit_flag()63 ptr = mmap(NULL, page_size, PROT_WRITE | PROT_EXEC, in get_map_jit_flag()67 munmap(ptr, page_size); in get_map_jit_flag()
2 GH-10249 (Assertion `size >= page_size + 1 * page_size' failed.)
193 static size_t page_size = 0; in zend_fiber_get_page_size() local195 if (!page_size) { in zend_fiber_get_page_size()196 page_size = zend_get_page_size(); in zend_fiber_get_page_size()197 if (!page_size || (page_size & (page_size - 1))) { in zend_fiber_get_page_size()199 page_size = ZEND_FIBER_DEFAULT_PAGE_SIZE; in zend_fiber_get_page_size()203 return page_size; in zend_fiber_get_page_size()209 const size_t page_size = zend_fiber_get_page_size(); in zend_fiber_stack_allocate() local210 const size_t minimum_stack_size = page_size + ZEND_FIBER_GUARD_PAGES * page_size; in zend_fiber_stack_allocate()217 const size_t stack_size = (size + page_size - 1) / page_size * page_size; in zend_fiber_stack_allocate()309 const size_t page_size = zend_fiber_get_page_size(); in zend_fiber_stack_free() local[all …]
385 size_t result_size, page_size; in zend_call_stack_get_win32() local436 page_size = zend_get_page_size(); in zend_call_stack_get_win32()437 ZEND_ASSERT(stack->max_size > page_size); in zend_call_stack_get_win32()438 stack->max_size -= page_size; in zend_call_stack_get_win32()
187 #define ZEND_VM_STACK_PAGE_ALIGNED_SIZE(size, page_size) \ argument189 + ((page_size) - 1)) & ~((page_size) - 1))199 ZEND_API void zend_vm_stack_init_ex(size_t page_size) in zend_vm_stack_init_ex() argument202 ZEND_ASSERT(page_size > 0 && (page_size & (page_size - 1)) == 0); in zend_vm_stack_init_ex()203 EG(vm_stack_page_size) = page_size; in zend_vm_stack_init_ex()204 EG(vm_stack) = zend_vm_stack_new_page(page_size, NULL); in zend_vm_stack_init_ex()
247 ZEND_API void zend_vm_stack_init_ex(size_t page_size);
3216 size_t page_size; local3218 page_size = zend_get_page_size();3219 if (!page_size || (page_size & (page_size - 1))) {3224 jit_size = ZEND_MM_ALIGNED_SIZE_EX(jit_size, page_size);
Completed in 58 milliseconds