Lines Matching refs:held_lock
220 static inline struct lock_class *hlock_class(struct held_lock *hlock) in hlock_class()
341 static void lock_release_holdtime(struct held_lock *hlock) in lock_release_holdtime()
358 static inline void lock_release_holdtime(struct held_lock *hlock) in lock_release_holdtime()
425 static inline u16 hlock_id(struct held_lock *hlock) in hlock_id()
754 static void print_lock(struct held_lock *hlock) in print_lock()
1620 __calc_dep_bit(struct held_lock *prev, struct held_lock *next) in __calc_dep_bit()
1625 static inline u8 calc_dep(struct held_lock *prev, struct held_lock *next) in calc_dep()
1635 __calc_dep_bitb(struct held_lock *prev, struct held_lock *next) in __calc_dep_bitb()
1640 static inline u8 calc_depb(struct held_lock *prev, struct held_lock *next) in calc_depb()
1666 struct held_lock *hlock) in bfs_init_root()
1680 struct held_lock *hlock) in bfs_init_rootb()
1876 print_circular_lock_scenario(struct held_lock *src, in print_circular_lock_scenario()
1877 struct held_lock *tgt, in print_circular_lock_scenario()
1931 struct held_lock *check_src, in print_circular_bug_header()
1932 struct held_lock *check_tgt) in print_circular_bug_header()
1985 struct held_lock *hlock = (struct held_lock *)data; in hlock_equal()
2012 struct held_lock *hlock = (struct held_lock *)data; in hlock_conflict()
2021 struct held_lock *check_src, in print_circular_bug()
2022 struct held_lock *check_tgt) in print_circular_bug()
2131 check_path(struct held_lock *target, struct lock_list *src_entry, in check_path()
2154 check_noncircular(struct held_lock *src, struct held_lock *target, in check_noncircular()
2549 struct held_lock *prev, in print_bad_irq_dependency()
2550 struct held_lock *next, in print_bad_irq_dependency()
2773 static int check_irq_usage(struct task_struct *curr, struct held_lock *prev, in check_irq_usage()
2774 struct held_lock *next) in check_irq_usage()
2862 struct held_lock *prev, struct held_lock *next) in check_irq_usage()
2884 check_redundant(struct held_lock *src, struct held_lock *target) in check_redundant()
2921 check_redundant(struct held_lock *src, struct held_lock *target) in check_redundant()
2949 print_deadlock_scenario(struct held_lock *nxt, struct held_lock *prv) in print_deadlock_scenario()
2968 print_deadlock_bug(struct task_struct *curr, struct held_lock *prev, in print_deadlock_bug()
2969 struct held_lock *next) in print_deadlock_bug()
3004 check_deadlock(struct task_struct *curr, struct held_lock *next) in check_deadlock()
3006 struct held_lock *prev; in check_deadlock()
3007 struct held_lock *nest = NULL; in check_deadlock()
3062 check_prev_add(struct task_struct *curr, struct held_lock *prev, in check_prev_add()
3063 struct held_lock *next, u16 distance, in check_prev_add()
3190 check_prevs_add(struct task_struct *curr, struct held_lock *next) in check_prevs_add()
3194 struct held_lock *hlock; in check_prevs_add()
3502 struct held_lock *hlock) in get_first_held_lock()
3505 struct held_lock *hlock_curr; in get_first_held_lock()
3532 print_chain_keys_held_locks(struct task_struct *curr, struct held_lock *hlock_next) in print_chain_keys_held_locks()
3534 struct held_lock *hlock; in print_chain_keys_held_locks()
3569 struct held_lock *hlock_next, in print_collision()
3598 struct held_lock *hlock, in check_no_collision()
3658 struct held_lock *hlock, in add_chain_cache()
3740 struct held_lock *hlock, in lookup_chain_cache_add()
3785 struct held_lock *hlock, in validate_chain()
3846 struct held_lock *hlock, in validate_chain()
3862 struct held_lock *hlock, *prev_hlock = NULL; in check_chain_key()
3909 static int mark_lock(struct task_struct *curr, struct held_lock *this,
3912 static void print_usage_bug_scenario(struct held_lock *lock) in print_usage_bug_scenario()
3930 print_usage_bug(struct task_struct *curr, struct held_lock *this, in print_usage_bug()
3970 valid_state(struct task_struct *curr, struct held_lock *this, in valid_state()
3988 struct held_lock *this, int forwards, in print_irq_inversion_bug()
4050 check_usage_forwards(struct task_struct *curr, struct held_lock *this, in check_usage_forwards()
4085 check_usage_backwards(struct task_struct *curr, struct held_lock *this, in check_usage_backwards()
4163 typedef int (*check_usage_f)(struct task_struct *, struct held_lock *,
4167 mark_lock_irq(struct task_struct *curr, struct held_lock *this, in mark_lock_irq()
4221 struct held_lock *hlock; in mark_held_locks()
4505 mark_usage(struct task_struct *curr, struct held_lock *hlock, int check) in mark_usage()
4568 struct held_lock *hlock) in separate_irq_context()
4576 struct held_lock *prev_hlock; in separate_irq_context()
4593 static int mark_lock(struct task_struct *curr, struct held_lock *this, in mark_lock()
4681 struct held_lock *hlock) in print_lock_invalid_wait_context()
4727 static int check_wait_context(struct task_struct *curr, struct held_lock *next) in check_wait_context()
4744 struct held_lock *prev = curr->held_locks + depth; in check_wait_context()
4753 struct held_lock *prev = curr->held_locks + depth; in check_wait_context()
4776 mark_usage(struct task_struct *curr, struct held_lock *hlock, int check) in mark_usage()
4787 struct held_lock *hlock) in separate_irq_context()
4793 struct held_lock *next) in check_wait_context()
4870 struct held_lock *hlock) in print_lock_nested_lock_not_held()
4916 struct held_lock *hlock; in __lock_acquire()
5111 static noinstr int match_held_lock(const struct held_lock *hlock, in match_held_lock()
5148 static struct held_lock *find_held_lock(struct task_struct *curr, in find_held_lock()
5152 struct held_lock *ret, *hlock, *prev_hlock; in find_held_lock()
5186 struct held_lock *hlock; in reacquire_held_locks()
5222 struct held_lock *hlock; in __lock_set_class()
5269 struct held_lock *hlock; in __lock_downgrade()
5323 struct held_lock *hlock; in __lock_release()
5407 struct held_lock *hlock = curr->held_locks + i; in __lock_is_held()
5430 struct held_lock *hlock = curr->held_locks + i; in __lock_pin_lock()
5457 struct held_lock *hlock = curr->held_locks + i; in __lock_repin_lock()
5477 struct held_lock *hlock = curr->held_locks + i; in __lock_unpin_lock()
5578 static void verify_lock_unused(struct lockdep_map *lock, struct held_lock *hlock, int subclass) in verify_lock_unused()
5647 struct held_lock hlock; in lock_acquire()
5806 struct held_lock *hlock; in __lock_contended()
5847 struct held_lock *hlock; in __lock_acquired()
5940 memset(current->held_locks, 0, MAX_LOCK_DEPTH*sizeof(struct held_lock)); in lockdep_reset()
6406 const void *mem_to, struct held_lock *hlock) in print_freed_lock_bug()
6442 struct held_lock *hlock; in debug_check_no_locks_freed()