/freebsd-13-stable/sys/compat/cloudabi32/ |
H A D | cloudabi32_module.c | 49 cloudabi32_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) argument 59 *stack_base = begin; 64 cloudabi32_fixup(uintptr_t *stack_base, struct image_params *imgp) argument 82 argdata = (void *)*stack_base; 86 *stack_base -= roundup(sizeof(canarybuf), sizeof(register_t)); 87 canary = (void *)*stack_base; 100 *stack_base -= roundup(sizeof(pidbuf), sizeof(register_t)); 101 pid = (void *)*stack_base; 138 *stack_base -= roundup(sizeof(auxv), sizeof(register_t)); 139 error = copyout(auxv, (void *)*stack_base, sizeo [all...] |
/freebsd-13-stable/sys/compat/cloudabi64/ |
H A D | cloudabi64_module.c | 49 cloudabi64_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) argument 59 *stack_base = begin; 64 cloudabi64_fixup(uintptr_t *stack_base, struct image_params *imgp) argument 82 argdata = (void *)*stack_base; 86 *stack_base -= roundup(sizeof(canarybuf), sizeof(register_t)); 87 canary = (void *)*stack_base; 100 *stack_base -= roundup(sizeof(pidbuf), sizeof(register_t)); 101 pid = (void *)*stack_base; 138 *stack_base -= roundup(sizeof(auxv), sizeof(register_t)); 139 error = copyout(auxv, (void *)*stack_base, sizeo [all...] |
/freebsd-13-stable/sys/i386/cloudabi32/ |
H A D | cloudabi32_sysvec.c | 51 cloudabi32_fixup_tcb(uintptr_t *stack_base, struct image_params *imgp) argument 57 error = cloudabi32_fixup(stack_base, imgp); 71 args[0] = *stack_base; 72 args[1] = *stack_base + 74 *stack_base -= roundup(sizeof(args), sizeof(register_t)); 75 return (copyout(args, (void *)*stack_base, sizeof(args)));
|
/freebsd-13-stable/sys/amd64/cloudabi32/ |
H A D | cloudabi32_sysvec.c | 56 cloudabi32_fixup_tcb(uintptr_t *stack_base, struct image_params *imgp) argument 62 error = cloudabi32_fixup(stack_base, imgp); 76 args[0] = *stack_base; 77 args[1] = *stack_base + 79 *stack_base -= roundup2(sizeof(args), sizeof(register_t)); 80 return (copyout(args, (void *)*stack_base, sizeof(args)));
|
/freebsd-13-stable/sys/amd64/cloudabi64/ |
H A D | cloudabi64_sysvec.c | 51 cloudabi64_fixup_tcb(uintptr_t *stack_base, struct image_params *imgp) argument 57 error = cloudabi64_fixup(stack_base, imgp); 66 tcbptr = (register_t)*stack_base; 67 *stack_base -= sizeof(tcbptr); 68 return (copyout(&tcbptr, (void *)*stack_base, sizeof(tcbptr)));
|
/freebsd-13-stable/sys/sys/ |
H A D | thr.h | 52 char *stack_base; /* stack base address. */ member in struct:thr_param
|
/freebsd-13-stable/contrib/diff/lib/ |
H A D | c-stack.c | 186 char const *stack_base = user_context->uc_stack.ss_sp; 189 size_t s = faulting_address - stack_base; 201 faulting_address, stack_base, (unsigned long) stack_size,
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_fuchsia.cpp | 87 const char *name, void *stack_base, 93 args.stack_begin = reinterpret_cast<uptr>(stack_base); 86 __sanitizer_before_thread_create_hook(thrd_t thread, bool detached, const char *name, void *stack_base, size_t stack_size) argument
|
/freebsd-13-stable/cddl/contrib/opensolaris/head/ |
H A D | thread.h | 76 thr_create(void *stack_base, size_t stack_size, void *(*start_func) (void*), argument 82 assert(stack_base == NULL);
|
/freebsd-13-stable/sys/kern/ |
H A D | imgact_aout.c | 68 static int aout_fixup(uintptr_t *stack_base, struct image_params *imgp); 146 aout_fixup(uintptr_t *stack_base, struct image_params *imgp) argument 149 *stack_base -= sizeof(uint32_t); 150 if (suword32((void *)*stack_base, imgp->args->argc) != 0)
|
H A D | kern_exec.c | 378 uintptr_t stack_base; local 687 error = (*p->p_sysent->sv_copyout_strings)(imgp, &stack_base); 696 error = (*p->p_sysent->sv_fixup)(&stack_base, imgp); 885 (*p->p_sysent->sv_setregs)(td, imgp, stack_base); 1566 exec_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) argument 1672 *stack_base = (uintptr_t)vectp;
|
H A D | kern_thr.c | 167 stack.ss_sp = param->stack_base;
|
H A D | imgact_elf.c | 1415 __elfN(freebsd_fixup)(uintptr_t *stack_base, struct image_params *imgp) argument 1419 base = (Elf_Addr *)*stack_base; 1423 *stack_base = (uintptr_t)base; 2840 __elfN(stackgap)(struct image_params *imgp, uintptr_t *stack_base) argument 2854 *stack_base -= gap;
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_fuchsia.cpp | 207 const char *name, void *stack_base, 211 reinterpret_cast<uptr>(stack_base), stack_size); 206 __sanitizer_before_thread_create_hook(thrd_t thread, bool detached, const char *name, void *stack_base, size_t stack_size) argument
|
H A D | asan_rtems.cpp | 235 void *stack_base, size_t stack_size, 239 reinterpret_cast<uptr>(stack_base), stack_size, 233 __sanitizer_before_thread_create_hook(uptr thread, bool detached, const char *name, void *stack_base, size_t stack_size, void *tls_base, size_t tls_size) argument
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 146 void *stack_base; member in struct:__anon2522::thread_stack_ll 180 Munmap(stack->stack_base, stack->size); 189 cur_stack->stack_base = (char *)unsafe_stack_start - unsafe_stack_guard;
|
/freebsd-13-stable/sys/compat/freebsd32/ |
H A D | freebsd32_util.h | 116 uintptr_t *stack_base);
|
H A D | freebsd32.h | 266 uint32_t stack_base; member in struct:thr_param32
|
/freebsd-13-stable/sys/i386/linux/ |
H A D | linux_sysvec.c | 90 static int linux_fixup(uintptr_t *stack_base, 92 static int linux_fixup_elf(uintptr_t *stack_base, 98 uintptr_t *stack_base); 172 linux_fixup(uintptr_t *stack_base, struct image_params *imgp) argument 176 base = (register_t *)*stack_base; 185 *stack_base = (uintptr_t)base; 253 linux_fixup_elf(uintptr_t *stack_base, struct image_params *imgp) argument 257 base = (register_t *)*stack_base; 261 *stack_base = (uintptr_t)base; 269 linux_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) argument [all...] |
/freebsd-13-stable/sys/arm64/linux/ |
H A D | linux_sysvec.c | 78 uintptr_t *stack_base); 79 static int linux_elf_fixup(uintptr_t *stack_base, 208 linux_elf_fixup(uintptr_t *stack_base, struct image_params *imgp) argument 223 linux_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) argument 285 *stack_base = (uintptr_t)vectp;
|
/freebsd-13-stable/sys/amd64/linux/ |
H A D | linux_sysvec.c | 100 uintptr_t *stack_base); 101 static int linux_fixup_elf(uintptr_t *stack_base, 300 linux_fixup_elf(uintptr_t *stack_base, struct image_params *imgp) argument 304 base = (Elf64_Addr *)*stack_base; 309 *stack_base = (uintptr_t)base; 319 linux_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) argument 386 *stack_base = (uintptr_t)vectp;
|
/freebsd-13-stable/sys/amd64/linux32/ |
H A D | linux32_sysvec.c | 104 static int linux_fixup_elf(uintptr_t *stack_base, 107 uintptr_t *stack_base); 248 linux_fixup_elf(uintptr_t *stack_base, struct image_params *imgp) argument 252 base = (Elf32_Addr *)*stack_base; 256 *stack_base = (uintptr_t)base; 737 linux_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) argument 796 *stack_base = (uintptr_t)vectp;
|
/freebsd-13-stable/lib/libthr/thread/ |
H A D | thr_create.c | 160 param.stack_base = new_thread->attr.stackaddr_attr;
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_fuchsia.cpp | 513 void *stack_base, size_t stack_size) { 516 __sanitizer::MainThreadStackBase = reinterpret_cast<uintptr_t>(stack_base); 512 __sanitizer_startup_hook(int argc, char **argv, char **envp, void *stack_base, size_t stack_size) argument
|
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_runtime.cpp | 105 char *stack_base; local 153 stack_base = (char *)TCR_PTR(thr->th.th_info.ds.ds_stackbase); 157 if (stack_addr <= stack_base) { 158 size_t stack_diff = stack_base - stack_addr; 187 stack_base = (char *)other_threads[i]->th.th_info.ds.ds_stackbase; 188 if (stack_addr > stack_base) { 192 stack_base); 195 stack_base - stack_addr);
|