Home
last modified time | relevance | path

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

/lib/
Dstackdepot.c69 static int depot_index; variable
84 if (stack_slabs[depot_index] == NULL) { in init_stack_slab()
85 stack_slabs[depot_index] = *prealloc; in init_stack_slab()
87 stack_slabs[depot_index + 1] = *prealloc; in init_stack_slab()
109 if (unlikely(depot_index + 1 >= STACK_ALLOC_MAX_SLABS)) { in depot_alloc_stack()
113 depot_index++; in depot_alloc_stack()
120 if (depot_index + 1 < STACK_ALLOC_MAX_SLABS) in depot_alloc_stack()
124 if (stack_slabs[depot_index] == NULL) in depot_alloc_stack()
127 stack = stack_slabs[depot_index] + depot_offset; in depot_alloc_stack()
131 stack->handle.slabindex = depot_index; in depot_alloc_stack()