Home
last modified time | relevance | path

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

/linux/lib/
H A Ddebugobjects.c76 static struct obj_pool pool_global = { variable
238 struct pool_stats *stats = &pool_global.stats; in pcpu_refill_stats()
245 if (pool_global.cnt < stats->min_fill) in pcpu_refill_stats()
246 stats->min_fill = pool_global.cnt; in pcpu_refill_stats()
283 if (!pool_move_batch(pcp, &pool_global)) in pcpu_alloc()
313 if (!pool_move_batch(&pool_global, pcp)) in pcpu_free()
315 WRITE_ONCE(pool_global.stats.cur_used, pool_global.stats.cur_used - ODEBUG_BATCH_SIZE); in pcpu_free()
357 while (pool_should_refill(&pool_global) && pool_count(&pool_to_free)) { in fill_pool_from_freelist()
360 pool_move_batch(&pool_global, &pool_to_free); in fill_pool_from_freelist()
396 if (!pool_must_refill(&pool_global) && atomic_read(&cpus_allocating)) in fill_pool()
[all …]