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

1234

/freebsd-11.0-release/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.c283 size_t * __restrict stacksize)
289 || stacksize == NULL )
294 *stacksize = (*attr)->stacksize_attr;
321 _pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize) argument
326 if (attr == NULL || *attr == NULL || stacksize == NULL)
330 *stacksize = (*attr)->stacksize_attr;
513 size_t stacksize)
519 || stacksize < PTHREAD_STACK_MIN)
524 (*attr)->stacksize_attr = stacksize;
551 _pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) argument
281 _pthread_attr_getstack(const pthread_attr_t * __restrict attr, void ** __restrict stackaddr, size_t * __restrict stacksize) argument
512 _pthread_attr_setstack(pthread_attr_t *attr, void *stackaddr, size_t stacksize) argument
[all...]
/freebsd-11.0-release/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.0-release/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.0-release/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.0-release/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.0-release/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cc300 uptr stacksize = 0; local
301 my_pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize);
302 // GLibC will return (0 - stacksize) as the stack address in the case when
303 // stacksize is set, but stackaddr is not.
304 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0);
307 if (stacksize < minstacksize) {
309 if (stacksize != 0) {
310 VPrintf(1, "Sanitizer: increasing stacksize %zu->%zu\n", stacksize,
316 "%zu < %zu\n", stacksize, minstacksiz
[all...]
H A Dsanitizer_linux_libcdep.cc98 // Get stacksize from rlimit, but clip it so that it does not overlap
100 uptr stacksize = rl.rlim_cur; local
101 if (stacksize > end - prev_end)
102 stacksize = end - prev_end;
106 if (stacksize > kMaxThreadStackSize)
107 stacksize = kMaxThreadStackSize;
109 *stack_bottom = end - stacksize;
115 uptr stacksize = 0; local
117 my_pthread_attr_getstack(&attr, &stackaddr, &stacksize);
120 CHECK_LE(stacksize, kMaxThreadStackSiz
[all...]
H A Dsanitizer_mac.cc219 uptr stacksize = pthread_get_stacksize_np(pthread_self()); local
224 stacksize == (1 << 19)) {
229 stacksize = rl.rlim_cur;
231 stacksize = kMaxThreadStackSize;
236 *stack_bottom = *stack_top - stacksize;
/freebsd-11.0-release/contrib/netbsd-tests/lib/libpthread/
H A Dt_join.c155 size_t stacksize; local
163 ATF_REQUIRE(pthread_attr_getstacksize(&attr, &stacksize) == 0);
164 ATF_REQUIRE(stacksize == STACKSIZE * (j + 1));
/freebsd-11.0-release/etc/
H A Dlogin.conf34 :stacksize=unlimited:\
105 # :stacksize-cur=8M:\
131 # :stacksize=2M:\
154 # :stacksize=4M:\
182 # :stacksize=infinity:\
212 # :stacksize=16M:\
213 # :stacksize-cur@:\
225 # :stacksize-cur=32M:\
244 # :stacksize=4M:\
/freebsd-11.0-release/contrib/byacc/test/yacc/
H A Drename_debug.c93 unsigned stacksize; member in struct:__anon841
145 if ((newsize = data->stacksize) == 0)
167 data->stacksize = newsize;
H A Dcode_error.code.c195 unsigned stacksize; member in struct:__anon817
247 if ((newsize = data->stacksize) == 0)
269 data->stacksize = newsize;
H A Dempty.tab.c221 unsigned stacksize; member in struct:__anon818
260 if ((newsize = data->stacksize) == 0)
282 data->stacksize = newsize;
H A Derr_syntax10.tab.c211 unsigned stacksize; member in struct:__anon819
259 if ((newsize = data->stacksize) == 0)
281 data->stacksize = newsize;
H A Derr_syntax11.tab.c217 unsigned stacksize; member in struct:__anon820
265 if ((newsize = data->stacksize) == 0)
287 data->stacksize = newsize;
H A Derr_syntax12.tab.c223 unsigned stacksize; member in struct:__anon821
271 if ((newsize = data->stacksize) == 0)
293 data->stacksize = newsize;
H A Derr_syntax18.tab.c219 unsigned stacksize; member in struct:__anon822
267 if ((newsize = data->stacksize) == 0)
289 data->stacksize = newsize;
H A Derr_syntax20.tab.c215 unsigned stacksize; member in struct:__anon823
263 if ((newsize = data->stacksize) == 0)
285 data->stacksize = newsize;
H A Derror.tab.c217 unsigned stacksize; member in struct:__anon824
265 if ((newsize = data->stacksize) == 0)
287 data->stacksize = newsize;
H A Dpure_error.tab.c224 unsigned stacksize; member in struct:__anon832
274 if ((newsize = data->stacksize) == 0)
296 data->stacksize = newsize;
H A Dcalc.tab.c302 unsigned stacksize; member in struct:__anon810
370 if ((newsize = data->stacksize) == 0)
392 data->stacksize = newsize;
H A Dcalc2.tab.c304 unsigned stacksize; member in struct:__anon814
383 if ((newsize = data->stacksize) == 0)
405 data->stacksize = newsize;
/freebsd-11.0-release/contrib/apr/threadproc/unix/
H A Dthread.c105 apr_size_t stacksize)
109 stat = pthread_attr_setstacksize(&attr->attr, stacksize);

Completed in 283 milliseconds

1234