| /freebsd-14.2/contrib/diff/lib/ |
| H A D | c-stack.c | 186 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 D | imgact_aout.c | 66 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 D | kern_exec.c | 388 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 D | kern_thr.c | 165 stack.ss_sp = param->stack_base; in thr_new_initthr()
|
| H A D | imgact_elf.c | 1513 __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 D | safestack.cpp | 146 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 D | thread.h | 76 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 D | lsan_fuchsia.cpp | 96 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 D | hwasan_fuchsia.cpp | 216 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 D | asan_fuchsia.cpp | 257 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 D | thr.h | 50 char *stack_base; /* stack base address. */ member
|
| /freebsd-14.2/sys/compat/freebsd32/ |
| H A D | freebsd32_util.h | 114 uintptr_t *stack_base);
|
| H A D | freebsd32.h | 312 uint32_t stack_base; member
|
| H A D | freebsd32_misc.c | 3237 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 D | linux_sysvec.c | 99 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 D | linux_elf.c | 327 __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 D | sanitizer_fuchsia.cpp | 543 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 D | thr_create.c | 157 param.stack_base = new_thread->attr.stackaddr_attr; in _pthread_create()
|
| /freebsd-14.2/sys/amd64/linux32/ |
| H A D | linux32_sysvec.c | 103 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 D | kmp_runtime.cpp | 125 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 D | ChangeLog | 340 (stack_base, stack_size): New vars. 342 Use global stack_base, stack_size if
|