Home
last modified time | relevance | path

Searched refs:stacksize (Results 1 – 25 of 36) sorted by relevance

12

/openbsd-src/lib/librthread/
H A Drthread_attr.c112 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 Dregexec18 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 Denv.c183 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 Dlibgomp.texi918 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 Dlibgomp.info809 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 Dsanitizer_posix_libcdep.cpp399 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 Dsanitizer_linux_libcdep.cpp129 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 Dsanitizer_mac.cpp414 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 Dlocks.h159 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 Dlocks.h159 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 Daout.opt32 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 Dsanitizer_linux_test.cpp197 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 DMachOStructs.h42 llvm::support::ulittle64_t stacksize; member
H A DWriter.cpp292 c->stacksize = 0; in writeTo()
/openbsd-src/gnu/usr.bin/perl/dist/Storable/
H A DMANIFEST12 stacksize
H A DChangeLog208 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 Dthreads.xs1019 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 Dloadfile_elf.c274 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 DOpts.td100 def stacksize : UnsupportedSeparate<"F">, HelpText<"">;
/openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DMachO.h951 uint64_t stacksize; member
1352 sys::swapByteOrder(e.stacksize); in swapStruct()
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp418 IO.mapRequired("stacksize", LoadCommand.stacksize); in mapping()
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp86 extern "C" int pthread_attr_setstacksize(void *attr, uptr stacksize);
/openbsd-src/gnu/usr.bin/gcc/gcc/config/rs6000/
H A Drs6000.c9857 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 DPPCInstr64Bit.td619 (ins i64imm:$stacksize),
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.td43 def PROBED_STACKALLOC : Pseudo<(outs), (ins i64imm:$stacksize), []>;

12