Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A 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
H A Dspinlock_rt.h36 extern void rt_spin_lock_nest_lock(spinlock_t *lock, struct lockdep_map *nest_lock) __acquires(lock…
51 # define __spin_lock_nest_lock(lock, nest_lock) \ argument
53 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
54 rt_spin_lock_nest_lock(lock, &(nest_lock)->dep_map); \
78 #define spin_lock_nest_lock(lock, nest_lock) \ argument
79 __spin_lock_nest_lock(lock, nest_lock)
H A Dmutex.h158 extern void _mutex_lock_nest_lock(struct mutex *lock, struct lockdep_map *nest_lock);
171 #define mutex_lock_nest_lock(lock, nest_lock) \ argument
173 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
174 _mutex_lock_nest_lock(lock, &(nest_lock)->dep_map); \
186 # define mutex_lock_nest_lock(lock, nest_lock) mutex_lock(lock) argument
H A Drwsem.h271 extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest_lock);
273 # define down_write_nest_lock(sem, nest_lock) \ argument
275 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
276 _down_write_nest_lock(sem, &(nest_lock)->dep_map); \
290 # define down_write_nest_lock(sem, nest_lock) down_write(sem) argument
H A Dspinlock.h223 # 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); \
H A Dlockdep_types.h224 struct lockdep_map *nest_lock; member
H A Dlockdep.h229 struct lockdep_map *nest_lock, unsigned long ip);
234 int read, int check, struct lockdep_map *nest_lock,
/linux-6.15/kernel/locking/
H A 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()
511 struct lockdep_map *nest_lock, in __mutex_lock_common() argument
517 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
534 struct lockdep_map *nest_lock) in _mutex_lock_nest_lock() argument
536 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, 0, nest_lock, _RET_IP_); in _mutex_lock_nest_lock()
H A 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()
H A Dmutex.c566 struct lockdep_map *nest_lock, unsigned long ip, in __mutex_lock_common() argument
596 nest_lock = &ww_ctx->dep_map; in __mutex_lock_common()
601 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
744 struct lockdep_map *nest_lock, unsigned long ip) in __mutex_lock() argument
746 return __mutex_lock_common(lock, state, subclass, nest_lock, ip, NULL, false); in __mutex_lock()
H A Dspinlock_rt.c70 struct lockdep_map *nest_lock) in rt_spin_lock_nest_lock() argument
72 spin_acquire_nest(&lock->dep_map, 0, 0, nest_lock, _RET_IP_); in rt_spin_lock_nest_lock()
H A 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()
H A Dlockdep.c3068 if (prev->instance == next->nest_lock) in check_deadlock()
5054 pr_warn("%s\n", hlock->nest_lock->name); in print_lock_nested_lock_not_held()
5080 struct lockdep_map *nest_lock, unsigned long ip, in __lock_acquire() argument
5144 if (hlock->class_idx == class_idx && nest_lock) { in __lock_acquire()
5171 hlock->nest_lock = nest_lock; in __lock_acquire()
5225 if (nest_lock && !__lock_is_held(nest_lock, -1)) { in __lock_acquire()
5327 if (DEBUG_LOCKS_WARN_ON(!hlock->nest_lock)) in match_held_lock()
5388 hlock->nest_lock, hlock->acquire_ip, in reacquire_held_locks()
5825 struct lockdep_map *nest_lock, unsigned long ip) in lock_acquire() argument
5849 hlock.nest_lock = nest_lock; in lock_acquire()
[all …]
/linux-6.15/tools/testing/vma/
H A Dvma_internal.h100 #define down_write_nest_lock(sem, nest_lock) argument