Home
last modified time | relevance | path

Searched refs:nest_lock (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/include/linux/
Drtmutex.h102 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
Dspinlock_rt.h37 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)
Dmutex.h179 extern void _mutex_lock_nest_lock(struct mutex *lock, struct lockdep_map *nest_lock);
192 #define mutex_lock_nest_lock(lock, nest_lock) \ argument
194 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
195 _mutex_lock_nest_lock(lock, &(nest_lock)->dep_map); \
207 # define mutex_lock_nest_lock(lock, nest_lock) mutex_lock(lock) argument
Drwsem.h227 extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest_lock);
229 # define down_write_nest_lock(sem, nest_lock) \ argument
231 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
232 _down_write_nest_lock(sem, &(nest_lock)->dep_map); \
246 # define down_write_nest_lock(sem, nest_lock) down_write(sem) argument
Dspinlock.h222 # define raw_spin_lock_nest_lock(lock, nest_lock) \ argument
224 typecheck(struct lockdep_map *, &(nest_lock)->dep_map);\
225 _raw_spin_lock_nest_lock(lock, &(nest_lock)->dep_map); \
235 # define raw_spin_lock_nest_lock(lock, nest_lock) _raw_spin_lock(lock) argument
368 #define spin_lock_nest_lock(lock, nest_lock) \ argument
370 raw_spin_lock_nest_lock(spinlock_check(lock), nest_lock); \
Dlockdep.h107 struct lockdep_map *nest_lock; member
267 struct lockdep_map *nest_lock, unsigned long ip);
/linux-6.1.9/kernel/locking/
Drtmutex_api.c24 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()
Dww_rt_mutex.c41 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()
Dmutex.c570 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()
Dspinlock_rt.c68 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()
Dspinlock.c397 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()
Dlockdep.c3013 if (prev->instance == next->nest_lock) in check_deadlock()
4887 pr_warn("%s\n", hlock->nest_lock->name); in print_lock_nested_lock_not_held()
4911 struct lockdep_map *nest_lock, unsigned long ip, in __lock_acquire() argument
4965 if (hlock->class_idx == class_idx && nest_lock) { in __lock_acquire()
4992 hlock->nest_lock = nest_lock; in __lock_acquire()
5045 if (nest_lock && !__lock_is_held(nest_lock, -1)) { in __lock_acquire()
5137 if (DEBUG_LOCKS_WARN_ON(!hlock->nest_lock)) in match_held_lock()
5198 hlock->nest_lock, hlock->acquire_ip, in reacquire_held_locks()
5635 struct lockdep_map *nest_lock, unsigned long ip) in lock_acquire() argument
5639 trace_lock_acquire(lock, subclass, trylock, read, check, nest_lock, ip); in lock_acquire()
[all …]