/freebsd-12-stable/sys/compat/cloudabi32/ |
H A D | cloudabi32_module.c | 64 cloudabi32_fixup(register_t **stack_base, struct image_params *imgp) argument 82 argdata = *stack_base; 86 *stack_base -= howmany(sizeof(canarybuf), sizeof(register_t)); 87 canary = *stack_base; 100 *stack_base -= howmany(sizeof(pidbuf), sizeof(register_t)); 101 pid = *stack_base; 137 *stack_base -= howmany(sizeof(auxv), sizeof(register_t)); 138 error = copyout(auxv, *stack_base, sizeof(auxv)); 143 *stack_base -= howmany(sizeof(cloudabi32_tcb_t), sizeof(register_t));
|
/freebsd-12-stable/sys/compat/cloudabi64/ |
H A D | cloudabi64_module.c | 64 cloudabi64_fixup(register_t **stack_base, struct image_params *imgp) argument 82 argdata = *stack_base; 86 *stack_base -= howmany(sizeof(canarybuf), sizeof(register_t)); 87 canary = *stack_base; 100 *stack_base -= howmany(sizeof(pidbuf), sizeof(register_t)); 101 pid = *stack_base; 137 *stack_base -= howmany(sizeof(auxv), sizeof(register_t)); 138 error = copyout(auxv, *stack_base, sizeof(auxv)); 143 *stack_base -= howmany(sizeof(cloudabi64_tcb_t), sizeof(register_t));
|
/freebsd-12-stable/sys/i386/cloudabi32/ |
H A D | cloudabi32_sysvec.c | 51 cloudabi32_fixup_tcb(register_t **stack_base, struct image_params *imgp) argument 57 error = cloudabi32_fixup(stack_base, imgp); 71 args[0] = (uintptr_t)*stack_base; 72 args[1] = (uintptr_t)*stack_base + 74 *stack_base -= howmany(sizeof(args), sizeof(register_t)); 75 return (copyout(args, *stack_base, sizeof(args)));
|
/freebsd-12-stable/sys/amd64/cloudabi32/ |
H A D | cloudabi32_sysvec.c | 56 cloudabi32_fixup_tcb(register_t **stack_base, struct image_params *imgp) argument 62 error = cloudabi32_fixup(stack_base, imgp); 76 args[0] = (uintptr_t)*stack_base; 77 args[1] = (uintptr_t)*stack_base + 79 *stack_base -= howmany(sizeof(args), sizeof(register_t)); 80 return (copyout(args, *stack_base, sizeof(args)));
|
/freebsd-12-stable/sys/sys/ |
H A D | thr.h | 52 char *stack_base; /* stack base address. */ member in struct:thr_param
|
/freebsd-12-stable/sys/amd64/cloudabi64/ |
H A D | cloudabi64_sysvec.c | 51 cloudabi64_fixup_tcb(register_t **stack_base, struct image_params *imgp) argument 57 error = cloudabi64_fixup(stack_base, imgp); 66 tcbptr = (register_t)*stack_base; 67 return (copyout(&tcbptr, --*stack_base, sizeof(tcbptr)));
|
/freebsd-12-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-12-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-12-stable/sys/i386/ibcs2/ |
H A D | ibcs2_sysvec.c | 99 ibcs2_fixup(register_t **stack_base, struct image_params *imgp) argument 102 return (suword(--(*stack_base), imgp->args->argc));
|
/freebsd-12-stable/sys/i386/linux/ |
H A D | linux_sysvec.c | 91 static int linux_fixup(register_t **stack_base, 93 static int linux_fixup_elf(register_t **stack_base, 176 linux_fixup(register_t **stack_base, struct image_params *imgp) argument 180 argv = *stack_base; 181 envp = *stack_base + (imgp->args->argc + 1); 182 (*stack_base)--; 183 suword(*stack_base, (intptr_t)(void *)envp); 184 (*stack_base)--; 185 suword(*stack_base, (intptr_t)(void *)argv); 186 (*stack_base) 192 linux_fixup_elf(register_t **stack_base, struct image_params *imgp) argument 272 register_t *stack_base; local [all...] |
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_fuchsia.cpp | 205 const char *name, void *stack_base, 209 reinterpret_cast<uptr>(stack_base), stack_size); 204 __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 | 233 void *stack_base, size_t stack_size, 237 reinterpret_cast<uptr>(stack_base), stack_size, 231 __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-12-stable/sys/kern/ |
H A D | imgact_aout.c | 68 static int aout_fixup(register_t **stack_base, struct image_params *imgp); 152 aout_fixup(register_t **stack_base, struct image_params *imgp) argument 155 *(char **)stack_base -= sizeof(uint32_t); 156 return (suword32(*stack_base, imgp->args->argc));
|
H A D | kern_exec.c | 367 register_t *stack_base; local 680 stack_base = (*p->p_sysent->sv_copyout_strings)(imgp); 682 stack_base = exec_copyout_strings(imgp); 690 error = (*p->p_sysent->sv_fixup)(&stack_base, imgp); 692 error = suword(--stack_base, imgp->args->argc) == 0 ? 882 (u_long)(uintptr_t)stack_base); 884 exec_setregs(td, imgp, (u_long)(uintptr_t)stack_base); 1523 register_t *stack_base; local 1609 stack_base = (register_t *)vectp; 1655 return (stack_base); [all...] |
H A D | kern_thr.c | 167 stack.ss_sp = param->stack_base;
|
H A D | imgact_elf.c | 1335 __elfN(freebsd_fixup)(register_t **stack_base, struct image_params *imgp) argument 1342 base = (Elf_Addr *)*stack_base; 1395 *stack_base = (register_t *)base; 2759 __elfN(stackgap)(struct image_params *imgp, u_long *stack_base) argument 2773 *stack_base -= gap;
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 146 void *stack_base; member in struct:__anon3623::thread_stack_ll 180 Munmap(stack->stack_base, stack->size); 189 cur_stack->stack_base = (char *)unsafe_stack_start - unsafe_stack_guard;
|
/freebsd-12-stable/sys/arm64/linux/ |
H A D | linux_sysvec.c | 74 static int linux_elf_fixup(register_t **stack_base, 147 linux_elf_fixup(register_t **stack_base, struct image_params *imgp) argument 162 base = (Elf64_Addr *)*stack_base; 220 register_t *stack_base; local 270 stack_base = (register_t *)vectp; 308 return (stack_base);
|
/freebsd-12-stable/sys/amd64/linux/ |
H A D | linux_sysvec.c | 100 static int linux_fixup_elf(register_t **stack_base, 226 linux_fixup_elf(register_t **stack_base, struct image_params *imgp) argument 240 base = (Elf64_Addr *)*stack_base; 283 *stack_base = (register_t *)base; 298 register_t *stack_base; local 352 stack_base = (register_t *)vectp; 389 return (stack_base);
|
/freebsd-12-stable/sys/amd64/linux32/ |
H A D | linux32_sysvec.c | 104 static int linux_fixup_elf(register_t **stack_base, 189 linux_fixup_elf(register_t **stack_base, struct image_params *imgp) argument 201 base = (Elf32_Addr *)*stack_base; 256 *stack_base = (register_t *)base; 730 u_int32_t *stack_base; local 776 stack_base = vectp; 813 return ((register_t *)stack_base);
|
/freebsd-12-stable/lib/libthr/thread/ |
H A D | thr_create.c | 161 param.stack_base = new_thread->attr.stackaddr_attr;
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_fuchsia.cpp | 509 void *stack_base, size_t stack_size) { 512 __sanitizer::MainThreadStackBase = reinterpret_cast<uintptr_t>(stack_base); 508 __sanitizer_startup_hook(int argc, char **argv, char **envp, void *stack_base, size_t stack_size) argument
|
/freebsd-12-stable/sys/compat/freebsd32/ |
H A D | freebsd32.h | 266 uint32_t stack_base; member in struct:thr_param32
|
H A D | freebsd32_misc.c | 2863 param.stack_base = PTRIN(param32.stack_base); 3163 u_int32_t *stack_base; local 3249 stack_base = vectp; 3294 return ((register_t *)stack_base);
|
/freebsd-12-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);
|