Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
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.h228 extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest_lock);
230 # define down_write_nest_lock(sem, nest_lock) \ argument
232 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
233 _down_write_nest_lock(sem, &(nest_lock)->dep_map); \
247 # define down_write_nest_lock(sem, nest_lock) down_write(sem) argument
Dspinlock.h235 # define raw_spin_lock_nest_lock(lock, nest_lock) \ argument
237 typecheck(struct lockdep_map *, &(nest_lock)->dep_map);\
238 _raw_spin_lock_nest_lock(lock, &(nest_lock)->dep_map); \
248 # define raw_spin_lock_nest_lock(lock, nest_lock) _raw_spin_lock(lock) argument
381 #define spin_lock_nest_lock(lock, nest_lock) \ argument
383 raw_spin_lock_nest_lock(spinlock_check(lock), nest_lock); \
Dlockdep.h111 struct lockdep_map *nest_lock; member
267 struct lockdep_map *nest_lock, unsigned long ip);
/Linux-v5.15/kernel/locking/
Dww_rt_mutex.c16 struct lockdep_map __maybe_unused *nest_lock = NULL; in __ww_rt_mutex_lock() local
35 nest_lock = &ww_ctx->dep_map; in __ww_rt_mutex_lock()
38 mutex_acquire_nest(&rtm->dep_map, 0, 0, nest_lock, ip); in __ww_rt_mutex_lock()
Drtmutex_api.c483 struct lockdep_map *nest_lock, in __mutex_lock_common() argument
489 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
506 struct lockdep_map *nest_lock) in _mutex_lock_nest_lock() argument
508 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, 0, nest_lock, _RET_IP_); in _mutex_lock_nest_lock()
Dmutex.c563 struct lockdep_map *nest_lock, unsigned long ip, in __mutex_lock_common() argument
591 nest_lock = &ww_ctx->dep_map; in __mutex_lock_common()
596 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
727 struct lockdep_map *nest_lock, unsigned long ip) in __mutex_lock() argument
729 return __mutex_lock_common(lock, state, subclass, nest_lock, ip, NULL, false); in __mutex_lock()
Dspinlock_rt.c57 struct lockdep_map *nest_lock) in rt_spin_lock_nest_lock() argument
59 spin_acquire_nest(&lock->dep_map, 0, 0, nest_lock, _RET_IP_); in rt_spin_lock_nest_lock()
Dspinlock.c388 struct lockdep_map *nest_lock) in _raw_spin_lock_nest_lock() argument
391 spin_acquire_nest(&lock->dep_map, 0, 0, nest_lock, _RET_IP_); in _raw_spin_lock_nest_lock()
Dlockdep.c2967 if (prev->instance == next->nest_lock) in check_deadlock()
4847 pr_warn("%s\n", hlock->nest_lock->name); in print_lock_nested_lock_not_held()
4871 struct lockdep_map *nest_lock, unsigned long ip, in __lock_acquire() argument
4925 if (hlock->class_idx == class_idx && nest_lock) { in __lock_acquire()
4952 hlock->nest_lock = nest_lock; in __lock_acquire()
5005 if (nest_lock && !__lock_is_held(nest_lock, -1)) { in __lock_acquire()
5097 if (DEBUG_LOCKS_WARN_ON(!hlock->nest_lock)) in match_held_lock()
5158 hlock->nest_lock, hlock->acquire_ip, in reacquire_held_locks()
5592 struct lockdep_map *nest_lock, unsigned long ip) in lock_acquire() argument
5596 trace_lock_acquire(lock, subclass, trylock, read, check, nest_lock, ip); in lock_acquire()
[all …]
/Linux-v5.15/tools/lib/lockdep/include/liblockdep/
Dcommon.h44 struct lockdep_map *nest_lock, unsigned long ip);