Searched refs:class_idx (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/
H A Dlockdep_types.h229 * class_idx is zero-indexed; it points to the element in
230 * lock_classes this held lock instance belongs to. class_idx is in
233 unsigned int class_idx:MAX_LOCKDEP_KEYS_BITS; member in struct:held_lock
/linux-master/kernel/locking/
H A Dlockdep.c223 unsigned int class_idx = hlock->class_idx; local
225 /* Don't re-read hlock->class_idx, can't use READ_ONCE() on bitfield */
228 if (!test_bit(class_idx, lock_classes_in_use)) {
237 * At this point, if the passed hlock->class_idx is still garbage,
240 return lock_classes + class_idx;
430 return (hlock->class_idx | (hlock->read << MAX_LOCKDEP_KEYS_BITS));
764 * to print the lock unless the hlock class_idx does not point to a
767 * happened we can't count on class_idx to tell either.
2184 if (src->class_idx
3531 unsigned int class_idx = chain_hlock_class_idx(chain_hlock); local
4999 int class_idx; local
[all...]
/linux-master/block/
H A Dbfq-wf2q.c1396 int class_idx = 0; local
1408 class_idx = BFQ_IOPRIO_CLASSES - 1;
1417 for (; class_idx < BFQ_IOPRIO_CLASSES; class_idx++) {
1433 entity = __bfq_lookup_next_entity(st + class_idx,
H A Dbfq-iosched.c592 int class_idx = bfqq->ioprio_class - 1; local
646 for (i = 0; i <= class_idx; i++) {

Completed in 166 milliseconds