Lines Matching refs:idx
34 #define iterate_lock_classes(idx, class) \ argument
35 for (idx = 0, class = lock_classes; idx <= max_lock_class_idx; \
36 idx++, class++)
49 unsigned long idx = *pos; in l_start() local
51 if (idx > max_lock_class_idx) in l_start()
53 return lock_classes + idx; in l_start()
82 int idx = class - lock_classes; in l_show() local
87 if (!test_bit(idx, lock_classes_in_use)) in l_show()
244 unsigned long idx; in lockdep_stats_show() local
246 iterate_lock_classes(idx, class) { in lockdep_stats_show()
247 if (!test_bit(idx, lock_classes_in_use)) in lockdep_stats_show()
652 unsigned long idx; in lock_stat_open() local
654 iterate_lock_classes(idx, class) { in lock_stat_open()
655 if (!test_bit(idx, lock_classes_in_use)) in lock_stat_open()
679 unsigned long idx; in lock_stat_write() local
689 iterate_lock_classes(idx, class) { in lock_stat_write()
690 if (!test_bit(idx, lock_classes_in_use)) in lock_stat_write()