/src/lib/libpuffs/ |
callcontext.c | 190 size_t stacksize = 1<<pu->pu_cc_stackshift; local in function:slowccalloc 196 sp = mmap(NULL, stacksize, PROT_READ|PROT_WRITE, 207 mprotect((uint8_t *)sp + stacksize - psize, (size_t)psize, PROT_NONE); 212 munmap(pcc, stacksize); 216 munmap(pcc, stacksize); 228 size_t stacksize = 1<<pu->pu_cc_stackshift; local in function:puffs__cc_create 264 st->ss_size = stacksize - psize; 296 size_t stacksize = 1<<pu->pu_cc_stackshift; local in function:cc_free 300 munmap(pcc, stacksize); 337 size_t stacksize = 1<<pu->pu_cc_stackshift local in function:puffs_cc_getcc [all...] |
/src/tests/lib/libpthread/ |
t_join.c | 46 #define STACKSIZE 65536 106 ATF_REQUIRE(pthread_attr_setstacksize(&attr, STACKSIZE * (i + 1)) == 0); 107 ATF_REQUIRE(pthread_attr_setguardsize(&attr, STACKSIZE * (i + 2)) == 0); 152 size_t stacksize, guardsize; local in function:threadfunc2 157 ATF_REQUIRE(pthread_attr_getstacksize(&attr, &stacksize) == 0); 158 ATF_REQUIRE(stacksize == STACKSIZE * (j + 1)); 160 ATF_REQUIRE(guardsize == STACKSIZE * (j + 2));
|
t_stack.c | 74 size_t stacksize; local in function:getdefaultstacksize 81 RZ(pthread_attr_getstacksize(&attr, &stacksize)); 88 ATF_CHECK_EQ_MSG(stacksize, pthread__stacksize, 89 "stacksize=%zu pthread__stacksize=%zu", 90 stacksize, pthread__stacksize); 92 return stacksize; 156 * init(stacksize) 159 * stacksize. 167 init(size_t stacksize) 170 C->size = stacksize; [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_linux_libcdep.cc | 118 // Get stacksize from rlimit, but clip it so that it does not overlap 120 uptr stacksize = rl.rlim_cur; local in function:__sanitizer::GetThreadStackTopAndBottom 121 if (stacksize > segment.end - prev_end) stacksize = segment.end - prev_end; 125 if (stacksize > kMaxThreadStackSize) 126 stacksize = kMaxThreadStackSize; 128 *stack_bottom = segment.end - stacksize; 131 uptr stacksize = 0; local in function:__sanitizer::GetThreadStackTopAndBottom 136 stacksize = ss.ss_size; 137 stackaddr = (char *)ss.ss_sp - stacksize; [all...] |
sanitizer_posix_libcdep.cc | 420 uptr stacksize = 0; local in function:__sanitizer::AdjustStackSize 421 my_pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize); 422 // GLibC will return (0 - stacksize) as the stack address in the case when 423 // stacksize is set, but stackaddr is not. 424 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0); 427 if (stacksize < minstacksize) { 429 if (stacksize != 0) { 430 VPrintf(1, "Sanitizer: increasing stacksize %zu->%zu\n", stacksize, 436 "%zu < %zu\n", stacksize, minstacksize) [all...] |
sanitizer_mac.cc | 304 uptr stacksize = pthread_get_stacksize_np(pthread_self()); local in function:__sanitizer::GetThreadStackTopAndBottom 309 stacksize == (1 << 19)) { 314 stacksize = rl.rlim_cur; 316 stacksize = kMaxThreadStackSize; 321 *stack_bottom = *stack_top - stacksize;
|
/src/sys/arch/mips/mips/ |
db_trace.c | 232 int stacksize; 254 stacksize = 0; 264 stacksize = -(short)i.IType.imm; 272 name, pc - func, (void *)(intptr_t)ra, stacksize); 278 sp += stacksize;
|
vm_machdep.c | 83 * in both the stack and stacksize arguments), then set up the user stack 87 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 113 tf->tf_regs[_R_SP] = (intptr_t)stack + stacksize;
|
/src/sys/arch/ia64/ia64/ |
vm_machdep.c | 135 * in both the stack and stacksize args), set up the user stack pointer 139 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 197 l2->l_md.user_stack_size = stacksize;
|
/src/sys/arch/m68k/m68k/ |
vm_machdep.c | 81 * in both the stack and stacksize args), set up the user stack pointer 85 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 118 tf->tf_regs[15] = (u_int)stack + stacksize;
|
/src/lib/libpthread/ |
pthread.c | 339 size_t stacksize, guardsize; local in function:pthread__getstack 343 pthread_attr_getstack(attr, &stackbase, &stacksize); 350 stacksize = 0; 353 if (stacksize == 0) 354 stacksize = pthread__stacksize; 358 newthread->pt_stack.ss_size == stacksize && 376 stacksize = ((stacksize - 1) | (pthread__pagesize - 1)) + 1; 378 stackbase = mmap(NULL, stacksize + guardsize, 387 redzone = (char *)stackbase + stacksize; [all...] |
/src/sys/arch/x86/x86/ |
vm_machdep.c | 127 * in both the stack and stacksize arguments), then set up the user stack 131 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 200 tf->tf_rsp = (uint64_t)stack + stacksize; 202 tf->tf_esp = (uint32_t)stack + stacksize;
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_linux_test.cc | 213 size_t stacksize; local in function:__sanitizer::thread_descriptor_size_test_func 214 pthread_attr_getstack(&attr, &stackaddr, &stacksize); 215 return (void *)((uptr)stackaddr + stacksize - descr_addr);
|
/src/sys/arch/sparc64/sparc64/ |
vm_machdep.c | 177 * in both the stack and stacksize args), set up the user stack pointer 182 cpu_lwp_fork(register struct lwp *l1, register struct lwp *l2, void *stack, size_t stacksize, void (*func)(void *), void *arg) 247 tf2->tf_out[6] = (uint64_t)(u_long)stack + stacksize;
|
/src/sys/arch/sparc/sparc/ |
vm_machdep.c | 184 * in both the stack and stacksize args), set up the user stack pointer 189 void *stack, size_t stacksize, 261 tf2->tf_out[6] = (u_int)stack + stacksize;
|
/src/sys/arch/alpha/alpha/ |
vm_machdep.c | 90 * in both the stack and stacksize args), set up the user stack pointer 94 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 121 ((u_long)stack + stacksize) & ~((u_long)STACK_ALIGNBYTES);
|
/src/sys/arch/powerpc/powerpc/ |
vm_machdep.c | 82 * in both the stack and stacksize args), set up the user stack pointer 86 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 117 ((register_t)stack + stacksize - STACK_ALIGNBYTES)
|
/src/sys/arch/aarch64/aarch64/ |
vm_machdep.c | 76 * in both the stack and stacksize args), set up the user stack pointer 80 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 151 utf->tf_sp = (vaddr_t)(stack) + stacksize;
|
db_trace.c | 476 TRACE_DEBUG("stacksize: %#06lx = %lu\n", ssize, ssize); 554 vsize_t stacksize; variable in typeref:typename:vsize_t 582 if (analyze_func(func_entry, pc, sp, &lr, &stacksize, 595 sp += stacksize;
|
/src/sys/arch/sh3/sh3/ |
vm_machdep.c | 132 * in both the stack and stacksize args), set up the user stack 137 size_t stacksize, void (*func)(void *), void *arg) 154 l2->l_md.md_regs->tf_r15 = (u_int)stack + stacksize;
|
/src/sys/arch/arm/arm32/ |
vm_machdep.c | 101 * in both the stack and stacksize args), set up the user stack pointer 105 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 158 tf->tf_usr_sp = ((vaddr_t)(stack) + stacksize) & -8;
|
/src/sys/arch/riscv/riscv/ |
vm_machdep.c | 70 * in both the stack and stacksize arguments), then set up the user stack 74 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 101 tf->tf_sp = stack_align((intptr_t)stack + stacksize);
|
/src/sys/arch/vax/vax/ |
vm_machdep.c | 68 * in both the stack and stacksize args), set up the user stack pointer 78 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 156 tf->tf_sp = (uintptr_t)stack + stacksize;
|
/src/sys/sys/ |
disklabel_rdb.h | 171 uint32_t stacksize; /* to use when loading handler */ member in struct:fsblock
|
/src/sys/uvm/ |
uvm_glue.c | 205 * stack and stacksize 212 uvm_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 226 cpu_lwp_fork(l1, l2, stack, stacksize, func, arg);
|