Home
last modified time | relevance | path

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

123456

/freebsd/lib/libthr/thread/
H A Dthr_attr.c277 void ** __restrict stackaddr, size_t * __restrict stacksize) in _pthread_attr_getstack() argument
281 stacksize == NULL) in _pthread_attr_getstack()
285 *stacksize = (*attr)->stacksize_attr; in _pthread_attr_getstack()
308 size_t * __restrict stacksize) in _thr_attr_getstacksize() argument
311 if (attr == NULL || *attr == NULL || stacksize == NULL) in _thr_attr_getstacksize()
314 *stacksize = (*attr)->stacksize_attr; in _thr_attr_getstacksize()
469 size_t stacksize) in _pthread_attr_setstack() argument
473 stacksize < PTHREAD_STACK_MIN) in _pthread_attr_setstack()
477 (*attr)->stacksize_attr = stacksize; in _pthread_attr_setstack()
499 _thr_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) in _thr_attr_setstacksize() argument
[all …]
/freebsd/contrib/ntp/libntp/lib/isc/pthreads/
H A Dthread.c36 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/contrib/netbsd-tests/lib/libpthread/
H A Dt_join.c151 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/sys/contrib/openzfs/lib/libtpool/
H A Dthread_pool.c308 size_t stacksize; in pthread_attr_clone() local
309 error = pthread_attr_getstack(old_attr, &stackaddr, &stacksize); in pthread_attr_clone()
311 error = pthread_attr_setstack(attr, stackaddr, stacksize); in pthread_attr_clone()
327 size_t stacksize; in tpool_create() local
336 if (pthread_attr_getstack(attr, &stackaddr, &stacksize) != 0) { in tpool_create()
346 if (stacksize < minstack || max_threads != 1) { in tpool_create()
350 } else if (stacksize != 0 && stacksize < minstack) { in tpool_create()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cpp420 uptr stacksize = 0; in AdjustStackSize() local
421 internal_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()
H A Dsanitizer_linux_libcdep.cpp142 uptr stacksize = rl.rlim_cur; in GetThreadStackTopAndBottom() local
143 if (stacksize > segment.end - prev_end) in GetThreadStackTopAndBottom()
144 stacksize = segment.end - prev_end; in GetThreadStackTopAndBottom()
148 if (stacksize > kMaxThreadStackSize) in GetThreadStackTopAndBottom()
149 stacksize = kMaxThreadStackSize; in GetThreadStackTopAndBottom()
151 *stack_bottom = segment.end - stacksize; in GetThreadStackTopAndBottom()
167 uptr stacksize = 0; in GetThreadStackTopAndBottom() local
172 stacksize = ss.ss_size; in GetThreadStackTopAndBottom()
173 stackaddr = (char *)ss.ss_sp - stacksize; in GetThreadStackTopAndBottom()
178 internal_pthread_attr_getstack(&attr, &stackaddr, &stacksize); in GetThreadStackTopAndBottom()
[all …]
/freebsd/contrib/unbound/util/
H A Dlocks.h160 size_t stacksize; \
162 LOCKRET(pthread_attr_getstacksize(&attr, &stacksize)); \
163 if (stacksize < stackrequired) { \
166 LOCKRET(pthread_attr_getstacksize(&attr, &stacksize)); \
167 verbose(VERB_ALGO, "Thread stack size set to %u", (unsigned)stacksize); \
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstate.c133 L1->stacksize = BASIC_STACK_SIZE; in stack_init()
137 L1->stack_last = L1->stack + L1->stacksize - EXTRA_STACK; in stack_init()
154 luaM_freearray(L, L->stack, L->stacksize); /* free stack array */ in freestack()
204 L->stacksize = 0; in preinit_state()
H A Dldo.c246 int lim = L->stacksize; in luaD_reallocstack()
248 lua_assert(L->stack_last - L->stack == L->stacksize - EXTRA_STACK); in luaD_reallocstack()
249 luaM_reallocvector(L, L->stack, L->stacksize, newsize, TValue); in luaD_reallocstack()
252 L->stacksize = newsize; in luaD_reallocstack()
259 int size = L->stacksize; in luaD_growstack()
293 goodsize >= L->stacksize) /* would grow instead of shrink? */ in luaD_shrinkstack()
/freebsd/contrib/byacc/test/yacc/
H A Drename_debug.c95 unsigned stacksize; member
147 if ((newsize = data->stacksize) == 0) in yygrowstack()
169 data->stacksize = newsize; in yygrowstack()
H A Dcode_error.code.c199 unsigned stacksize; member
251 if ((newsize = data->stacksize) == 0) in yygrowstack()
273 data->stacksize = newsize; in yygrowstack()
H A Dempty.tab.c223 unsigned stacksize; member
262 if ((newsize = data->stacksize) == 0) in yygrowstack()
284 data->stacksize = newsize; in yygrowstack()
H A Derr_syntax10.tab.c213 unsigned stacksize; member
261 if ((newsize = data->stacksize) == 0) in yygrowstack()
283 data->stacksize = newsize; in yygrowstack()
H A Derr_syntax11.tab.c219 unsigned stacksize; member
267 if ((newsize = data->stacksize) == 0) in yygrowstack()
289 data->stacksize = newsize; in yygrowstack()
H A Derror.tab.c219 unsigned stacksize; member
267 if ((newsize = data->stacksize) == 0) in yygrowstack()
289 data->stacksize = newsize; in yygrowstack()
H A Dpure_error.tab.c225 unsigned stacksize; member
275 if ((newsize = data->stacksize) == 0) in yygrowstack()
297 data->stacksize = newsize; in yygrowstack()
H A Derr_syntax12.tab.c225 unsigned stacksize; member
273 if ((newsize = data->stacksize) == 0) in yygrowstack()
295 data->stacksize = newsize; in yygrowstack()
H A Derr_syntax18.tab.c221 unsigned stacksize; member
269 if ((newsize = data->stacksize) == 0) in yygrowstack()
291 data->stacksize = newsize; in yygrowstack()
H A Derr_syntax20.tab.c217 unsigned stacksize; member
265 if ((newsize = data->stacksize) == 0) in yygrowstack()
287 data->stacksize = newsize; in yygrowstack()
H A Dstdin1.calc.c228 unsigned stacksize; member
296 if ((newsize = data->stacksize) == 0) in yygrowstack()
318 data->stacksize = newsize; in yygrowstack()
H A Dstdin2.calc.c228 unsigned stacksize; member
296 if ((newsize = data->stacksize) == 0) in yygrowstack()
318 data->stacksize = newsize; in yygrowstack()
H A Ddefines1.calc.c228 unsigned stacksize; member
296 if ((newsize = data->stacksize) == 0) in yygrowstack()
318 data->stacksize = newsize; in yygrowstack()
H A Ddefines2.calc.c228 unsigned stacksize; member
296 if ((newsize = data->stacksize) == 0) in yygrowstack()
318 data->stacksize = newsize; in yygrowstack()
H A Ddefines3.calc.c228 unsigned stacksize; member
296 if ((newsize = data->stacksize) == 0) in yygrowstack()
318 data->stacksize = newsize; in yygrowstack()
/freebsd/contrib/llvm-project/lld/MachO/
H A DMachOStructs.h42 llvm::support::ulittle64_t stacksize; member

123456