/linux-6.6.21/include/linux/ |
D | rtmutex.h | 102 extern void _rt_mutex_lock_nest_lock(struct rt_mutex *lock, struct lockdep_map *nest_lock); 104 #define rt_mutex_lock_nest_lock(lock, nest_lock) \ argument 106 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ 107 _rt_mutex_lock_nest_lock(lock, &(nest_lock)->dep_map); \ 113 #define rt_mutex_lock_nest_lock(lock, nest_lock) rt_mutex_lock(lock) argument
|
D | spinlock_rt.h | 37 extern void rt_spin_lock_nest_lock(spinlock_t *lock, struct lockdep_map *nest_lock); 52 # define __spin_lock_nest_lock(lock, nest_lock) \ argument 54 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ 55 rt_spin_lock_nest_lock(lock, &(nest_lock)->dep_map); \ 79 #define spin_lock_nest_lock(lock, nest_lock) \ argument 80 __spin_lock_nest_lock(lock, nest_lock)
|
D | mutex.h | 180 extern void _mutex_lock_nest_lock(struct mutex *lock, struct lockdep_map *nest_lock); 193 #define mutex_lock_nest_lock(lock, nest_lock) \ argument 195 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ 196 _mutex_lock_nest_lock(lock, &(nest_lock)->dep_map); \ 208 # define mutex_lock_nest_lock(lock, nest_lock) mutex_lock(lock) argument
|
D | rwsem.h | 235 extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest_lock); 237 # define down_write_nest_lock(sem, nest_lock) \ argument 239 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ 240 _down_write_nest_lock(sem, &(nest_lock)->dep_map); \ 254 # define down_write_nest_lock(sem, nest_lock) down_write(sem) argument
|
D | spinlock.h | 223 # define raw_spin_lock_nest_lock(lock, nest_lock) \ argument 225 typecheck(struct lockdep_map *, &(nest_lock)->dep_map);\ 226 _raw_spin_lock_nest_lock(lock, &(nest_lock)->dep_map); \ 236 # define raw_spin_lock_nest_lock(lock, nest_lock) _raw_spin_lock(lock) argument 369 #define spin_lock_nest_lock(lock, nest_lock) \ argument 371 raw_spin_lock_nest_lock(spinlock_check(lock), nest_lock); \
|
D | lockdep.h | 107 struct lockdep_map *nest_lock; member 268 struct lockdep_map *nest_lock, unsigned long ip); 273 int read, int check, struct lockdep_map *nest_lock,
|
/linux-6.6.21/kernel/locking/ |
D | rtmutex_api.c | 24 struct lockdep_map *nest_lock, in __rt_mutex_lock_common() argument 30 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, _RET_IP_); 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() argument 58 __rt_mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, nest_lock, 0); in _rt_mutex_lock_nest_lock() 505 struct lockdep_map *nest_lock, in __mutex_lock_common() argument 511 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common() 528 struct lockdep_map *nest_lock) in _mutex_lock_nest_lock() argument 530 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, 0, nest_lock, _RET_IP_); in _mutex_lock_nest_lock()
|
D | ww_rt_mutex.c | 41 struct lockdep_map __maybe_unused *nest_lock = NULL; in __ww_rt_mutex_lock() local 60 nest_lock = &ww_ctx->dep_map; in __ww_rt_mutex_lock() 63 mutex_acquire_nest(&rtm->dep_map, 0, 0, nest_lock, ip); in __ww_rt_mutex_lock()
|
D | mutex.c | 570 struct lockdep_map *nest_lock, unsigned long ip, in __mutex_lock_common() argument 598 nest_lock = &ww_ctx->dep_map; in __mutex_lock_common() 603 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common() 745 struct lockdep_map *nest_lock, unsigned long ip) in __mutex_lock() argument 747 return __mutex_lock_common(lock, state, subclass, nest_lock, ip, NULL, false); in __mutex_lock()
|
D | spinlock_rt.c | 68 struct lockdep_map *nest_lock) in rt_spin_lock_nest_lock() argument 70 spin_acquire_nest(&lock->dep_map, 0, 0, nest_lock, _RET_IP_); in rt_spin_lock_nest_lock()
|
D | spinlock.c | 397 struct lockdep_map *nest_lock) in _raw_spin_lock_nest_lock() argument 400 spin_acquire_nest(&lock->dep_map, 0, 0, nest_lock, _RET_IP_); in _raw_spin_lock_nest_lock()
|
D | lockdep.c | 3036 if (prev->instance == next->nest_lock) in check_deadlock() 4967 pr_warn("%s\n", hlock->nest_lock->name); in print_lock_nested_lock_not_held() 4991 struct lockdep_map *nest_lock, unsigned long ip, in __lock_acquire() argument 5046 if (hlock->class_idx == class_idx && nest_lock) { in __lock_acquire() 5073 hlock->nest_lock = nest_lock; in __lock_acquire() 5127 if (nest_lock && !__lock_is_held(nest_lock, -1)) { in __lock_acquire() 5223 if (DEBUG_LOCKS_WARN_ON(!hlock->nest_lock)) in match_held_lock() 5284 hlock->nest_lock, hlock->acquire_ip, in reacquire_held_locks() 5721 struct lockdep_map *nest_lock, unsigned long ip) in lock_acquire() argument 5725 trace_lock_acquire(lock, subclass, trylock, read, check, nest_lock, ip); in lock_acquire() [all …]
|