/freebsd-11-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-11-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-11-stable/lib/libthr/thread/ |
H A D | thr_create.c | 159 param.stack_base = new_thread->attr.stackaddr_attr;
|
/freebsd-11-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-11-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-11-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-11-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-11-stable/sys/compat/svr4/ |
H A D | svr4_sysvec.c | 157 static int svr4_fixup(register_t **stack_base, struct image_params *imgp); 215 svr4_fixup(register_t **stack_base, struct image_params *imgp) argument 223 pos = *stack_base + (imgp->args->argc + imgp->args->envc + 2); 243 (*stack_base)--; 244 **stack_base = (register_t)imgp->args->argc;
|
/freebsd-11-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-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_sysvec.c | 97 ibcs2_fixup(register_t **stack_base, struct image_params *imgp) argument 100 return (suword(--(*stack_base), imgp->args->argc));
|
/freebsd-11-stable/sys/kern/ |
H A D | imgact_aout.c | 66 static int aout_fixup(register_t **stack_base, struct image_params *imgp); 148 aout_fixup(register_t **stack_base, struct image_params *imgp) argument 151 *(char **)stack_base -= sizeof(uint32_t); 152 return (suword32(*stack_base, imgp->args->argc));
|
H A D | kern_thr.c | 164 stack.ss_sp = param->stack_base;
|
H A D | imgact_elf.c | 1112 __elfN(freebsd_fixup)(register_t **stack_base, struct image_params *imgp) argument 1118 base = (Elf_Addr *)*stack_base; 1164 *stack_base = (register_t *)base;
|
H A D | kern_exec.c | 360 register_t *stack_base; local 682 stack_base = (*p->p_sysent->sv_copyout_strings)(imgp); 684 stack_base = exec_copyout_strings(imgp); 692 (*p->p_sysent->sv_fixup)(&stack_base, imgp); 694 suword(--stack_base, imgp->args->argc); 884 (u_long)(uintptr_t)stack_base); 886 exec_setregs(td, imgp, (u_long)(uintptr_t)stack_base); 1487 register_t *stack_base; local 1571 stack_base = (register_t *)vectp; 1617 return (stack_base); [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | thr.h | 50 char *stack_base; /* stack base address. */ member in struct:thr_param
|
/freebsd-11-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-11-stable/contrib/llvm-project/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 146 void *stack_base; member in struct:__anon1001::thread_stack_ll 180 Munmap(stack->stack_base, stack->size); 189 cur_stack->stack_base = (char *)unsafe_stack_start - unsafe_stack_guard;
|
/freebsd-11-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-11-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);
|
/freebsd-11-stable/sys/amd64/linux/ |
H A D | linux_sysvec.c | 116 static int linux_fixup_elf(register_t **stack_base, 242 linux_fixup_elf(register_t **stack_base, struct image_params *imgp) argument 256 base = (Elf64_Addr *)*stack_base; 290 *stack_base = (register_t *)base; 305 register_t *stack_base; local 353 stack_base = (register_t *)vectp; 390 return (stack_base);
|
/freebsd-11-stable/sys/amd64/linux32/ |
H A D | linux32_sysvec.c | 117 static int linux_fixup_elf(register_t **stack_base, 202 linux_fixup_elf(register_t **stack_base, struct image_params *imgp) argument 214 base = (Elf32_Addr *)*stack_base; 259 *stack_base = (register_t *)base; 771 u_int32_t *stack_base; local 817 stack_base = vectp; 854 return ((register_t *)stack_base);
|
/freebsd-11-stable/sys/compat/freebsd32/ |
H A D | freebsd32.h | 205 uint32_t stack_base; member in struct:thr_param32
|
H A D | freebsd32_misc.c | 2510 param.stack_base = PTRIN(param32.stack_base); 2888 u_int32_t *stack_base; local 2972 stack_base = vectp; 3017 return ((register_t *)stack_base);
|
/freebsd-11-stable/sys/i386/linux/ |
H A D | linux_sysvec.c | 104 static int linux_fixup(register_t **stack_base, 106 static int linux_fixup_elf(register_t **stack_base, 189 linux_fixup(register_t **stack_base, struct image_params *imgp) argument 193 argv = *stack_base; 194 envp = *stack_base + (imgp->args->argc + 1); 195 (*stack_base)--; 196 suword(*stack_base, (intptr_t)(void *)envp); 197 (*stack_base)--; 198 suword(*stack_base, (intptr_t)(void *)argv); 199 (*stack_base) 205 linux_fixup_elf(register_t **stack_base, struct image_params *imgp) argument 276 register_t *stack_base; local [all...] |