Searched refs:stacksize (Results 1 - 25 of 104) sorted by relevance

12345

/freebsd-12-stable/lib/libthr/thread/
H A Dthr_stack.c47 size_t stacksize; /* Stack size (rounded up). */ member in struct:stack
180 mprotect((char *)st->stackaddr + st->guardsize, st->stacksize,
183 mprotect((char *)st->stackaddr + st->guardsize, st->stacksize,
197 size_t stacksize; local
208 stacksize = round_up(attr->stacksize_attr);
223 if ((stacksize == THR_STACK_DEFAULT) &&
238 if (spare_stack->stacksize == stacksize &&
260 stackaddr = last_stack - stacksize - guardsize;
269 last_stack -= (stacksize
[all...]
H A Dthr_attr.c297 void ** __restrict stackaddr, size_t * __restrict stacksize)
303 || stacksize == NULL )
308 *stacksize = (*attr)->stacksize_attr;
338 size_t * __restrict stacksize)
343 if (attr == NULL || *attr == NULL || stacksize == NULL)
347 *stacksize = (*attr)->stacksize_attr;
538 size_t stacksize)
544 || stacksize < PTHREAD_STACK_MIN)
549 (*attr)->stacksize_attr = stacksize;
578 _thr_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) argument
296 _pthread_attr_getstack(const pthread_attr_t * __restrict attr, void ** __restrict stackaddr, size_t * __restrict stacksize) argument
337 _thr_attr_getstacksize(const pthread_attr_t * __restrict attr, size_t * __restrict stacksize) argument
537 _pthread_attr_setstack(pthread_attr_t *attr, void *stackaddr, size_t stacksize) argument
[all...]
/freebsd-12-stable/contrib/ntp/lib/isc/pthreads/
H A Dthread.c36 size_t stacksize; local
43 ret = pthread_attr_getstacksize(&attr, &stacksize);
47 if (stacksize < THREAD_MINSTACKSIZE) {
/freebsd-12-stable/sys/mips/mips/
H A Dstack_machdep.c55 u_register_t ra = 0, i, stacksize; local
62 stacksize = 0;
74 stacksize = -(short)insn.IType.imm;
87 if (stacksize)
119 if (pc == ra && stacksize == 0)
122 sp += stacksize;
/freebsd-12-stable/release/picobsd/mfs_tree/etc/
H A Dlogin.conf27 :stacksize-cur=8M:\
49 :stacksize=2M:\
82 :stacksize=infinity:\
110 :stacksize=16M:\
111 :stacksize-cur@:\
/freebsd-12-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_join.c151 size_t stacksize; local
159 ATF_REQUIRE(pthread_attr_getstacksize(&attr, &stacksize) == 0);
160 ATF_REQUIRE(stacksize == STACKSIZE * (j + 1));
/freebsd-12-stable/contrib/gcclibs/libgomp/
H A Denv.c276 unsigned long stacksize; local
293 if (parse_unsigned_long ("GOMP_STACKSIZE", &stacksize))
297 stacksize *= 1024;
298 err = pthread_attr_setstacksize (&gomp_thread_attr, stacksize);
303 if (stacksize < PTHREAD_STACK_MIN)
H A Dteam.c272 size_t stacksize; local
275 if (! pthread_attr_getstacksize (&gomp_thread_attr, &stacksize))
276 pthread_attr_setstacksize (&thread_attr, stacksize);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp117 // Get stacksize from rlimit, but clip it so that it does not overlap
119 uptr stacksize = rl.rlim_cur; local
120 if (stacksize > segment.end - prev_end) stacksize = segment.end - prev_end;
124 if (stacksize > kMaxThreadStackSize)
125 stacksize = kMaxThreadStackSize;
127 *stack_bottom = segment.end - stacksize;
130 uptr stacksize = 0; local
135 stacksize = ss.ss_size;
136 stackaddr = (char *)ss.ss_sp - stacksize;
[all...]
H A Dsanitizer_posix_libcdep.cpp405 uptr stacksize = 0; local
406 my_pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize);
407 // GLibC will return (0 - stacksize) as the stack address in the case when
408 // stacksize is set, but stackaddr is not.
409 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0);
412 if (stacksize < minstacksize) {
414 if (stacksize != 0) {
415 VPrintf(1, "Sanitizer: increasing stacksize %zu->%zu\n", stacksize,
421 "%zu < %zu\n", stacksize, minstacksiz
[all...]
/freebsd-12-stable/usr.bin/login/
H A Dlogin.conf35 :stacksize=unlimited:\
113 # :stacksize-cur=8M:\
140 # :stacksize=2M:\
163 # :stacksize=4M:\
191 # :stacksize=infinity:\
221 # :stacksize=16M:\
222 # :stacksize-cur@:\
234 # :stacksize-cur=32M:\
253 # :stacksize=4M:\
/freebsd-12-stable/contrib/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); \
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlstate.c135 L1->stacksize = BASIC_STACK_SIZE;
139 L1->stack_last = L1->stack + L1->stacksize - EXTRA_STACK;
156 luaM_freearray(L, L->stack, L->stacksize); /* free stack array */
206 L->stacksize = 0;
/freebsd-12-stable/contrib/byacc/test/yacc/
H A Dcode_error.code.c197 unsigned stacksize; member in struct:__anon1052
249 if ((newsize = data->stacksize) == 0)
271 data->stacksize = newsize;
H A Dempty.tab.c221 unsigned stacksize; member in struct:__anon1053
260 if ((newsize = data->stacksize) == 0)
282 data->stacksize = newsize;
H A Derr_syntax10.tab.c211 unsigned stacksize; member in struct:__anon1054
259 if ((newsize = data->stacksize) == 0)
281 data->stacksize = newsize;
H A Derr_syntax11.tab.c217 unsigned stacksize; member in struct:__anon1055
265 if ((newsize = data->stacksize) == 0)
287 data->stacksize = newsize;
H A Derr_syntax12.tab.c223 unsigned stacksize; member in struct:__anon1056
271 if ((newsize = data->stacksize) == 0)
293 data->stacksize = newsize;
H A Derr_syntax18.tab.c219 unsigned stacksize; member in struct:__anon1057
267 if ((newsize = data->stacksize) == 0)
289 data->stacksize = newsize;
H A Derr_syntax20.tab.c215 unsigned stacksize; member in struct:__anon1058
263 if ((newsize = data->stacksize) == 0)
285 data->stacksize = newsize;
H A Derror.tab.c217 unsigned stacksize; member in struct:__anon1059
265 if ((newsize = data->stacksize) == 0)
287 data->stacksize = newsize;
H A Dpure_error.tab.c224 unsigned stacksize; member in struct:__anon1070
274 if ((newsize = data->stacksize) == 0)
296 data->stacksize = newsize;
H A Drename_debug.c93 unsigned stacksize; member in struct:__anon1079
145 if ((newsize = data->stacksize) == 0)
167 data->stacksize = newsize;
/freebsd-12-stable/contrib/lua/src/
H A Dlstate.c155 L1->stacksize = BASIC_STACK_SIZE;
159 L1->stack_last = L1->stack + L1->stacksize - EXTRA_STACK;
177 luaM_freearray(L, L->stack, L->stacksize); /* free stack array */
226 L->stacksize = 0;
/freebsd-12-stable/contrib/apr/threadproc/unix/
H A Dthread.c105 apr_size_t stacksize)
109 stat = pthread_attr_setstacksize(&attr->attr, stacksize);

Completed in 178 milliseconds

12345