Lines Matching refs:pool_count
137 static __always_inline unsigned int pool_count(struct obj_pool *pool) in pool_count() function
144 return pool_count(pool) < pool->min_cnt; in pool_should_refill()
149 return pool_count(pool) < pool->min_cnt / 2; in pool_must_refill()
272 if (pool_count(&pool_to_free)) { in pcpu_alloc()
340 if (!pool_count(&pool_to_free)) in fill_pool_from_freelist()
357 while (pool_should_refill(&pool_global) && pool_count(&pool_to_free)) { in fill_pool_from_freelist()
486 if (!pool_count(&pool_to_free)) in free_obj_work()
533 if (!READ_ONCE(obj_freeing) && pool_count(&pool_to_free)) { in free_object()
1120 if (!READ_ONCE(obj_freeing) && pool_count(&pool_to_free)) { in __debug_check_no_obj_freed()
1156 seq_printf(m, "pool_free : %u\n", pool_count(&pool_global) + pcp_free); in debug_stats_show()
1161 seq_printf(m, "on_free_list : %u\n", pool_count(&pool_to_free)); in debug_stats_show()