Home
last modified time | relevance | path

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

/linux-6.12.1/lib/
Dstackdepot.c69 static int pools_num; variable
248 if (unlikely(pools_num >= DEPOT_MAX_POOLS)) { in depot_init_pool()
250 WARN_ON_ONCE(pools_num > DEPOT_MAX_POOLS); /* should never happen */ in depot_init_pool()
266 stack_pools[pools_num] = new_pool; in depot_init_pool()
276 if (pools_num < DEPOT_MAX_POOLS) in depot_init_pool()
282 WRITE_ONCE(pools_num, pools_num + 1); in depot_init_pool()
283 ASSERT_EXCLUSIVE_WRITER(pools_num); in depot_init_pool()
323 if (WARN_ON_ONCE(pools_num < 1)) in depot_pop_free_pool()
325 pool_index = pools_num - 1; in depot_pop_free_pool()
441 const int pools_num_cached = READ_ONCE(pools_num); in depot_fetch_stack()
[all …]
/linux-6.12.1/scripts/gdb/linux/
Dstackdepot.py35 pools_num = gdb.parse_and_eval('pools_num')
41 if pool_index >= pools_num:
42 …pool index %d out of bounds (%d) for stack id 0x%08x\n" % (parts['pool_index'], pools_num, handle))