Lines Matching refs:depot_index
70 static int depot_index; variable
85 if (stack_slabs[depot_index] == NULL) { in init_stack_slab()
86 stack_slabs[depot_index] = *prealloc; in init_stack_slab()
90 if (depot_index + 1 < STACK_ALLOC_MAX_SLABS) { in init_stack_slab()
91 stack_slabs[depot_index + 1] = *prealloc; in init_stack_slab()
113 if (unlikely(depot_index + 1 >= STACK_ALLOC_MAX_SLABS)) { in depot_alloc_stack()
117 depot_index++; in depot_alloc_stack()
124 if (depot_index + 1 < STACK_ALLOC_MAX_SLABS) in depot_alloc_stack()
128 if (stack_slabs[depot_index] == NULL) in depot_alloc_stack()
131 stack = stack_slabs[depot_index] + depot_offset; in depot_alloc_stack()
135 stack->handle.slabindex = depot_index; in depot_alloc_stack()
280 if (parts.slabindex > depot_index) { in stack_depot_fetch()
282 parts.slabindex, depot_index, handle); in stack_depot_fetch()