Lines Matching refs:depot_index
71 static int depot_index; variable
86 if (stack_slabs[depot_index] == NULL) { in init_stack_slab()
87 stack_slabs[depot_index] = *prealloc; in init_stack_slab()
91 if (depot_index + 1 < STACK_ALLOC_MAX_SLABS) { in init_stack_slab()
92 stack_slabs[depot_index + 1] = *prealloc; in init_stack_slab()
114 if (unlikely(depot_index + 1 >= STACK_ALLOC_MAX_SLABS)) { in depot_alloc_stack()
118 depot_index++; in depot_alloc_stack()
125 if (depot_index + 1 < STACK_ALLOC_MAX_SLABS) in depot_alloc_stack()
129 if (stack_slabs[depot_index] == NULL) in depot_alloc_stack()
132 stack = stack_slabs[depot_index] + depot_offset; in depot_alloc_stack()
136 stack->handle.slabindex = depot_index; in depot_alloc_stack()
235 if (parts.slabindex > depot_index) { in stack_depot_fetch()
237 parts.slabindex, depot_index, handle); in stack_depot_fetch()