Lines Matching refs:hlock_id
425 static inline u16 hlock_id(struct held_lock *hlock) in hlock_id() function
432 static inline unsigned int chain_hlock_class_idx(u16 hlock_id) in chain_hlock_class_idx() argument
434 return hlock_id & (MAX_LOCKDEP_KEYS - 1); in chain_hlock_class_idx()
3521 static u64 print_chain_key_iteration(u16 hlock_id, u64 chain_key) in print_chain_key_iteration() argument
3523 u64 new_chain_key = iterate_chain_key(chain_key, hlock_id); in print_chain_key_iteration()
3526 (unsigned int)hlock_id, in print_chain_key_iteration()
3543 chain_key = print_chain_key_iteration(hlock_id(hlock), chain_key); in print_chain_keys_held_locks()
3548 print_chain_key_iteration(hlock_id(hlock_next), chain_key); in print_chain_keys_held_locks()
3556 u16 hlock_id; in print_chain_keys_chain() local
3560 hlock_id = chain_hlocks[chain->base + i]; in print_chain_keys_chain()
3561 chain_key = print_chain_key_iteration(hlock_id, chain_key); in print_chain_keys_chain()
3563 print_lock_name(lock_classes + chain_hlock_class_idx(hlock_id)); in print_chain_keys_chain()
3612 id = hlock_id(&curr->held_locks[i]); in check_no_collision()
3703 int lock_id = hlock_id(curr->held_locks + i); in add_chain_cache()
3707 chain_hlocks[chain->base + j] = hlock_id(hlock); in add_chain_cache()
3891 chain_key = iterate_chain_key(chain_key, hlock_id(hlock)); in check_chain_key()
5043 chain_key = iterate_chain_key(chain_key, hlock_id(hlock)); in __lock_acquire()