Home
last modified time | relevance | path

Searched refs:lockdep_map (Results 1 – 25 of 56) sorted by relevance

123

/linux/include/linux/
H A Dlockdep_types.h89 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 Drtmutex.h60 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 Dtimer_types.h19 struct lockdep_map lockdep_map; member
H A Dworkqueue_types.h21 struct lockdep_map lockdep_map; member
H A Drcupdate.h328 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 Dmutex_types.h52 struct lockdep_map dep_map;
65 struct lockdep_map dep_map;
H A Drwsem.h65 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 Dspinlock_types.h25 struct lockdep_map dep_map;
53 struct lockdep_map dep_map;
H A Drwlock_types.h32 struct lockdep_map dep_map;
61 struct lockdep_map dep_map;
H A Dworkqueue.h232 .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 Dmutex.h158 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 Dww_mutex.h67 struct lockdep_map dep_map;
77 struct lockdep_map first_lock_dep_map;
H A Dseqlock_types.h36 struct lockdep_map dep_map;
H A Dspinlock_types_raw.h21 struct lockdep_map dep_map;
H A Drcupdate_trace.h15 extern struct lockdep_map rcu_trace_lock_map;
H A Dpercpu-rwsem.h19 struct lockdep_map dep_map;
H A Dtty_ldisc.h24 struct lockdep_map dep_map;
/linux/include/trace/events/
H A Dlock.h26 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 Dlockdep.c747 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 Dww_rt_mutex.c41 struct lockdep_map __maybe_unused *nest_lock = NULL; in __ww_rt_mutex_lock()
/linux/kernel/rcu/
H A Dupdate.c286 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 Dfs.h862 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 Dtimer.c903 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 Dworkqueue.c11 lockdep_init_map(&work->lockdep_map, name, key, 0); in rust_helper_init_work_with_key()
/linux/kernel/
H A Dworkqueue.c367 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 …]

123