Lines Matching refs:size
70 size_t size; member
145 extern void *make_fcontext(void *sp, size_t size, void (*fn)(boost_context_data));
175 static zend_fiber_stack *zend_fiber_stack_allocate(size_t size) in zend_fiber_stack_allocate() argument
181 if (size < minimum_stack_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()
232 stack->size = stack_size; in zend_fiber_stack_allocate()
236 stack->valgrind_stack_id = VALGRIND_STACK_REGISTER(base, base + stack->size); in zend_fiber_stack_allocate()
241 stack->asan_size = stack->size; in zend_fiber_stack_allocate()
260 munmap(pointer, stack->size + ZEND_FIBER_GUARD_PAGES * page_size); in zend_fiber_stack_free()
335 handle->uc_stack.ss_size = context->stack->size; in zend_fiber_init_context()
345 void *stack = (void *) ((uintptr_t) context->stack->pointer + context->stack->size); in zend_fiber_init_context()
347 context->handle = make_fcontext(stack, context->stack->size, zend_fiber_trampoline); in zend_fiber_init_context()