Home
last modified time | relevance | path

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

123

/linux-6.6.21/include/linux/
Dlockdep.h26 static inline void lockdep_copy_map(struct lockdep_map *to, in lockdep_copy_map()
27 struct lockdep_map *from) in lockdep_copy_map()
106 struct lockdep_map *instance;
107 struct lockdep_map *nest_lock;
147 extern void lockdep_reset_lock(struct lockdep_map *lock);
185 extern void lockdep_init_map_type(struct lockdep_map *lock, const char *name,
189 lockdep_init_map_waits(struct lockdep_map *lock, const char *name, in lockdep_init_map_waits()
196 lockdep_init_map_wait(struct lockdep_map *lock, const char *name, in lockdep_init_map_wait()
202 static inline void lockdep_init_map(struct lockdep_map *lock, const char *name, in lockdep_init_map()
246 static inline int lockdep_match_key(struct lockdep_map *lock, in lockdep_match_key()
[all …]
Dlockdep_types.h88 struct lockdep_map;
89 typedef int (*lock_cmp_fn)(const struct lockdep_map *a,
90 const struct lockdep_map *b);
91 typedef void (*lock_print_fn)(const struct lockdep_map *map);
185 struct lockdep_map { struct
211 struct lockdep_map { }; struct
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); \
Dmutex.h75 struct lockdep_map dep_map;
139 struct lockdep_map dep_map;
180 extern void _mutex_lock_nest_lock(struct mutex *lock, struct lockdep_map *nest_lock);
195 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
Drwsem.h65 struct lockdep_map dep_map;
132 struct lockdep_map dep_map;
235 extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest_lock);
239 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
Drcupdate.h294 extern struct lockdep_map rcu_lock_map;
295 extern struct lockdep_map rcu_bh_lock_map;
296 extern struct lockdep_map rcu_sched_lock_map;
297 extern struct lockdep_map rcu_callback_map;
301 static inline void rcu_lock_acquire(struct lockdep_map *map) in rcu_lock_acquire()
306 static inline void rcu_try_lock_acquire(struct lockdep_map *map) in rcu_try_lock_acquire()
311 static inline void rcu_lock_release(struct lockdep_map *map) in rcu_lock_release()
Dspinlock_types.h25 struct lockdep_map dep_map;
53 struct lockdep_map dep_map;
Drwlock_types.h32 struct lockdep_map dep_map;
61 struct lockdep_map dep_map;
Dtimer.h22 struct lockdep_map lockdep_map; member
34 .lockdep_map = STATIC_LOCKDEP_MAP_INIT(_kn, &_kn),
Dsrcu.h114 static inline void srcu_lock_acquire(struct lockdep_map *map) in srcu_lock_acquire()
120 static inline void srcu_lock_release(struct lockdep_map *map) in srcu_lock_release()
126 static inline void srcu_lock_sync(struct lockdep_map *map) in srcu_lock_sync()
Dspinlock_rt.h37 extern void rt_spin_lock_nest_lock(spinlock_t *lock, struct lockdep_map *nest_lock);
54 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
Dworkqueue.h103 struct lockdep_map lockdep_map; member
227 .lockdep_map = STATIC_LOCKDEP_MAP_INIT(n, k),
281 lockdep_init_map(&(_work)->lockdep_map, "(work_completion)"#_work, (_key), 0); \
Dspinlock_types_raw.h21 struct lockdep_map dep_map;
Drcupdate_trace.h14 extern struct lockdep_map rcu_trace_lock_map;
Dsrcutiny.h28 struct lockdep_map dep_map;
Dlocal_lock_internal.h13 struct lockdep_map dep_map;
Dpercpu-rwsem.h19 struct lockdep_map dep_map;
/linux-6.6.21/include/trace/events/
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-6.6.21/kernel/locking/
Dlockdep.c745 static void print_lockdep_cache(struct lockdep_map *lock) in print_lockdep_cache()
882 look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class()
914 sizeof(struct lockdep_map)); in look_up_lock_class()
948 static bool assign_lock_key(struct lockdep_map *lock) in assign_lock_key()
1275 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class()
4856 void lockdep_init_map_type(struct lockdep_map *lock, const char *name, in lockdep_init_map_type()
4922 void lockdep_set_lock_cmp_fn(struct lockdep_map *lock, lock_cmp_fn cmp_fn, in lockdep_set_lock_cmp_fn()
4979 static int __lock_is_held(const struct lockdep_map *lock, int read);
4989 static int __lock_acquire(struct lockdep_map *lock, unsigned int subclass, in __lock_acquire()
4991 struct lockdep_map *nest_lock, unsigned long ip, in __lock_acquire()
[all …]
Drtmutex_api.c24 struct lockdep_map *nest_lock, in __rt_mutex_lock_common()
56 void __sched _rt_mutex_lock_nest_lock(struct rt_mutex *lock, struct lockdep_map *nest_lock) in _rt_mutex_lock_nest_lock()
505 struct lockdep_map *nest_lock, in __mutex_lock_common()
528 struct lockdep_map *nest_lock) in _mutex_lock_nest_lock()
Dww_rt_mutex.c41 struct lockdep_map __maybe_unused *nest_lock = NULL; in __ww_rt_mutex_lock()
/linux-6.6.21/kernel/rcu/
Dupdate.c285 struct lockdep_map rcu_lock_map = {
294 struct lockdep_map rcu_bh_lock_map = {
303 struct lockdep_map rcu_sched_lock_map = {
313 struct lockdep_map rcu_callback_map =
/linux-6.6.21/fs/btrfs/
Dfs.h795 struct lockdep_map btrfs_trans_num_writers_map;
796 struct lockdep_map btrfs_trans_num_extwriters_map;
797 struct lockdep_map btrfs_state_change_map[4];
798 struct lockdep_map btrfs_trans_pending_ordered_map;
799 struct lockdep_map btrfs_ordered_extent_map;
/linux-6.6.21/kernel/time/
Dtimer.c850 lockdep_init_map(&timer->lockdep_map, name, key, 0); in do_init_timer()
1555 lock_map_acquire(&timer->lockdep_map); in __timer_delete_sync()
1556 lock_map_release(&timer->lockdep_map); in __timer_delete_sync()
1688 struct lockdep_map lockdep_map; in call_timer_fn() local
1690 lockdep_copy_map(&lockdep_map, &timer->lockdep_map); in call_timer_fn()
1697 lock_map_acquire(&lockdep_map); in call_timer_fn()
1703 lock_map_release(&lockdep_map); in call_timer_fn()
/linux-6.6.21/kernel/
Dworkqueue.c312 struct lockdep_map lockdep_map; member
2548 struct lockdep_map lockdep_map; in process_one_work() local
2550 lockdep_copy_map(&lockdep_map, &work->lockdep_map); in process_one_work()
2602 lock_map_acquire(&pwq->wq->lockdep_map); in process_one_work()
2603 lock_map_acquire(&lockdep_map); in process_one_work()
2634 lock_map_release(&lockdep_map); in process_one_work()
2635 lock_map_release(&pwq->wq->lockdep_map); in process_one_work()
3020 init_completion_map(&barr->done, &target->lockdep_map); in insert_wq_barrier()
3133 .done = COMPLETION_INITIALIZER_ONSTACK_MAP(this_flusher.done, wq->lockdep_map), in __flush_workqueue()
3140 lock_map_acquire(&wq->lockdep_map); in __flush_workqueue()
[all …]

123