Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/locking/ !
Dlockdep.c220 static inline struct lock_class *hlock_class(struct held_lock *hlock) in hlock_class() argument
222 unsigned int class_idx = hlock->class_idx; in hlock_class()
341 static void lock_release_holdtime(struct held_lock *hlock) in lock_release_holdtime() argument
349 holdtime = lockstat_clock() - hlock->holdtime_stamp; in lock_release_holdtime()
351 stats = get_lock_stats(hlock_class(hlock)); in lock_release_holdtime()
352 if (hlock->read) in lock_release_holdtime()
358 static inline void lock_release_holdtime(struct held_lock *hlock) in lock_release_holdtime() argument
425 static inline u16 hlock_id(struct held_lock *hlock) in hlock_id() argument
429 return (hlock->class_idx | (hlock->read << MAX_LOCKDEP_KEYS_BITS)); in hlock_id()
754 static void print_lock(struct held_lock *hlock) in print_lock() argument
[all …]