/linux/include/linux/ |
H A D | lockdep_types.h | 89 struct lockdep_map; 90 typedef int (*lock_cmp_fn)(const struct lockdep_map *a, 91 const struct lockdep_map *b); 92 typedef void (*lock_print_fn)(const struct lockdep_map *map); 186 struct lockdep_map { struct 223 struct lockdep_map *instance; 224 struct lockdep_map *nest_lock; 269 struct lockdep_map { }; struct
|
H A D | rtmutex.h | 60 struct lockdep_map dep_map; 102 extern void _rt_mutex_lock_nest_lock(struct rt_mutex *lock, struct lockdep_map *nest_lock); 106 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
|
H A D | timer_types.h | 19 struct lockdep_map lockdep_map; member
|
H A D | workqueue_types.h | 21 struct lockdep_map lockdep_map; member
|
H A D | rcupdate.h | 328 extern struct lockdep_map rcu_lock_map; 329 extern struct lockdep_map rcu_bh_lock_map; 330 extern struct lockdep_map rcu_sched_lock_map; 331 extern struct lockdep_map rcu_callback_map; 335 static inline void rcu_lock_acquire(struct lockdep_map *map) in rcu_lock_acquire() 340 static inline void rcu_try_lock_acquire(struct lockdep_map *map) in rcu_try_lock_acquire() 345 static inline void rcu_lock_release(struct lockdep_map *map) in rcu_lock_release()
|
H A D | mutex_types.h | 52 struct lockdep_map dep_map; 65 struct lockdep_map dep_map;
|
H A D | rwsem.h | 65 struct lockdep_map dep_map; 142 struct lockdep_map dep_map; 271 extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest_lock); 275 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
|
H A D | spinlock_types.h | 25 struct lockdep_map dep_map; 53 struct lockdep_map dep_map;
|
H A D | rwlock_types.h | 32 struct lockdep_map dep_map; 61 struct lockdep_map dep_map;
|
H A D | workqueue.h | 232 .lockdep_map = STATIC_LOCKDEP_MAP_INIT(n, k), 286 lockdep_init_map(&(_work)->lockdep_map, "(work_completion)"#_work, (_key), 0); \ 528 struct lockdep_map *lockdep_map, ...); 546 #define alloc_ordered_workqueue_lockdep_map(fmt, flags, lockdep_map, args...) \ argument 548 1, lockdep_map, ##args)
|
H A D | mutex.h | 158 extern void _mutex_lock_nest_lock(struct mutex *lock, struct lockdep_map *nest_lock); 173 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
|
H A D | ww_mutex.h | 67 struct lockdep_map dep_map; 77 struct lockdep_map first_lock_dep_map;
|
H A D | seqlock_types.h | 36 struct lockdep_map dep_map;
|
H A D | spinlock_types_raw.h | 21 struct lockdep_map dep_map;
|
H A D | rcupdate_trace.h | 15 extern struct lockdep_map rcu_trace_lock_map;
|
H A D | percpu-rwsem.h | 19 struct lockdep_map dep_map;
|
H A D | tty_ldisc.h | 24 struct lockdep_map dep_map;
|
/linux/include/trace/events/ |
H A D | lock.h | 26 TP_PROTO(struct lockdep_map *lock, unsigned int subclass, 28 struct lockdep_map *next_lock, unsigned long ip), 52 TP_PROTO(struct lockdep_map *lock, unsigned long ip), 71 TP_PROTO(struct lockdep_map *lock, unsigned long ip), 80 TP_PROTO(struct lockdep_map *lock, unsigned long ip), 87 TP_PROTO(struct lockdep_map *lock, unsigned long ip),
|
/linux/kernel/locking/ |
H A D | lockdep.c | 747 static void print_lockdep_cache(struct lockdep_map *lock) in print_lockdep_cache() 884 look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class() 918 sizeof(struct lockdep_map)); in look_up_lock_class() 952 static bool assign_lock_key(struct lockdep_map *lock) in assign_lock_key() 1281 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class() 4933 void lockdep_init_map_type(struct lockdep_map *lock, const char *name, in lockdep_init_map_type() 5002 void lockdep_set_lock_cmp_fn(struct lockdep_map *lock, lock_cmp_fn cmp_fn, in lockdep_set_lock_cmp_fn() 5063 static int __lock_is_held(const struct lockdep_map *lock, int read); 5073 static int __lock_acquire(struct lockdep_map *lock, unsigned int subclass, in __lock_acquire() 5075 struct lockdep_map *nest_lock, unsigned long ip, in __lock_acquire() [all …]
|
H A D | ww_rt_mutex.c | 41 struct lockdep_map __maybe_unused *nest_lock = NULL; in __ww_rt_mutex_lock()
|
/linux/kernel/rcu/ |
H A D | update.c | 286 struct lockdep_map rcu_lock_map = { 295 struct lockdep_map rcu_bh_lock_map = { 304 struct lockdep_map rcu_sched_lock_map = { 314 struct lockdep_map rcu_callback_map =
|
/linux/fs/btrfs/ |
H A D | fs.h | 862 struct lockdep_map btrfs_trans_num_writers_map; 863 struct lockdep_map btrfs_trans_num_extwriters_map; 864 struct lockdep_map btrfs_state_change_map[4]; 865 struct lockdep_map btrfs_trans_pending_ordered_map; 866 struct lockdep_map btrfs_ordered_extent_map;
|
/linux/kernel/time/ |
H A D | timer.c | 903 lockdep_init_map(&timer->lockdep_map, name, key, 0); in do_init_timer() 1648 lock_map_acquire(&timer->lockdep_map); in __timer_delete_sync() 1649 lock_map_release(&timer->lockdep_map); in __timer_delete_sync() 1781 struct lockdep_map lockdep_map; in call_timer_fn() local 1783 lockdep_copy_map(&lockdep_map, &timer->lockdep_map); in call_timer_fn() 1790 lock_map_acquire(&lockdep_map); in call_timer_fn() 1796 lock_map_release(&lockdep_map); in call_timer_fn()
|
/linux/rust/helpers/ |
H A D | workqueue.c | 11 lockdep_init_map(&work->lockdep_map, name, key, 0); in rust_helper_init_work_with_key()
|
/linux/kernel/ |
H A D | workqueue.c | 367 struct lockdep_map __lockdep_map; 368 struct lockdep_map *lockdep_map; member 3145 struct lockdep_map lockdep_map; in process_one_work() local 3147 lockdep_copy_map(&lockdep_map, &work->lockdep_map); in process_one_work() 3204 lock_map_acquire(pwq->wq->lockdep_map); in process_one_work() 3205 lock_map_acquire(&lockdep_map); in process_one_work() 3236 lock_map_release(&lockdep_map); in process_one_work() 3238 lock_map_release(pwq->wq->lockdep_map); in process_one_work() 3770 init_completion_map(&barr->done, &target->lockdep_map); in insert_wq_barrier() 3888 if (unlikely(!wq->lockdep_map)) in touch_wq_lockdep_map() [all …]
|