Home
last modified time | relevance | path

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

/freebsd/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/sys/kern/
H A Dimgact_aout.c65 static int aout_fixup(uintptr_t *stack_base, struct image_params *imgp);
164 aout_fixup(uintptr_t *stack_base, struct image_params *imgp) in aout_fixup() argument
167 *stack_base -= sizeof(uint32_t); in aout_fixup()
168 if (suword32((void *)*stack_base, imgp->args->argc) != 0) in aout_fixup()
H A Dkern_exec.c397 uintptr_t stack_base; in do_execve() local
741 error = (*p->p_sysent->sv_copyout_strings)(imgp, &stack_base); in do_execve()
750 error = (*p->p_sysent->sv_fixup)(&stack_base, imgp); in do_execve()
942 (*p->p_sysent->sv_setregs)(td, imgp, stack_base); in do_execve()
1662 exec_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in exec_copyout_strings() argument
1755 *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.c1526 __elfN(freebsd_fixup)(uintptr_t *stack_base, struct image_params *imgp) in __elfN()
1530 base = (Elf_Addr *)*stack_base; in __elfN()
1534 *stack_base = (uintptr_t)base; in __elfN()
/freebsd/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/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()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_fuchsia.cpp96 const char *name, void *stack_base, in __sanitizer_before_thread_create_hook()
101 args.stack_begin = reinterpret_cast<uptr>(stack_base); in __sanitizer_before_thread_create_hook()
95 __sanitizer_before_thread_create_hook(thrd_t thread,bool detached,const char * name,void * stack_base,size_t stack_size) __sanitizer_before_thread_create_hook() argument
/freebsd/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/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()
/freebsd/sys/sys/
H A Dthr.h50 char *stack_base; /* stack base address. */ member
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_util.h114 uintptr_t *stack_base);
H A Dfreebsd32.h313 uint32_t stack_base; member
H A Dfreebsd32_misc.c3297 param.stack_base = PTRIN(param32.stack_base); in freebsd32_thr_new()
3653 freebsd32_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in freebsd32_copyout_strings() argument
3748 *stack_base = (uintptr_t)vectp; in freebsd32_copyout_strings()
/freebsd/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/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/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()
/freebsd/lib/libthr/thread/
H A Dthr_create.c157 param.stack_base = new_thread->attr.stackaddr_attr; in _pthread_create()
/freebsd/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/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()
/freebsd/contrib/diff/
H A DChangeLog340 (stack_base, stack_size): New vars.
342 Use global stack_base, stack_size if