| /openbsd-src/lib/librthread/ |
| H A D | rthread_attr.c | 112 size_t *stacksize) in pthread_attr_getstack() argument 115 *stacksize = (*attrp)->stack_size; in pthread_attr_getstack() 121 pthread_attr_setstack(pthread_attr_t *attrp, void *stackaddr, size_t stacksize) in pthread_attr_setstack() argument 128 if (stacksize < PTHREAD_STACK_MIN) { in pthread_attr_setstack() 132 stackaddr, stacksize, PTHREAD_STACK_MIN); in pthread_attr_setstack() 141 || (stacksize % PTHREAD_STACK_MIN) != 0) { in pthread_attr_setstack() 145 stackaddr, stacksize); in pthread_attr_setstack() 158 for (i = 0; i < stacksize; i += PTHREAD_STACK_MIN) { in pthread_attr_setstack() 164 if (mmap(stackaddr, stacksize, PROT_READ|PROT_WRITE, in pthread_attr_setstack() 168 stackaddr, stacksize); in pthread_attr_setstack() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/lib/warnings/ |
| H A D | regexec | 18 print("SKIPPED\n# most systems run into stacksize limits\n"),exit; 27 # you may have to increase the default stacksize limit in your 36 # % limit stacksize 37 # stacksize 8192 kbytes 38 # % limit stacksize 16000 44 print("SKIPPED\n# most systems run into stacksize limits\n"),exit; 53 # you may have to increase the default stacksize limit in your 62 # % limit stacksize 63 # stacksize 8192 kbytes 64 # % limit stacksize 1600 [all...] |
| /openbsd-src/gnu/gcc/libgomp/ |
| H A D | env.c | 183 unsigned long stacksize; in initialize_env() local 198 if (parse_unsigned_long ("GOMP_STACKSIZE", &stacksize)) in initialize_env() 202 stacksize *= 1024; in initialize_env() 203 err = pthread_attr_setstacksize (&gomp_thread_attr, stacksize); in initialize_env() 208 if (stacksize < PTHREAD_STACK_MIN) in initialize_env()
|
| H A D | libgomp.texi | 918 argument. If the stacksize can not be set due to system constraints, an 919 error is reported and the initial stacksize is left unchanged. If undefined,
|
| H A D | libgomp.info | 809 bytes as an argument. If the stacksize can not be set due to 810 system constraints, an error is reported and the initial stacksize
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_posix_libcdep.cpp | 399 uptr stacksize = 0; in AdjustStackSize() local 400 my_pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize); in AdjustStackSize() 403 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0); in AdjustStackSize() 406 if (stacksize < minstacksize) { in AdjustStackSize() 408 if (stacksize != 0) { in AdjustStackSize() 409 VPrintf(1, "Sanitizer: increasing stacksize %zu->%zu\n", stacksize, in AdjustStackSize() 415 "%zu < %zu\n", stacksize, minstacksize); in AdjustStackSize()
|
| H A D | sanitizer_linux_libcdep.cpp | 129 uptr stacksize = rl.rlim_cur; in GetThreadStackTopAndBottom() local 130 if (stacksize > segment.end - prev_end) stacksize = segment.end - prev_end; in GetThreadStackTopAndBottom() 134 if (stacksize > kMaxThreadStackSize) in GetThreadStackTopAndBottom() 135 stacksize = kMaxThreadStackSize; in GetThreadStackTopAndBottom() 137 *stack_bottom = segment.end - stacksize; in GetThreadStackTopAndBottom() 140 uptr stacksize = 0; in GetThreadStackTopAndBottom() local 145 stacksize = ss.ss_size; in GetThreadStackTopAndBottom() 146 stackaddr = (char *)ss.ss_sp - stacksize; in GetThreadStackTopAndBottom() 151 my_pthread_attr_getstack(&attr, &stackaddr, &stacksize); in GetThreadStackTopAndBottom() 155 *stack_top = (uptr)stackaddr + stacksize; in GetThreadStackTopAndBottom()
|
| H A D | sanitizer_mac.cpp | 414 uptr stacksize = pthread_get_stacksize_np(pthread_self()); in GetThreadStackTopAndBottom() local 419 stacksize == (1 << 19)) { in GetThreadStackTopAndBottom() 424 stacksize = rl.rlim_cur; in GetThreadStackTopAndBottom() 426 stacksize = kMaxThreadStackSize; in GetThreadStackTopAndBottom() 431 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom()
|
| /openbsd-src/usr.sbin/unbound/util/ |
| H A D | locks.h | 159 size_t stacksize; \ 161 LOCKRET(pthread_attr_getstacksize(&attr, &stacksize)); \ 162 if (stacksize < stackrequired) { \ 165 LOCKRET(pthread_attr_getstacksize(&attr, &stacksize)); \ 166 verbose(VERB_ALGO, "Thread stack size set to %u", (unsigned)stacksize); \
|
| /openbsd-src/sbin/unwind/libunbound/util/ |
| H A D | locks.h | 159 size_t stacksize; \ 161 LOCKRET(pthread_attr_getstacksize(&attr, &stacksize)); \ 162 if (stacksize < stackrequired) { \ 165 LOCKRET(pthread_attr_getstacksize(&attr, &stacksize)); \ 166 verbose(VERB_ALGO, "Thread stack size set to %u", (unsigned)stacksize); \
|
| /openbsd-src/gnu/gcc/gcc/config/cris/ |
| H A D | aout.opt | 32 melinux-stacksize= 34 -melinux-stacksize=SIZE For elinux, request a specified stack-size for this program
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_linux_test.cpp | 197 size_t stacksize; in thread_descriptor_size_test_func() local 198 pthread_attr_getstack(&attr, &stackaddr, &stacksize); in thread_descriptor_size_test_func() 199 return (void *)((uptr)stackaddr + stacksize - descr_addr); in thread_descriptor_size_test_func()
|
| /openbsd-src/gnu/llvm/lld/MachO/ |
| H A D | MachOStructs.h | 42 llvm::support::ulittle64_t stacksize; member
|
| H A D | Writer.cpp | 292 c->stacksize = 0; in writeTo()
|
| /openbsd-src/gnu/usr.bin/perl/dist/Storable/ |
| H A D | MANIFEST | 12 stacksize
|
| H A D | ChangeLog | 208 mingw fails on the stacksize binary search, leaving it empty. 233 - CORE-only improvements to stacksize
|
| /openbsd-src/gnu/usr.bin/perl/dist/threads/ |
| H A D | threads.xs | 1019 size_t stacksize; 1021 stacksize = pthread_attr_getstacksize(attr); 1023 if (! pthread_attr_getstacksize(&attr, &stacksize)) 1025 if (stacksize > 0) { 1026 thread->stack_size = (IV)stacksize; 1128 } else if ((svp = hv_fetchs(specs, "stacksize", 0))) { 1018 size_t stacksize; global() local
|
| /openbsd-src/usr.sbin/vmd/ |
| H A D | loadfile_elf.c | 274 size_t n, stacksize; in loadfile_elf() 325 stacksize = push_stack(bootargsz, marks[MARK_END]); 328 vrs->vrs_gprs[VCPU_REGS_RSP] = (uint64_t)(STACK_PAGE + PAGE_SIZE) - stacksize; 271 size_t n, stacksize; loadfile_elf() local
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-ml/ |
| H A D | Opts.td | 100 def stacksize : UnsupportedSeparate<"F">, HelpText<"">;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 951 uint64_t stacksize; member 1352 sys::swapByteOrder(e.stacksize); in swapStruct()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | MachOYAML.cpp | 418 IO.mapRequired("stacksize", LoadCommand.stacksize); in mapping()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors_posix.cpp | 86 extern "C" int pthread_attr_setstacksize(void *attr, uptr stacksize);
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/rs6000/ |
| H A D | rs6000.c | 9857 rs6000_emit_eh_toc_restore (stacksize) in rs6000_emit_eh_toc_restore() argument 9858 rtx stacksize; in rs6000_emit_eh_toc_restore() 9875 bottom_of_stack, stacksize,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstr64Bit.td | 619 (ins i64imm:$stacksize),
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrInfo.td | 43 def PROBED_STACKALLOC : Pseudo<(outs), (ins i64imm:$stacksize), []>;
|