Home
last modified time | relevance | path

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

/src/sys/kern/
H A Dimgact_aout.c65 static int aout_fixup(uintptr_t *stack_base, struct image_params *imgp);
162 aout_fixup(uintptr_t *stack_base, struct image_params *imgp) in aout_fixup() argument
165 *stack_base -= sizeof(uint32_t); in aout_fixup()
166 if (suword32((void *)*stack_base, imgp->args->argc) != 0) in aout_fixup()
H A Dkern_exec.c400 uintptr_t stack_base; in do_execve() local
744 error = (*p->p_sysent->sv_copyout_strings)(imgp, &stack_base); in do_execve()
753 error = (*p->p_sysent->sv_fixup)(&stack_base, imgp); in do_execve()
960 (*p->p_sysent->sv_setregs)(td, imgp, stack_base); in do_execve()
1680 exec_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in exec_copyout_strings() argument
1773 *stack_base = (uintptr_t)vectp; in exec_copyout_strings()
H A Dkern_thr.c172 stack.ss_sp = param->stack_base; in thr_new_initthr()
H A Dimgact_elf.c1535 __elfN(freebsd_fixup)(uintptr_t *stack_base, struct image_params *imgp) in freebsd_fixup() argument
1539 base = (Elf_Addr *)*stack_base; in freebsd_fixup()
1543 *stack_base = (uintptr_t)base; in freebsd_fixup()
/src/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()
/src/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack.cpp171 void *stack_base; member
205 Munmap(stack->stack_base, stack->size); in thread_cleanup_handler()
214 cur_stack->stack_base = (char *)unsafe_stack_start - unsafe_stack_guard; in thread_cleanup_handler()
/src/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()
/src/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()
/src/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp255 const char *name, void *stack_base, in __sanitizer_before_thread_create_hook() argument
259 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
/src/sys/sys/
H A Dthr.h51 char *stack_base; /* stack base address. */ member
/src/sys/compat/freebsd32/
H A Dfreebsd32_util.h114 uintptr_t *stack_base);
H A Dfreebsd32.h305 uint32_t stack_base; member
H A Dfreebsd32_misc.c3280 param.stack_base = PTRIN(param32.stack_base); in freebsd32_thr_new()
3636 freebsd32_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in freebsd32_copyout_strings() argument
3731 *stack_base = (uintptr_t)vectp; in freebsd32_copyout_strings()
/src/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()
/src/sys/compat/linux/
H A Dlinux_elf.c327 __linuxN(copyout_strings)(struct image_params *imgp, uintptr_t *stack_base) in copyout_strings() argument
399 *stack_base = (uintptr_t)vectp; in copyout_strings()
/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_fuchsia.cpp542 void *stack_base, size_t stack_size) { in __sanitizer_startup_hook() argument
545 __sanitizer::MainThreadStackBase = reinterpret_cast<uintptr_t>(stack_base); in __sanitizer_startup_hook()
/src/lib/libthr/thread/
H A Dthr_create.c163 param.stack_base = new_thread->attr.stackaddr_attr; in _pthread_create()
/src/sys/amd64/linux32/
H A Dlinux32_sysvec.c103 uintptr_t *stack_base);
618 linux_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in linux_copyout_strings() argument
672 *stack_base = (uintptr_t)vectp; in linux_copyout_strings()
/src/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_runtime.cpp140 char *stack_base; in __kmp_get_global_thread_id() local
188 stack_base = (char *)TCR_PTR(thr->th.th_info.ds.ds_stackbase); in __kmp_get_global_thread_id()
192 if (stack_addr <= stack_base) { in __kmp_get_global_thread_id()
193 size_t stack_diff = stack_base - stack_addr; in __kmp_get_global_thread_id()
233 stack_base = (char *)other_threads[i]->th.th_info.ds.ds_stackbase; in __kmp_get_global_thread_id()
234 if (stack_addr > stack_base) { in __kmp_get_global_thread_id()
238 stack_base); in __kmp_get_global_thread_id()
241 stack_base - stack_addr); in __kmp_get_global_thread_id()
/src/usr.bin/kdump/
H A Dkdump.c1973 tp->start_func, tp->arg, tp->stack_base, tp->stack_size, in ktrthrparam()