Home
last modified time | relevance | path

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

/src/lib/libthr/thread/
H A Dthr_stack.c183 struct stack *spare_stack; in _thr_stack_alloc() local
212 if ((spare_stack = LIST_FIRST(&dstackq)) != NULL) { in _thr_stack_alloc()
214 LIST_REMOVE(spare_stack, qe); in _thr_stack_alloc()
215 attr->stackaddr_attr = spare_stack->stackaddr; in _thr_stack_alloc()
224 LIST_FOREACH(spare_stack, &mstackq, qe) { in _thr_stack_alloc()
225 if (spare_stack->stacksize == stacksize && in _thr_stack_alloc()
226 spare_stack->guardsize == guardsize) { in _thr_stack_alloc()
227 LIST_REMOVE(spare_stack, qe); in _thr_stack_alloc()
228 attr->stackaddr_attr = spare_stack->stackaddr; in _thr_stack_alloc()
286 struct stack *spare_stack; in _thr_stack_free() local
[all …]