Lines Matching refs:stack_ptr
387 char *stack_ptr, *stack_buf_start; in setup_thread_stack() local
438 stack_ptr = (char *)stack_mapped + stack_obj_size; in setup_thread_stack()
451 stack_ptr = (char *)stack + stack_obj_size; in setup_thread_stack()
458 stack_buf_size, (void *)stack_ptr); in setup_thread_stack()
472 delta += arch_tls_stack_setup(new_thread, stack_ptr); in setup_thread_stack()
480 (struct _thread_userspace_local_data *)(stack_ptr - delta); in setup_thread_stack()
498 stack_ptr -= delta; in setup_thread_stack()
500 return stack_ptr; in setup_thread_stack()
514 char *stack_ptr; in z_setup_new_thread() local
547 stack_ptr = setup_thread_stack(new_thread, stack, stack_size); in z_setup_new_thread()
564 arch_new_thread(new_thread, stack, stack_ptr, entry, p1, p2, p3); in z_setup_new_thread()
620 return stack_ptr; in z_setup_new_thread()
647 return stack_ptr; in z_setup_new_thread()