Lines Matching refs:hlock_id
426 static inline u16 hlock_id(struct held_lock *hlock) in hlock_id() function
433 static inline unsigned int chain_hlock_class_idx(u16 hlock_id) in chain_hlock_class_idx() argument
435 return hlock_id & (MAX_LOCKDEP_KEYS - 1); in chain_hlock_class_idx()
3558 static u64 print_chain_key_iteration(u16 hlock_id, u64 chain_key) in print_chain_key_iteration() argument
3560 u64 new_chain_key = iterate_chain_key(chain_key, hlock_id); in print_chain_key_iteration()
3563 (unsigned int)hlock_id, in print_chain_key_iteration()
3580 chain_key = print_chain_key_iteration(hlock_id(hlock), chain_key); in print_chain_keys_held_locks()
3585 print_chain_key_iteration(hlock_id(hlock_next), chain_key); in print_chain_keys_held_locks()
3593 u16 hlock_id; in print_chain_keys_chain() local
3597 hlock_id = chain_hlocks[chain->base + i]; in print_chain_keys_chain()
3598 chain_key = print_chain_key_iteration(hlock_id, chain_key); in print_chain_keys_chain()
3600 print_lock_name(NULL, lock_classes + chain_hlock_class_idx(hlock_id)); in print_chain_keys_chain()
3649 id = hlock_id(&curr->held_locks[i]); in check_no_collision()
3740 int lock_id = hlock_id(curr->held_locks + i); in add_chain_cache()
3744 chain_hlocks[chain->base + j] = hlock_id(hlock); in add_chain_cache()
3928 chain_key = iterate_chain_key(chain_key, hlock_id(hlock)); in check_chain_key()
5124 chain_key = iterate_chain_key(chain_key, hlock_id(hlock)); in __lock_acquire()