Home
last modified time | relevance | path

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

123

/linux-6.12.1/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()
90 extern void lockdep_reset_lock(struct lockdep_map *lock);
128 extern void lockdep_init_map_type(struct lockdep_map *lock, const char *name,
132 lockdep_init_map_waits(struct lockdep_map *lock, const char *name, in lockdep_init_map_waits()
139 lockdep_init_map_wait(struct lockdep_map *lock, const char *name, in lockdep_init_map_wait()
145 static inline void lockdep_init_map(struct lockdep_map *lock, const char *name, in lockdep_init_map()
207 static inline int lockdep_match_key(struct lockdep_map *lock, in lockdep_match_key()
227 extern void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
229 struct lockdep_map *nest_lock, unsigned long ip);
[all …]
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
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); \
Dtimer_types.h19 struct lockdep_map lockdep_map; member
Dworkqueue_types.h21 struct lockdep_map lockdep_map; member
Dmutex_types.h52 struct lockdep_map dep_map;
65 struct lockdep_map dep_map;
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); \
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()
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;
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)
Dsrcu.h149 static inline void srcu_lock_acquire(struct lockdep_map *map) in srcu_lock_acquire()
155 static inline void srcu_lock_release(struct lockdep_map *map) in srcu_lock_release()
161 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); \
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); \
Dseqlock_types.h36 struct lockdep_map dep_map;
Dspinlock_types_raw.h21 struct lockdep_map dep_map;
Drcupdate_trace.h14 extern struct lockdep_map rcu_trace_lock_map;
/linux-6.12.1/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.12.1/kernel/locking/
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()
4909 void lockdep_init_map_type(struct lockdep_map *lock, const char *name, in lockdep_init_map_type()
4978 void lockdep_set_lock_cmp_fn(struct lockdep_map *lock, lock_cmp_fn cmp_fn, in lockdep_set_lock_cmp_fn()
5039 static int __lock_is_held(const struct lockdep_map *lock, int read);
5049 static int __lock_acquire(struct lockdep_map *lock, unsigned int subclass, in __lock_acquire()
5051 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()
/linux-6.12.1/kernel/rcu/
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-6.12.1/fs/btrfs/
Dfs.h859 struct lockdep_map btrfs_trans_num_writers_map;
860 struct lockdep_map btrfs_trans_num_extwriters_map;
861 struct lockdep_map btrfs_state_change_map[4];
862 struct lockdep_map btrfs_trans_pending_ordered_map;
863 struct lockdep_map btrfs_ordered_extent_map;
/linux-6.12.1/rust/helpers/
Dworkqueue.c12 lockdep_init_map(&work->lockdep_map, name, key, 0); in rust_helper_init_work_with_key()
/linux-6.12.1/kernel/time/
Dtimer.c904 lockdep_init_map(&timer->lockdep_map, name, key, 0); in do_init_timer()
1649 lock_map_acquire(&timer->lockdep_map); in __timer_delete_sync()
1650 lock_map_release(&timer->lockdep_map); in __timer_delete_sync()
1782 struct lockdep_map lockdep_map; in call_timer_fn() local
1784 lockdep_copy_map(&lockdep_map, &timer->lockdep_map); in call_timer_fn()
1791 lock_map_acquire(&lockdep_map); in call_timer_fn()
1797 lock_map_release(&lockdep_map); in call_timer_fn()
/linux-6.12.1/kernel/
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()
3874 if (unlikely(!wq->lockdep_map)) in touch_wq_lockdep_map()
[all …]

123