Home
last modified time | relevance | path

Searched refs:spare_stack (Results 1 – 1 of 1) sorted by relevance

/freebsd-14-stable/lib/libthr/thread/
HDthr_stack.c184 struct stack *spare_stack; in _thr_stack_alloc() local
213 if ((spare_stack = LIST_FIRST(&dstackq)) != NULL) { in _thr_stack_alloc()
215 LIST_REMOVE(spare_stack, qe); in _thr_stack_alloc()
216 attr->stackaddr_attr = spare_stack->stackaddr; in _thr_stack_alloc()
225 LIST_FOREACH(spare_stack, &mstackq, qe) { in _thr_stack_alloc()
226 if (spare_stack->stacksize == stacksize && in _thr_stack_alloc()
227 spare_stack->guardsize == guardsize) { in _thr_stack_alloc()
228 LIST_REMOVE(spare_stack, qe); in _thr_stack_alloc()
229 attr->stackaddr_attr = spare_stack->stackaddr; in _thr_stack_alloc()
287 struct stack *spare_stack; in _thr_stack_free() local
[all …]