Home
last modified time | relevance | path

Searched refs:stack_base (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/contrib/diff/lib/
H A Dc-stack.c186 char const *stack_base = user_context->uc_stack.ss_sp; in segv_handler()
189 size_t s = faulting_address - stack_base; in segv_handler()
201 faulting_address, stack_base, (unsigned long) stack_size, in segv_handler()
/freebsd-14.2/sys/kern/
H A Dimgact_aout.c66 static int aout_fixup(uintptr_t *stack_base, struct image_params *imgp);
165 aout_fixup(uintptr_t *stack_base, struct image_params *imgp) in aout_fixup() argument
168 *stack_base -= sizeof(uint32_t); in aout_fixup()
169 if (suword32((void *)*stack_base, imgp->args->argc) != 0) in aout_fixup()
H A Dkern_exec.c388 uintptr_t stack_base; in do_execve() local
732 error = (*p->p_sysent->sv_copyout_strings)(imgp, &stack_base); in do_execve()
741 error = (*p->p_sysent->sv_fixup)(&stack_base, imgp); in do_execve()
933 (*p->p_sysent->sv_setregs)(td, imgp, stack_base); in do_execve()
1653 exec_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in exec_copyout_strings() argument
1746 *stack_base = (uintptr_t)vectp; in exec_copyout_strings()
H A Dkern_thr.c165 stack.ss_sp = param->stack_base; in thr_new_initthr()
H A Dimgact_elf.c1513 __elfN(freebsd_fixup)(uintptr_t *stack_base, struct image_params *imgp) in __elfN()
1517 base = (Elf_Addr *)*stack_base; in __elfN()
1521 *stack_base = (uintptr_t)base; in __elfN()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack.cpp146 void *stack_base; member
180 Munmap(stack->stack_base, stack->size); in thread_cleanup_handler()
189 cur_stack->stack_base = (char *)unsafe_stack_start - unsafe_stack_guard; in thread_cleanup_handler()
/freebsd-14.2/cddl/contrib/opensolaris/head/
H A Dthread.h76 thr_create(void *stack_base, size_t stack_size, void *(*start_func) (void*), in thr_create() argument
82 assert(stack_base == NULL); in thr_create()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_fuchsia.cpp96 const char *name, void *stack_base, in __sanitizer_before_thread_create_hook() argument
101 args.stack_begin = reinterpret_cast<uptr>(stack_base); in __sanitizer_before_thread_create_hook()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_fuchsia.cpp216 const char *name, void *stack_base, in __sanitizer_before_thread_create_hook() argument
220 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp257 const char *name, void *stack_base, in __sanitizer_before_thread_create_hook() argument
261 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
/freebsd-14.2/sys/sys/
H A Dthr.h50 char *stack_base; /* stack base address. */ member
/freebsd-14.2/sys/compat/freebsd32/
H A Dfreebsd32_util.h114 uintptr_t *stack_base);
H A Dfreebsd32.h312 uint32_t stack_base; member
H A Dfreebsd32_misc.c3237 param.stack_base = PTRIN(param32.stack_base); in freebsd32_thr_new()
3593 freebsd32_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in freebsd32_copyout_strings() argument
3688 *stack_base = (uintptr_t)vectp; in freebsd32_copyout_strings()
/freebsd-14.2/sys/i386/linux/
H A Dlinux_sysvec.c99 static int linux_fixup(uintptr_t *stack_base,
121 linux_fixup(uintptr_t *stack_base, struct image_params *imgp) in linux_fixup() argument
125 base = (register_t *)*stack_base; in linux_fixup()
137 *stack_base = (uintptr_t)base; in linux_fixup()
/freebsd-14.2/sys/compat/linux/
H A Dlinux_elf.c327 __linuxN(copyout_strings)(struct image_params *imgp, uintptr_t *stack_base) in __linuxN()
399 *stack_base = (uintptr_t)vectp; in __linuxN()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_fuchsia.cpp543 void *stack_base, size_t stack_size) { in __sanitizer_startup_hook() argument
546 __sanitizer::MainThreadStackBase = reinterpret_cast<uintptr_t>(stack_base); in __sanitizer_startup_hook()
/freebsd-14.2/lib/libthr/thread/
H A Dthr_create.c157 param.stack_base = new_thread->attr.stackaddr_attr; in _pthread_create()
/freebsd-14.2/sys/amd64/linux32/
H A Dlinux32_sysvec.c103 uintptr_t *stack_base);
617 linux_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in linux_copyout_strings() argument
671 *stack_base = (uintptr_t)vectp; in linux_copyout_strings()
/freebsd-14.2/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_runtime.cpp125 char *stack_base; in __kmp_get_global_thread_id() local
173 stack_base = (char *)TCR_PTR(thr->th.th_info.ds.ds_stackbase); in __kmp_get_global_thread_id()
177 if (stack_addr <= stack_base) { in __kmp_get_global_thread_id()
178 size_t stack_diff = stack_base - stack_addr; in __kmp_get_global_thread_id()
218 stack_base = (char *)other_threads[i]->th.th_info.ds.ds_stackbase; in __kmp_get_global_thread_id()
219 if (stack_addr > stack_base) { in __kmp_get_global_thread_id()
223 stack_base); in __kmp_get_global_thread_id()
226 stack_base - stack_addr); in __kmp_get_global_thread_id()
/freebsd-14.2/contrib/diff/
H A DChangeLog340 (stack_base, stack_size): New vars.
342 Use global stack_base, stack_size if