Lines Matching refs:chain_key

1048 	u64 chain_key = INITIAL_CHAIN_KEY;  in check_lock_chain_key()  local
1052 chain_key = iterate_chain_key(chain_key, chain_hlocks[i]); in check_lock_chain_key()
1057 if (chain->chain_key != chain_key) { in check_lock_chain_key()
1060 (unsigned long long)chain->chain_key, in check_lock_chain_key()
1061 (unsigned long long)chain_key); in check_lock_chain_key()
3586 static u64 print_chain_key_iteration(u16 hlock_id, u64 chain_key) in print_chain_key_iteration() argument
3588 u64 new_chain_key = iterate_chain_key(chain_key, hlock_id); in print_chain_key_iteration()
3600 u64 chain_key = INITIAL_CHAIN_KEY; in print_chain_keys_held_locks() local
3608 chain_key = print_chain_key_iteration(hlock_id(hlock), chain_key); in print_chain_keys_held_locks()
3613 print_chain_key_iteration(hlock_id(hlock_next), chain_key); in print_chain_keys_held_locks()
3620 u64 chain_key = INITIAL_CHAIN_KEY; in print_chain_keys_chain() local
3626 chain_key = print_chain_key_iteration(hlock_id, chain_key); in print_chain_keys_chain()
3728 u64 chain_key) in add_chain_cache() argument
3730 struct hlist_head *hash_head = chainhashentry(chain_key); in add_chain_cache()
3753 chain->chain_key = chain_key; in add_chain_cache()
3792 static inline struct lock_chain *lookup_chain_cache(u64 chain_key) in lookup_chain_cache() argument
3794 struct hlist_head *hash_head = chainhashentry(chain_key); in lookup_chain_cache()
3798 if (READ_ONCE(chain->chain_key) == chain_key) { in lookup_chain_cache()
3814 u64 chain_key) in lookup_chain_cache_add() argument
3817 struct lock_chain *chain = lookup_chain_cache(chain_key); in lookup_chain_cache_add()
3827 (unsigned long long)chain_key, in lookup_chain_cache_add()
3836 (unsigned long long)chain_key, class->key, class->name); in lookup_chain_cache_add()
3845 chain = lookup_chain_cache(chain_key); in lookup_chain_cache_add()
3851 if (!add_chain_cache(curr, hlock, chain_key)) in lookup_chain_cache_add()
3859 int chain_head, u64 chain_key) in validate_chain() argument
3872 lookup_chain_cache_add(curr, hlock, chain_key)) { in validate_chain()
3920 int chain_head, u64 chain_key) in validate_chain() argument
3937 u64 chain_key = INITIAL_CHAIN_KEY; in check_chain_key() local
3941 if (chain_key != hlock->prev_chain_key) { in check_chain_key()
3949 (unsigned long long)chain_key, in check_chain_key()
3963 chain_key = INITIAL_CHAIN_KEY; in check_chain_key()
3964 chain_key = iterate_chain_key(chain_key, hlock_id(hlock)); in check_chain_key()
3967 if (chain_key != curr->curr_chain_key) { in check_chain_key()
3975 (unsigned long long)chain_key, in check_chain_key()
5060 u64 chain_key; in __lock_acquire() local
5175 chain_key = curr->curr_chain_key; in __lock_acquire()
5180 if (DEBUG_LOCKS_WARN_ON(chain_key != INITIAL_CHAIN_KEY)) in __lock_acquire()
5185 hlock->prev_chain_key = chain_key; in __lock_acquire()
5187 chain_key = INITIAL_CHAIN_KEY; in __lock_acquire()
5190 chain_key = iterate_chain_key(chain_key, hlock_id(hlock)); in __lock_acquire()
5202 if (!validate_chain(curr, hlock, chain_head, chain_key)) in __lock_acquire()
5209 curr->curr_chain_key = chain_key; in __lock_acquire()
6169 WRITE_ONCE(chain->chain_key, INITIAL_CHAIN_KEY); in remove_class_from_lock_chain()