Home
last modified time | relevance | path

Searched refs:hlock (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/kernel/locking/
Dlockdep.c191 static inline struct lock_class *hlock_class(struct held_lock *hlock) in hlock_class() argument
193 unsigned int class_idx = hlock->class_idx; in hlock_class()
312 static void lock_release_holdtime(struct held_lock *hlock) in lock_release_holdtime() argument
320 holdtime = lockstat_clock() - hlock->holdtime_stamp; in lock_release_holdtime()
322 stats = get_lock_stats(hlock_class(hlock)); in lock_release_holdtime()
323 if (hlock->read) in lock_release_holdtime()
329 static inline void lock_release_holdtime(struct held_lock *hlock) in lock_release_holdtime() argument
396 static inline u16 hlock_id(struct held_lock *hlock) in hlock_id() argument
400 return (hlock->class_idx | (hlock->read << MAX_LOCKDEP_KEYS_BITS)); in hlock_id()
725 static void print_lock(struct held_lock *hlock) in print_lock() argument
[all …]