Lines Matching refs:obj_nr_tofree
82 static int obj_nr_tofree; variable
147 while (READ_ONCE(obj_nr_tofree) && (READ_ONCE(obj_pool_free) < obj_pool_min_free)) { in fill_pool()
153 while (obj_nr_tofree && (obj_pool_free < obj_pool_min_free)) { in fill_pool()
156 WRITE_ONCE(obj_nr_tofree, obj_nr_tofree - 1); in fill_pool()
313 while (obj_nr_tofree && obj_pool_free < debug_objects_pool_size) { in free_obj_work()
318 WRITE_ONCE(obj_nr_tofree, obj_nr_tofree - 1); in free_obj_work()
329 if (obj_nr_tofree) { in free_obj_work()
331 debug_objects_freed += obj_nr_tofree; in free_obj_work()
332 WRITE_ONCE(obj_nr_tofree, 0); in free_obj_work()
379 (obj_nr_tofree < ODEBUG_FREE_WORK_MAX); in __free_object()
383 WRITE_ONCE(obj_nr_tofree, obj_nr_tofree + 1); in __free_object()
386 WRITE_ONCE(obj_nr_tofree, obj_nr_tofree + lookahead_count); in __free_object()
395 (obj_nr_tofree < ODEBUG_FREE_WORK_MAX)) { in __free_object()
405 WRITE_ONCE(obj_nr_tofree, obj_nr_tofree + 1); in __free_object()
431 if (!READ_ONCE(obj_freeing) && READ_ONCE(obj_nr_tofree)) { in free_object()
1014 if (!READ_ONCE(obj_freeing) && READ_ONCE(obj_nr_tofree)) { in __debug_check_no_obj_freed()
1045 seq_printf(m, "on_free_list :%d\n", READ_ONCE(obj_nr_tofree)); in debug_stats_show()