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

12345

/freebsd-11-stable/lib/libthr/thread/
H A Dthr_stack.c45 size_t stacksize; /* Stack size (rounded up). */ member in struct:stack
178 mprotect((char *)st->stackaddr + st->guardsize, st->stacksize,
181 mprotect((char *)st->stackaddr + st->guardsize, st->stacksize,
195 size_t stacksize; local
206 stacksize = round_up(attr->stacksize_attr);
221 if ((stacksize == THR_STACK_DEFAULT) &&
236 if (spare_stack->stacksize == stacksize &&
258 stackaddr = last_stack - stacksize - guardsize;
267 last_stack -= (stacksize
[all...]
H A Dthr_attr.c288 size_t * __restrict stacksize)
294 || stacksize == NULL )
299 *stacksize = (*attr)->stacksize_attr;
327 size_t * __restrict stacksize)
332 if (attr == NULL || *attr == NULL || stacksize == NULL)
336 *stacksize = (*attr)->stacksize_attr;
520 size_t stacksize)
526 || stacksize < PTHREAD_STACK_MIN)
531 (*attr)->stacksize_attr = stacksize;
558 _pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) argument
286 _pthread_attr_getstack(const pthread_attr_t * __restrict attr, void ** __restrict stackaddr, size_t * __restrict stacksize) argument
326 _pthread_attr_getstacksize(const pthread_attr_t * __restrict attr, size_t * __restrict stacksize) argument
519 _pthread_attr_setstack(pthread_attr_t *attr, void *stackaddr, size_t stacksize) argument
[all...]
/freebsd-11-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-11-stable/sys/mips/mips/
H A Dstack_machdep.c53 u_register_t ra = 0, i, stacksize; local
60 stacksize = 0;
72 stacksize = -(short)insn.IType.imm;
85 if (stacksize)
118 if (pc == ra && stacksize == 0)
121 sp += stacksize;
/freebsd-11-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-11-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-11-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-11-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-11-stable/etc/
H A Dlogin.conf35 :stacksize=unlimited:\
107 # :stacksize-cur=8M:\
134 # :stacksize=2M:\
157 # :stacksize=4M:\
185 # :stacksize=infinity:\
215 # :stacksize=16M:\
216 # :stacksize-cur@:\
228 # :stacksize-cur=32M:\
247 # :stacksize=4M:\
/freebsd-11-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-11-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-11-stable/contrib/byacc/test/yacc/
H A Dcode_error.code.c197 unsigned stacksize; member in struct:__anon211
249 if ((newsize = data->stacksize) == 0)
271 data->stacksize = newsize;
H A Derr_syntax18.tab.c219 unsigned stacksize; member in struct:__anon216
267 if ((newsize = data->stacksize) == 0)
289 data->stacksize = newsize;
H A Derr_syntax12.tab.c223 unsigned stacksize; member in struct:__anon215
271 if ((newsize = data->stacksize) == 0)
293 data->stacksize = newsize;
H A Derr_syntax11.tab.c217 unsigned stacksize; member in struct:__anon214
265 if ((newsize = data->stacksize) == 0)
287 data->stacksize = newsize;
H A Derr_syntax20.tab.c215 unsigned stacksize; member in struct:__anon217
263 if ((newsize = data->stacksize) == 0)
285 data->stacksize = newsize;
H A Derr_syntax10.tab.c211 unsigned stacksize; member in struct:__anon213
259 if ((newsize = data->stacksize) == 0)
281 data->stacksize = newsize;
H A Derror.tab.c217 unsigned stacksize; member in struct:__anon218
265 if ((newsize = data->stacksize) == 0)
287 data->stacksize = newsize;
H A Dempty.tab.c221 unsigned stacksize; member in struct:__anon212
260 if ((newsize = data->stacksize) == 0)
282 data->stacksize = newsize;
H A Drename_debug.c93 unsigned stacksize; member in struct:__anon237
145 if ((newsize = data->stacksize) == 0)
167 data->stacksize = newsize;
H A Dpure_error.tab.c224 unsigned stacksize; member in struct:__anon228
274 if ((newsize = data->stacksize) == 0)
296 data->stacksize = newsize;
/freebsd-11-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-11-stable/contrib/apr/threadproc/unix/
H A Dthread.c105 apr_size_t stacksize)
109 stat = pthread_attr_setstacksize(&attr->attr, stacksize);

Completed in 376 milliseconds

12345