| /freebsd-12.1/lib/libthr/thread/ |
| H A D | thr_stack.c | 47 size_t stacksize; /* Stack size (rounded up). */ member 197 size_t stacksize; in _thr_stack_alloc() local 208 stacksize = round_up(attr->stacksize_attr); in _thr_stack_alloc() 223 if ((stacksize == THR_STACK_DEFAULT) && in _thr_stack_alloc() 238 if (spare_stack->stacksize == stacksize && in _thr_stack_alloc() 260 stackaddr = last_stack - stacksize - guardsize; in _thr_stack_alloc() 269 last_stack -= (stacksize + guardsize); in _thr_stack_alloc() 276 if ((stackaddr = mmap(stackaddr, stacksize + guardsize, in _thr_stack_alloc() 284 munmap(stackaddr, stacksize + guardsize); in _thr_stack_alloc() 306 spare_stack->stacksize = round_up(attr->stacksize_attr); in _thr_stack_free() [all …]
|
| H A D | thr_attr.c | 297 void ** __restrict stackaddr, size_t * __restrict stacksize) in _pthread_attr_getstack() argument 303 || stacksize == NULL ) in _pthread_attr_getstack() 308 *stacksize = (*attr)->stacksize_attr; in _pthread_attr_getstack() 338 size_t * __restrict stacksize) in _thr_attr_getstacksize() argument 343 if (attr == NULL || *attr == NULL || stacksize == NULL) in _thr_attr_getstacksize() 347 *stacksize = (*attr)->stacksize_attr; in _thr_attr_getstacksize() 538 size_t stacksize) in _pthread_attr_setstack() argument 544 || stacksize < PTHREAD_STACK_MIN) in _pthread_attr_setstack() 549 (*attr)->stacksize_attr = stacksize; in _pthread_attr_setstack() 578 _thr_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) in _thr_attr_setstacksize() argument [all …]
|
| /freebsd-12.1/sys/mips/mips/ |
| H A D | stack_machdep.c | 55 u_register_t ra = 0, i, stacksize; in stack_capture() local 62 stacksize = 0; in stack_capture() 74 stacksize = -(short)insn.IType.imm; in stack_capture() 87 if (stacksize) in stack_capture() 119 if (pc == ra && stacksize == 0) in stack_capture() 122 sp += stacksize; in stack_capture()
|
| /freebsd-12.1/release/picobsd/mfs_tree/etc/ |
| H A D | login.conf | 27 :stacksize-cur=8M:\ 49 :stacksize=2M:\ 82 :stacksize=infinity:\ 110 :stacksize=16M:\ 111 :stacksize-cur@:\
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_linux_libcdep.cc | 117 uptr stacksize = rl.rlim_cur; in GetThreadStackTopAndBottom() local 118 if (stacksize > segment.end - prev_end) stacksize = segment.end - prev_end; in GetThreadStackTopAndBottom() 122 if (stacksize > kMaxThreadStackSize) in GetThreadStackTopAndBottom() 123 stacksize = kMaxThreadStackSize; in GetThreadStackTopAndBottom() 125 *stack_bottom = segment.end - stacksize; in GetThreadStackTopAndBottom() 128 uptr stacksize = 0; in GetThreadStackTopAndBottom() local 133 stacksize = ss.ss_size; in GetThreadStackTopAndBottom() 134 stackaddr = (char *)ss.ss_sp - stacksize; in GetThreadStackTopAndBottom() 139 stacksize = sattr.ss_size; in GetThreadStackTopAndBottom() 144 my_pthread_attr_getstack(&attr, &stackaddr, &stacksize); in GetThreadStackTopAndBottom() [all …]
|
| H A D | sanitizer_posix_libcdep.cc | 420 uptr stacksize = 0; in AdjustStackSize() local 421 my_pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize); in AdjustStackSize() 424 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0); in AdjustStackSize() 427 if (stacksize < minstacksize) { in AdjustStackSize() 429 if (stacksize != 0) { in AdjustStackSize() 430 VPrintf(1, "Sanitizer: increasing stacksize %zu->%zu\n", stacksize, in AdjustStackSize() 436 "%zu < %zu\n", stacksize, minstacksize); in AdjustStackSize()
|
| /freebsd-12.1/contrib/ntp/lib/isc/pthreads/ |
| H A D | thread.c | 36 size_t stacksize; in isc_thread_create() local 43 ret = pthread_attr_getstacksize(&attr, &stacksize); in isc_thread_create() 47 if (stacksize < THREAD_MINSTACKSIZE) { in isc_thread_create()
|
| /freebsd-12.1/contrib/gcclibs/libgomp/ |
| H A D | env.c | 276 unsigned long stacksize; in initialize_env() local 293 if (parse_unsigned_long ("GOMP_STACKSIZE", &stacksize)) in initialize_env() 297 stacksize *= 1024; in initialize_env() 298 err = pthread_attr_setstacksize (&gomp_thread_attr, stacksize); in initialize_env() 303 if (stacksize < PTHREAD_STACK_MIN) in initialize_env()
|
| H A D | team.c | 272 size_t stacksize; in gomp_team_start() local 275 if (! pthread_attr_getstacksize (&gomp_thread_attr, &stacksize)) in gomp_team_start() 276 pthread_attr_setstacksize (&thread_attr, stacksize); in gomp_team_start()
|
| /freebsd-12.1/contrib/netbsd-tests/lib/libpthread/ |
| H A D | t_join.c | 151 size_t stacksize; in threadfunc2() local 159 ATF_REQUIRE(pthread_attr_getstacksize(&attr, &stacksize) == 0); in threadfunc2() 160 ATF_REQUIRE(stacksize == STACKSIZE * (j + 1)); in threadfunc2()
|
| /freebsd-12.1/contrib/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); \
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
| H A D | lstate.c | 135 L1->stacksize = BASIC_STACK_SIZE; in stack_init() 139 L1->stack_last = L1->stack + L1->stacksize - EXTRA_STACK; in stack_init() 156 luaM_freearray(L, L->stack, L->stacksize); /* free stack array */ in freestack() 206 L->stacksize = 0; in preinit_state()
|
| H A D | ldo.c | 173 int lim = L->stacksize; in luaD_reallocstack() 175 lua_assert(L->stack_last - L->stack == L->stacksize - EXTRA_STACK); in luaD_reallocstack() 176 luaM_reallocvector(L, L->stack, L->stacksize, newsize, TValue); in luaD_reallocstack() 179 L->stacksize = newsize; in luaD_reallocstack() 186 int size = L->stacksize; in luaD_growstack() 220 goodsize >= L->stacksize) /* would grow instead of shrink? */ in luaD_shrinkstack()
|
| /freebsd-12.1/contrib/lua/src/ |
| H A D | lstate.c | 155 L1->stacksize = BASIC_STACK_SIZE; in stack_init() 159 L1->stack_last = L1->stack + L1->stacksize - EXTRA_STACK; in stack_init() 177 luaM_freearray(L, L->stack, L->stacksize); /* free stack array */ in freestack() 226 L->stacksize = 0; in preinit_thread()
|
| H A D | ldo.c | 179 int lim = L->stacksize; in luaD_reallocstack() 181 lua_assert(L->stack_last - L->stack == L->stacksize - EXTRA_STACK); in luaD_reallocstack() 182 luaM_reallocvector(L, L->stack, L->stacksize, newsize, TValue); in luaD_reallocstack() 185 L->stacksize = newsize; in luaD_reallocstack() 192 int size = L->stacksize; in luaD_growstack() 226 if (L->stacksize > LUAI_MAXSTACK) /* had been handling stack overflow? */ in luaD_shrinkstack() 233 goodsize < L->stacksize) in luaD_shrinkstack()
|
| /freebsd-12.1/contrib/byacc/test/yacc/ |
| H A D | rename_debug.c | 93 unsigned stacksize; member 145 if ((newsize = data->stacksize) == 0) in yygrowstack() 167 data->stacksize = newsize; in yygrowstack()
|
| H A D | pure_error.tab.c | 224 unsigned stacksize; member 274 if ((newsize = data->stacksize) == 0) in yygrowstack() 296 data->stacksize = newsize; in yygrowstack()
|
| H A D | err_syntax20.tab.c | 215 unsigned stacksize; member 263 if ((newsize = data->stacksize) == 0) in yygrowstack() 285 data->stacksize = newsize; in yygrowstack()
|
| H A D | err_syntax18.tab.c | 219 unsigned stacksize; member 267 if ((newsize = data->stacksize) == 0) in yygrowstack() 289 data->stacksize = newsize; in yygrowstack()
|
| H A D | error.tab.c | 217 unsigned stacksize; member 265 if ((newsize = data->stacksize) == 0) in yygrowstack() 287 data->stacksize = newsize; in yygrowstack()
|
| H A D | err_syntax10.tab.c | 211 unsigned stacksize; member 259 if ((newsize = data->stacksize) == 0) in yygrowstack() 281 data->stacksize = newsize; in yygrowstack()
|
| H A D | empty.tab.c | 221 unsigned stacksize; member 260 if ((newsize = data->stacksize) == 0) in yygrowstack() 282 data->stacksize = newsize; in yygrowstack()
|
| H A D | code_error.code.c | 197 unsigned stacksize; member 249 if ((newsize = data->stacksize) == 0) in yygrowstack() 271 data->stacksize = newsize; in yygrowstack()
|
| H A D | err_syntax11.tab.c | 217 unsigned stacksize; member 265 if ((newsize = data->stacksize) == 0) in yygrowstack() 287 data->stacksize = newsize; in yygrowstack()
|
| H A D | err_syntax12.tab.c | 223 unsigned stacksize; member 271 if ((newsize = data->stacksize) == 0) in yygrowstack() 293 data->stacksize = newsize; in yygrowstack()
|