Home
last modified time | relevance | path

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

/freebsd-14.2/lib/libthr/thread/
H A Dthr_stack.c184 struct stack *spare_stack; in _thr_stack_alloc() local
215 LIST_REMOVE(spare_stack, qe); 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()
287 struct stack *spare_stack; in _thr_stack_free() local
291 spare_stack = (struct stack *) in _thr_stack_free()
296 spare_stack->stackaddr = attr->stackaddr_attr; in _thr_stack_free()
301 LIST_INSERT_HEAD(&dstackq, spare_stack, qe); in _thr_stack_free()
[all …]