Lines Matching refs:held_lock

226 static inline struct lock_class *hlock_class(struct held_lock *hlock)  in hlock_class()
347 static void lock_release_holdtime(struct held_lock *hlock) in lock_release_holdtime()
364 static inline void lock_release_holdtime(struct held_lock *hlock) in lock_release_holdtime()
431 static inline u16 hlock_id(struct held_lock *hlock) in hlock_id()
719 static void __print_lock_name(struct held_lock *hlock, struct lock_class *class) in __print_lock_name()
739 static void print_lock_name(struct held_lock *hlock, struct lock_class *class) in print_lock_name()
764 static void print_lock(struct held_lock *hlock) in print_lock()
1632 __calc_dep_bit(struct held_lock *prev, struct held_lock *next) in __calc_dep_bit()
1637 static inline u8 calc_dep(struct held_lock *prev, struct held_lock *next) in calc_dep()
1647 __calc_dep_bitb(struct held_lock *prev, struct held_lock *next) in __calc_dep_bitb()
1652 static inline u8 calc_depb(struct held_lock *prev, struct held_lock *next) in calc_depb()
1678 struct held_lock *hlock) in bfs_init_root()
1692 struct held_lock *hlock) in bfs_init_rootb()
1888 print_circular_lock_scenario(struct held_lock *src, in print_circular_lock_scenario()
1889 struct held_lock *tgt, in print_circular_lock_scenario()
1953 struct held_lock *check_src, in print_circular_bug_header()
1954 struct held_lock *check_tgt) in print_circular_bug_header()
2007 struct held_lock *hlock = (struct held_lock *)data; in hlock_equal()
2034 struct held_lock *hlock = (struct held_lock *)data; in hlock_conflict()
2043 struct held_lock *check_src, in print_circular_bug()
2044 struct held_lock *check_tgt) in print_circular_bug()
2160 check_path(struct held_lock *target, struct lock_list *src_entry, in check_path()
2175 static void print_deadlock_bug(struct task_struct *, struct held_lock *, struct held_lock *);
2185 check_noncircular(struct held_lock *src, struct held_lock *target, in check_noncircular()
2588 struct held_lock *prev, in print_bad_irq_dependency()
2589 struct held_lock *next, in print_bad_irq_dependency()
2816 static int check_irq_usage(struct task_struct *curr, struct held_lock *prev, in check_irq_usage()
2817 struct held_lock *next) in check_irq_usage()
2905 struct held_lock *prev, struct held_lock *next) in check_irq_usage()
2927 check_redundant(struct held_lock *src, struct held_lock *target) in check_redundant()
2964 check_redundant(struct held_lock *src, struct held_lock *target) in check_redundant()
2992 print_deadlock_scenario(struct held_lock *nxt, struct held_lock *prv) in print_deadlock_scenario()
3011 print_deadlock_bug(struct task_struct *curr, struct held_lock *prev, in print_deadlock_bug()
3012 struct held_lock *next) in print_deadlock_bug()
3058 check_deadlock(struct task_struct *curr, struct held_lock *next) in check_deadlock()
3061 struct held_lock *prev; in check_deadlock()
3062 struct held_lock *nest = NULL; in check_deadlock()
3123 check_prev_add(struct task_struct *curr, struct held_lock *prev, in check_prev_add()
3124 struct held_lock *next, u16 distance, in check_prev_add()
3259 check_prevs_add(struct task_struct *curr, struct held_lock *next) in check_prevs_add()
3263 struct held_lock *hlock; in check_prevs_add()
3572 struct held_lock *hlock) in get_first_held_lock()
3575 struct held_lock *hlock_curr; in get_first_held_lock()
3602 print_chain_keys_held_locks(struct task_struct *curr, struct held_lock *hlock_next) in print_chain_keys_held_locks()
3604 struct held_lock *hlock; in print_chain_keys_held_locks()
3639 struct held_lock *hlock_next, in print_collision()
3672 struct held_lock *hlock, in check_no_collision()
3732 struct held_lock *hlock, in add_chain_cache()
3818 struct held_lock *hlock, in lookup_chain_cache_add()
3863 struct held_lock *hlock, in validate_chain()
3924 struct held_lock *hlock, in validate_chain()
3940 struct held_lock *hlock, *prev_hlock = NULL; in check_chain_key()
3987 static int mark_lock(struct task_struct *curr, struct held_lock *this,
3990 static void print_usage_bug_scenario(struct held_lock *lock) in print_usage_bug_scenario()
4008 print_usage_bug(struct task_struct *curr, struct held_lock *this, in print_usage_bug()
4052 valid_state(struct task_struct *curr, struct held_lock *this, in valid_state()
4070 struct held_lock *this, int forwards, in print_irq_inversion_bug()
4136 check_usage_forwards(struct task_struct *curr, struct held_lock *this, in check_usage_forwards()
4171 check_usage_backwards(struct task_struct *curr, struct held_lock *this, in check_usage_backwards()
4253 typedef int (*check_usage_f)(struct task_struct *, struct held_lock *,
4257 mark_lock_irq(struct task_struct *curr, struct held_lock *this, in mark_lock_irq()
4311 struct held_lock *hlock; in mark_held_locks()
4619 mark_usage(struct task_struct *curr, struct held_lock *hlock, int check) in mark_usage()
4688 struct held_lock *hlock) in separate_irq_context()
4696 struct held_lock *prev_hlock; in separate_irq_context()
4713 static int mark_lock(struct task_struct *curr, struct held_lock *this, in mark_lock()
4803 struct held_lock *hlock) in print_lock_invalid_wait_context()
4853 static int check_wait_context(struct task_struct *curr, struct held_lock *next) in check_wait_context()
4870 struct held_lock *prev = curr->held_locks + depth; in check_wait_context()
4879 struct held_lock *prev = curr->held_locks + depth; in check_wait_context()
4911 mark_usage(struct task_struct *curr, struct held_lock *hlock, int check) in mark_usage()
4922 struct held_lock *hlock) in separate_irq_context()
4928 struct held_lock *next) in check_wait_context()
5035 struct held_lock *hlock) in print_lock_nested_lock_not_held()
5085 struct held_lock *hlock; in __lock_acquire()
5301 static noinstr int match_held_lock(const struct held_lock *hlock, in match_held_lock()
5338 static struct held_lock *find_held_lock(struct task_struct *curr, in find_held_lock()
5342 struct held_lock *ret, *hlock, *prev_hlock; in find_held_lock()
5376 struct held_lock *hlock; in reacquire_held_locks()
5412 struct held_lock *hlock; in __lock_set_class()
5459 struct held_lock *hlock; in __lock_downgrade()
5513 struct held_lock *hlock; in __lock_release()
5597 struct held_lock *hlock = curr->held_locks + i; in __lock_is_held()
5620 struct held_lock *hlock = curr->held_locks + i; in __lock_pin_lock()
5647 struct held_lock *hlock = curr->held_locks + i; in __lock_repin_lock()
5667 struct held_lock *hlock = curr->held_locks + i; in __lock_unpin_lock()
5768 static void verify_lock_unused(struct lockdep_map *lock, struct held_lock *hlock, int subclass) in verify_lock_unused()
5845 struct held_lock hlock; in lock_acquire()
6037 struct held_lock *hlock; in __lock_contended()
6081 struct held_lock *hlock; in __lock_acquired()
6177 memset(current->held_locks, 0, MAX_LOCK_DEPTH*sizeof(struct held_lock)); in lockdep_reset()
6662 const void *mem_to, struct held_lock *hlock) in print_freed_lock_bug()
6702 struct held_lock *hlock; in debug_check_no_locks_freed()