Home
last modified time | relevance | path

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

/dragonfly/lib/libthread_xu/thread/
HDthr_stack.c88 struct stack *spare_stack; in _thr_stack_alloc() local
117 if ((spare_stack = LIST_FIRST(&dstackq)) != NULL) { in _thr_stack_alloc()
119 LIST_REMOVE(spare_stack, qe); in _thr_stack_alloc()
120 attr->stackaddr_attr = spare_stack->stackaddr; in _thr_stack_alloc()
129 LIST_FOREACH(spare_stack, &mstackq, qe) { in _thr_stack_alloc()
130 if (spare_stack->stacksize == stacksize && in _thr_stack_alloc()
131 spare_stack->guardsize == guardsize) { in _thr_stack_alloc()
132 LIST_REMOVE(spare_stack, qe); in _thr_stack_alloc()
133 attr->stackaddr_attr = spare_stack->stackaddr; in _thr_stack_alloc()
205 struct stack *spare_stack; in _thr_stack_free() local
[all …]