Home
last modified time | relevance | path

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

/php-src/ext/pcre/pcre2lib/sljit/allocator_src/
H A DsljitExecAllocatorApple.c50 size_t page_size; in get_map_jit_flag() local
61 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()
/php-src/Zend/tests/fibers/
H A Dgh10249.phpt2 GH-10249 (Assertion `size >= page_size + 1 * page_size' failed.)
/php-src/Zend/
H A Dzend_fibers.c193 static size_t page_size = 0; in zend_fiber_get_page_size() local
195 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() local
210 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 …]
H A Dzend_call_stack.c385 size_t result_size, page_size; in zend_call_stack_get_win32() local
436 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()
H A Dzend_execute.c187 #define ZEND_VM_STACK_PAGE_ALIGNED_SIZE(size, page_size) \ argument
189 + ((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() argument
202 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()
H A Dzend_execute.h247 ZEND_API void zend_vm_stack_init_ex(size_t page_size);
/php-src/ext/opcache/
H A DZendAccelerator.c3216 size_t page_size; local
3218 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 38 milliseconds