Home
last modified time | relevance | path

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

/linux/kernel/locking/
H A Dlockdep.c227 static inline struct lock_class *hlock_class(struct held_lock *hlock) in hlock_class() argument
229 unsigned int class_idx = hlock->class_idx; in hlock_class()
345 static void lock_release_holdtime(struct held_lock *hlock) in lock_release_holdtime() argument
353 holdtime = lockstat_clock() - hlock->holdtime_stamp; in lock_release_holdtime()
355 stats = get_lock_stats(hlock_class(hlock)); in lock_release_holdtime()
356 if (hlock->read) in lock_release_holdtime()
362 static inline void lock_release_holdtime(struct held_lock *hlock) in lock_release_holdtime() argument
429 static inline u16 hlock_id(struct held_lock *hlock) in hlock_id() argument
433 return (hlock->class_idx | (hlock->read << MAX_LOCKDEP_KEYS_BITS)); in hlock_id()
717 static void __print_lock_name(struct held_lock *hlock, struct lock_class *class) in __print_lock_name() argument
[all …]