Home
last modified time | relevance | path

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

/linux-6.1.9/lib/
Dstackdepot.c77 static int depot_index; variable
100 if (stack_slabs[depot_index] == NULL) { in init_stack_slab()
101 stack_slabs[depot_index] = *prealloc; in init_stack_slab()
105 if (depot_index + 1 < STACK_ALLOC_MAX_SLABS) { in init_stack_slab()
106 stack_slabs[depot_index + 1] = *prealloc; in init_stack_slab()
128 if (unlikely(depot_index + 1 >= STACK_ALLOC_MAX_SLABS)) { in depot_alloc_stack()
132 depot_index++; in depot_alloc_stack()
139 if (depot_index + 1 < STACK_ALLOC_MAX_SLABS) in depot_alloc_stack()
143 if (stack_slabs[depot_index] == NULL) in depot_alloc_stack()
146 stack = stack_slabs[depot_index] + depot_offset; in depot_alloc_stack()
[all …]