Home
last modified time | relevance | path

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

/PHP-8.1/Zend/tests/fibers/
H A Dgh10249.phpt2 GH-10249 (Assertion `size >= page_size + 1 * page_size' failed.)
/PHP-8.1/Zend/
H A Dzend_fibers.c162 static size_t page_size = 0; in zend_fiber_get_page_size() local
164 if (!page_size) { in zend_fiber_get_page_size()
165 page_size = zend_get_page_size(); in zend_fiber_get_page_size()
166 if (!page_size || (page_size & (page_size - 1))) { in zend_fiber_get_page_size()
168 page_size = ZEND_FIBER_DEFAULT_PAGE_SIZE; in zend_fiber_get_page_size()
172 return page_size; in zend_fiber_get_page_size()
178 const size_t page_size = zend_fiber_get_page_size(); in zend_fiber_stack_allocate() local
179 const size_t minimum_stack_size = page_size + ZEND_FIBER_GUARD_PAGES * page_size; in zend_fiber_stack_allocate()
186 const size_t stack_size = (size + page_size - 1) / page_size * page_size; in zend_fiber_stack_allocate()
253 const size_t page_size = zend_fiber_get_page_size(); in zend_fiber_stack_free() local
[all …]
H A Dzend_execute.c180 #define ZEND_VM_STACK_PAGE_ALIGNED_SIZE(size, page_size) \ argument
182 + ((page_size) - 1)) & ~((page_size) - 1))
192 ZEND_API void zend_vm_stack_init_ex(size_t page_size) in zend_vm_stack_init_ex() argument
195 ZEND_ASSERT(page_size > 0 && (page_size & (page_size - 1)) == 0); in zend_vm_stack_init_ex()
196 EG(vm_stack_page_size) = page_size; in zend_vm_stack_init_ex()
197 EG(vm_stack) = zend_vm_stack_new_page(page_size, NULL); in zend_vm_stack_init_ex()
H A Dzend_execute.h208 ZEND_API void zend_vm_stack_init_ex(size_t page_size);
/PHP-8.1/ext/pcre/pcre2lib/sljit/
H A DsljitExecAllocator.c115 sljit_sw page_size; in get_map_jit_flag() local
126 page_size = get_page_alignment() + 1; in get_map_jit_flag()
128 ptr = mmap(NULL, page_size, PROT_WRITE | PROT_EXEC, in get_map_jit_flag()
132 munmap(ptr, page_size); in get_map_jit_flag()
/PHP-8.1/ext/opcache/
H A DZendAccelerator.c3206 size_t page_size; local
3208 page_size = zend_get_page_size();
3209 if (!page_size || (page_size & (page_size - 1))) {
3214 jit_size = ZEND_MM_ALIGNED_SIZE_EX(jit_size, page_size);
/PHP-8.1/
H A DNEWS753 . Fix incorrect page_size check. (nielsdos)

Completed in 70 milliseconds