/ext-fiber/src/ |
H A D | fiber_stack.c | 58 bool zend_fiber_stack_allocate(zend_fiber_stack *stack, size_t size) in zend_fiber_stack_allocate() argument 63 ZEND_ASSERT(size >= page_size + ZEND_FIBER_GUARD_PAGES * page_size); in zend_fiber_stack_allocate() 65 stack->size = (size + page_size - 1) / page_size * page_size; in zend_fiber_stack_allocate() 66 const size_t msize = stack->size + ZEND_FIBER_GUARD_PAGES * page_size; in zend_fiber_stack_allocate() 102 stack->valgrind = VALGRIND_STACK_REGISTER(base, base + stack->size); in zend_fiber_stack_allocate() 125 munmap(pointer, stack->size + ZEND_FIBER_GUARD_PAGES * page_size); in zend_fiber_stack_free()
|
H A D | fiber_asm.c | 27 extern fcontext_t make_fcontext(void *sp, size_t size, void (*fn)(transfer_t)); 57 void *stack = (void *) ((uintptr_t) context->stack.pointer + context->stack.size); in zend_fiber_init_context() 59 context->self = make_fcontext(stack, context->stack.size, zend_fiber_trampoline); in zend_fiber_init_context()
|
/ext-fiber/boost/asm/ |
H A D | make_ppc64_sysv_elf_gas.S | 92 .size make_fcontext,24 167 .size make_fcontext, .-make_fcontext 170 .size .make_fcontext, .-.L.make_fcontext 172 .size .make_fcontext, .-.make_fcontext
|
H A D | make_s390x_sysv_elf_gas.S | 107 .size make_fcontext,.-make_fcontext
|
H A D | jump_arm_aapcs_pe_armasm.asm | 37 ; load TIB to save/restore thread size and limit.
|
H A D | make_x86_64_sysv_elf_gas.S | 79 .size make_fcontext,.-make_fcontext
|
H A D | jump_ppc64_sysv_elf_gas.S | 92 .size jump_fcontext,24 192 .size jump_fcontext, .-jump_fcontext 213 .size .jump_fcontext, .-.L.jump_fcontext 215 .size .jump_fcontext, .-.jump_fcontext
|
H A D | jump_i386_sysv_elf_gas.S | 80 .size jump_fcontext,.-jump_fcontext
|
H A D | jump_x86_64_sysv_elf_gas.S | 88 .size jump_fcontext,.-jump_fcontext
|
H A D | jump_ppc32_sysv_elf_gas.S | 198 .size jump_fcontext, .-jump_fcontext
|
H A D | make_arm64_aapcs_elf_gas.S | 83 .size make_fcontext,.-make_fcontext
|
H A D | make_riscv64_sysv_elf_gas.S | 89 .size make_fcontext,.-make_fcontext
|
H A D | make_i386_sysv_elf_gas.S | 104 .size make_fcontext,.-make_fcontext
|
H A D | make_arm_aapcs_elf_gas.S | 78 .size make_fcontext,.-make_fcontext
|
H A D | jump_arm_aapcs_elf_gas.S | 85 .size jump_fcontext,.-jump_fcontext
|
H A D | make_mips64_n64_elf_gas.S | 93 .size make_fcontext, .-make_fcontext
|
H A D | jump_s390x_sysv_elf_gas.S | 155 .size jump_fcontext,.-jump_fcontext
|
H A D | jump_arm64_aapcs_elf_gas.S | 112 .size jump_fcontext,.-jump_fcontext
|
H A D | make_mips32_o32_elf_gas.S | 94 .size make_fcontext, .-make_fcontext
|
H A D | make_arm_aapcs_pe_armasm.asm | 46 ; second arg of make_fcontext() == size of context-stack
|
H A D | make_i386_ms_pe_masm.asm | 54 ; second arg of make_fcontext() == size of context-stack 56 ; negate stack size for LEA instruction (== substraction)
|
/ext-fiber/ |
H A D | fiber.h | 48 size_t size; member 128 zend_bool zend_fiber_stack_allocate(zend_fiber_stack *stack, size_t size);
|
/ext-fiber/tests/ |
H A D | out-of-memory-in-fiber.phpt | 27 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %sout-of-me…
|
H A D | out-of-memory-in-nested-fiber.phpt | 31 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %sout-of-me…
|
H A D | out-of-memory-in-recursive-fiber.phpt | 28 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %sout-of-me…
|