Lines Matching refs:new_pool
67 static void *new_pool; variable
251 WARN_ON_ONCE(!new_pool); /* to avoid unnecessary pre-allocation */ in depot_init_pool()
256 if (!new_pool && *prealloc) { in depot_init_pool()
258 WRITE_ONCE(new_pool, *prealloc); in depot_init_pool()
262 if (!new_pool) in depot_init_pool()
266 stack_pools[pools_num] = new_pool; in depot_init_pool()
277 WRITE_ONCE(new_pool, NULL); in depot_init_pool()
279 WRITE_ONCE(new_pool, STACK_DEPOT_POISON); in depot_init_pool()
299 if (new_pool) in depot_keep_new_pool()
302 WRITE_ONCE(new_pool, *prealloc); in depot_keep_new_pool()
626 if (unlikely(can_alloc && !READ_ONCE(new_pool))) { in stack_depot_save_flags()