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

/linux-master/scripts/gdb/linux/
H A Dstackdepot.py28 pools_num = gdb.parse_and_eval('pools_num')
30 if parts['pool_index'] > pools_num:
31 gdb.write("pool index %d out of bounds (%d) for stack id 0x%08x\n" % (parts['pool_index'], pools_num, handle))
/linux-master/lib/
H A Dstackdepot.c69 static int pools_num; variable
248 if (unlikely(pools_num >= DEPOT_MAX_POOLS)) {
250 WARN_ON_ONCE(pools_num > DEPOT_MAX_POOLS); /* should never happen */
266 stack_pools[pools_num] = new_pool;
276 if (pools_num < DEPOT_MAX_POOLS)
282 WRITE_ONCE(pools_num, pools_num + 1);
283 ASSERT_EXCLUSIVE_WRITER(pools_num);
323 if (WARN_ON_ONCE(pools_num < 1))
325 pool_index = pools_num
[all...]

Completed in 137 milliseconds