/kernel/linux/linux-5.10/include/linux/ |
H A D | lockdep.h | 30 static inline void lockdep_copy_map(struct lockdep_map *to, in lockdep_copy_map() 31 struct lockdep_map *from) in lockdep_copy_map() 110 struct lockdep_map *instance; 111 struct lockdep_map *nest_lock; 150 extern void lockdep_reset_lock(struct lockdep_map *lock); 188 extern void lockdep_init_map_type(struct lockdep_map *lock, const char *name, 192 lockdep_init_map_waits(struct lockdep_map *lock, const char *name, in lockdep_init_map_waits() 199 lockdep_init_map_wait(struct lockdep_map *lock, const char *name, in lockdep_init_map_wait() 205 static inline void lockdep_init_map(struct lockdep_map *lock, const char *name, in lockdep_init_map() 249 static inline int lockdep_match_key(struct lockdep_map *loc [all...] |
H A D | rwsem.h | 52 struct lockdep_map dep_map; 178 extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest_lock); 182 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
|
H A D | mutex.h | 64 struct lockdep_map dep_map; 159 extern void _mutex_lock_nest_lock(struct mutex *lock, struct lockdep_map *nest_lock); 174 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
|
H A D | timer.h | 22 struct lockdep_map lockdep_map; member 28 * NB: because we have to copy the lockdep_map, setting the lockdep_map key 30 * the copy of the lockdep_map later! We use the pointer to and the string 31 * "<file>:<line>" as the key resp. the name of the lockdep_map. 34 .lockdep_map = STATIC_LOCKDEP_MAP_INIT(_kn, &_kn),
|
H A D | spinlock_types.h | 27 struct lockdep_map dep_map; 79 struct lockdep_map dep_map;
|
H A D | lockdep_types.h | 53 * cached in the instance of lockdep_map 56 * are cached in lockdep_map. This optimization is mainly targeting 176 struct lockdep_map { struct 200 * The lockdep_map takes no space if lockdep is disabled: 202 struct lockdep_map { }; struct
|
H A D | rcupdate.h | 258 static inline void rcu_lock_acquire(struct lockdep_map *map) in rcu_lock_acquire() 263 static inline void rcu_lock_release(struct lockdep_map *map) in rcu_lock_release() 268 extern struct lockdep_map rcu_lock_map; 269 extern struct lockdep_map rcu_bh_lock_map; 270 extern struct lockdep_map rcu_sched_lock_map; 271 extern struct lockdep_map rcu_callback_map;
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | lockdep.h | 26 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 *loc [all...] |
H A D | lockdep_types.h | 54 * cached in the instance of lockdep_map 57 * are cached in lockdep_map. This optimization is mainly targeting 88 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 209 * The lockdep_map takes no space if lockdep is disabled: 211 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 | mutex.h | 75 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); \
|
H A D | rwsem.h | 65 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); \
|
H A D | rwlock_types.h | 32 struct lockdep_map dep_map; 61 struct lockdep_map dep_map;
|
H A D | spinlock_types.h | 25 struct lockdep_map dep_map; 53 struct lockdep_map dep_map;
|
H A D | rcupdate.h | 325 extern struct lockdep_map rcu_lock_map; 326 extern struct lockdep_map rcu_bh_lock_map; 327 extern struct lockdep_map rcu_sched_lock_map; 328 extern struct lockdep_map rcu_callback_map; 332 static inline void rcu_lock_acquire(struct lockdep_map *map) in rcu_lock_acquire() 337 static inline void rcu_try_lock_acquire(struct lockdep_map *map) in rcu_try_lock_acquire() 342 static inline void rcu_lock_release(struct lockdep_map *map) in rcu_lock_release()
|
H A D | srcu.h | 114 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()
|
H A D | timer.h | 22 struct lockdep_map lockdep_map; member 28 * NB: because we have to copy the lockdep_map, setting the lockdep_map key 30 * the copy of the lockdep_map later! We use the pointer to and the string 31 * "<file>:<line>" as the key resp. the name of the lockdep_map. 34 .lockdep_map = STATIC_LOCKDEP_MAP_INIT(_kn, &_kn),
|
/kernel/linux/linux-5.10/tools/lib/lockdep/include/liblockdep/ |
H A D | common.h | 30 struct lockdep_map { struct 40 void lockdep_init_map(struct lockdep_map *lock, const char *name, 42 void lock_acquire(struct lockdep_map *lock, unsigned int subclass, 44 struct lockdep_map *nest_lock, unsigned long ip); 45 void lock_release(struct lockdep_map *lock, unsigned long ip); 46 void lockdep_reset_lock(struct lockdep_map *lock);
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | lock.h | 15 TP_PROTO(struct lockdep_map *lock, unsigned int subclass, 17 struct lockdep_map *next_lock, unsigned long ip), 41 TP_PROTO(struct lockdep_map *lock, unsigned long ip), 60 TP_PROTO(struct lockdep_map *lock, unsigned long ip), 69 TP_PROTO(struct lockdep_map *lock, unsigned long ip), 76 TP_PROTO(struct lockdep_map *lock, unsigned long ip),
|
/kernel/linux/linux-6.6/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),
|
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
H A D | workqueues.h | 26 struct lockdep_map lockdep_map; member
|
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | lockdep.c | 711 static void print_lockdep_cache(struct lockdep_map *lock) in print_lockdep_cache() 844 look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class() 876 sizeof(struct lockdep_map)); in look_up_lock_class() 908 static bool assign_lock_key(struct lockdep_map *lock) in assign_lock_key() 1235 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class() 4702 void lockdep_init_map_type(struct lockdep_map *lock, const char *name, in lockdep_init_map_type() 4799 static int __lock_is_held(const struct lockdep_map *lock, int read); 4809 static int __lock_acquire(struct lockdep_map *lock, unsigned int subclass, in __lock_acquire() 4811 struct lockdep_map *nest_lock, unsigned long ip, in __lock_acquire() 4985 struct lockdep_map *loc in print_unlock_imbalance_bug() [all...] |
/kernel/linux/linux-5.10/kernel/rcu/ |
H A D | update.c | 244 struct lockdep_map rcu_lock_map = { 253 struct lockdep_map rcu_bh_lock_map = { 262 struct lockdep_map rcu_sched_lock_map = { 272 struct lockdep_map rcu_callback_map =
|
/kernel/linux/linux-6.6/kernel/locking/ |
H A D | rtmutex_api.c | 24 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()
|
/kernel/linux/linux-6.6/kernel/rcu/ |
H A D | update.c | 285 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 =
|