Home
last modified time | relevance | path

Searched full: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()
231 /* Don't re-read hlock->class_idx, can't use READ_ONCE() on bitfield */ in hlock_class()
243 * At this point, if the passed hlock->class_idx is still garbage, 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
[all …]