Lines Matching refs:obj_pool_free
77 static int obj_pool_free = ODEBUG_POOL_SIZE; variable
136 if (likely(READ_ONCE(obj_pool_free) >= debug_objects_pool_min_level)) in fill_pool()
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()
158 WRITE_ONCE(obj_pool_free, obj_pool_free + 1); in fill_pool()
166 while (READ_ONCE(obj_pool_free) < debug_objects_pool_min_level) { in fill_pool()
182 WRITE_ONCE(obj_pool_free, obj_pool_free + 1); in fill_pool()
244 WRITE_ONCE(obj_pool_free, obj_pool_free - 1); in alloc_object()
263 WRITE_ONCE(obj_pool_free, obj_pool_free - 1); in alloc_object()
270 if (obj_pool_free < obj_pool_min_free) in alloc_object()
271 obj_pool_min_free = obj_pool_free; in alloc_object()
303 if (obj_pool_free >= debug_objects_pool_size) in free_obj_work()
313 while (obj_nr_tofree && obj_pool_free < debug_objects_pool_size) { in free_obj_work()
317 WRITE_ONCE(obj_pool_free, obj_pool_free + 1); in free_obj_work()
378 work = (obj_pool_free > debug_objects_pool_size) && obj_cache && in __free_object()
394 if ((obj_pool_free > debug_objects_pool_size) && in __free_object()
404 WRITE_ONCE(obj_pool_free, obj_pool_free - 1); in __free_object()
409 WRITE_ONCE(obj_pool_free, obj_pool_free + 1); in __free_object()
412 WRITE_ONCE(obj_pool_free, obj_pool_free + lookahead_count); in __free_object()
1040 seq_printf(m, "pool_free :%d\n", READ_ONCE(obj_pool_free) + obj_percpu_free); in debug_stats_show()