Lines Matching refs:cnt
163 int cnt; in fill_pool() local
165 for (cnt = 0; cnt < ODEBUG_BATCH_SIZE; cnt++) { in fill_pool()
166 new[cnt] = kmem_cache_zalloc(obj_cache, gfp); in fill_pool()
167 if (!new[cnt]) in fill_pool()
170 if (!cnt) in fill_pool()
174 while (cnt) { in fill_pool()
175 hlist_add_head(&new[--cnt]->node, &obj_pool); in fill_pool()
189 int cnt = 0; in lookup_object() local
192 cnt++; in lookup_object()
196 if (cnt > debug_objects_maxchain) in lookup_object()
197 debug_objects_maxchain = cnt; in lookup_object()
938 int cnt, objs_checked = 0; in __debug_check_no_obj_freed() local
950 cnt = 0; in __debug_check_no_obj_freed()
953 cnt++; in __debug_check_no_obj_freed()
975 if (cnt > debug_objects_maxchain) in __debug_check_no_obj_freed()
976 debug_objects_maxchain = cnt; in __debug_check_no_obj_freed()
978 objs_checked += cnt; in __debug_check_no_obj_freed()
1297 int i, cnt = 0; in debug_objects_replace_static_objects() local
1328 cnt++; in debug_objects_replace_static_objects()
1333 cnt, obj_pool_used); in debug_objects_replace_static_objects()