/freebsd/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/sys/kern/ |
H A D | imgact_aout.c | 65 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 D | kern_exec.c | 397 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 D | kern_thr.c | 165 stack.ss_sp = param->stack_base; in thr_new_initthr()
|
H A D | imgact_elf.c | 1526 __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 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/contrib/llvm-project/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 171 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 D | lsan_fuchsia.cpp | 96 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 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/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_fuchsia.cpp | 255 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 D | thr.h | 50 char *stack_base; /* stack base address. */ member
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_util.h | 114 uintptr_t *stack_base);
|
H A D | freebsd32.h | 313 uint32_t stack_base; member
|
H A D | freebsd32_misc.c | 3297 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 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/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/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_fuchsia.cpp | 542 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 D | thr_create.c | 157 param.stack_base = new_thread->attr.stackaddr_attr; in _pthread_create()
|
/freebsd/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/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_runtime.cpp | 140 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 D | ChangeLog | 340 (stack_base, stack_size): New vars. 342 Use global stack_base, stack_size if
|