Lines Matching refs:pool_index
50 u32 pool_index : DEPOT_POOL_INDEX_BITS; member
87 static int pool_index; variable
233 if (stack_pools[pool_index] == NULL) { in depot_init_pool()
235 stack_pools[pool_index] = *prealloc; in depot_init_pool()
242 if (pool_index + 1 < DEPOT_MAX_POOLS) { in depot_init_pool()
243 stack_pools[pool_index + 1] = *prealloc; in depot_init_pool()
269 if (unlikely(pool_index + 1 >= DEPOT_MAX_POOLS)) { in depot_alloc_stack()
279 WRITE_ONCE(pool_index, pool_index + 1); in depot_alloc_stack()
287 if (pool_index + 1 < DEPOT_MAX_POOLS) in depot_alloc_stack()
296 if (stack_pools[pool_index] == NULL) in depot_alloc_stack()
300 stack = stack_pools[pool_index] + pool_offset; in depot_alloc_stack()
303 stack->handle.pool_index = pool_index; in depot_alloc_stack()
462 int pool_index_cached = READ_ONCE(pool_index); in stack_depot_fetch()
471 if (parts.pool_index > pool_index_cached) { in stack_depot_fetch()
473 parts.pool_index, pool_index_cached, handle); in stack_depot_fetch()
476 pool = stack_pools[parts.pool_index]; in stack_depot_fetch()