/linux-6.6.21/include/linux/ |
D | lockdep.h | 215 lockdep_init_map_type(&(lock)->dep_map, #key, key, 0, \ 216 (lock)->dep_map.wait_type_inner, \ 217 (lock)->dep_map.wait_type_outer, \ 218 (lock)->dep_map.lock_type) 221 lockdep_init_map_type(&(lock)->dep_map, name, key, 0, \ 222 (lock)->dep_map.wait_type_inner, \ 223 (lock)->dep_map.wait_type_outer, \ 224 (lock)->dep_map.lock_type) 227 lockdep_init_map_type(&(lock)->dep_map, #key, key, sub, \ 228 (lock)->dep_map.wait_type_inner, \ [all …]
|
D | rwlock_api_smp.h | 122 rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); in __raw_read_trylock() 133 rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); in __raw_write_trylock() 150 rwlock_acquire_read(&lock->dep_map, 0, 0, _RET_IP_); in __raw_read_lock() 160 rwlock_acquire_read(&lock->dep_map, 0, 0, _RET_IP_); in __raw_read_lock_irqsave() 169 rwlock_acquire_read(&lock->dep_map, 0, 0, _RET_IP_); in __raw_read_lock_irq() 176 rwlock_acquire_read(&lock->dep_map, 0, 0, _RET_IP_); in __raw_read_lock_bh() 186 rwlock_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_write_lock_irqsave() 195 rwlock_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_write_lock_irq() 202 rwlock_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_write_lock_bh() 209 rwlock_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_write_lock() [all …]
|
D | spinlock_api_smp.h | 90 spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); in __raw_spin_trylock() 110 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_spin_lock_irqsave() 119 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_spin_lock_irq() 126 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_spin_lock_bh() 133 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_spin_lock() 141 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock() 149 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock_irqrestore() 157 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock_irq() 165 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock_bh() 174 spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); in __raw_spin_trylock_bh()
|
D | percpu-rwsem.h | 19 struct lockdep_map dep_map; member 24 #define __PERCPU_RWSEM_DEP_MAP_INIT(lockname) .dep_map = { .name = #lockname }, 51 rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_); in percpu_down_read() 92 rwsem_acquire_read(&sem->dep_map, 0, 1, _RET_IP_); in percpu_down_read_trylock() 99 rwsem_release(&sem->dep_map, _RET_IP_); in percpu_up_read() 150 lock_release(&sem->dep_map, ip); in percpu_rwsem_release() 156 lock_acquire(&sem->dep_map, 0, 1, read, 1, NULL, ip); in percpu_rwsem_acquire()
|
D | spinlock_types_raw.h | 21 struct lockdep_map dep_map; member 31 .dep_map = { \ 36 .dep_map = { \ 42 .dep_map = { \
|
D | local_lock_internal.h | 13 struct lockdep_map dep_map; member 20 .dep_map = { \ 29 lock_map_acquire(&l->dep_map); in local_lock_acquire() 38 lock_map_release(&l->dep_map); in local_lock_release() 59 lockdep_init_map_type(&(lock)->dep_map, #lock, &__key, \
|
D | srcu.h | 38 #define __SRCU_DEP_MAP_INIT(srcu_name) .dep_map = { .name = #srcu_name }, 102 return lock_is_held(&ssp->dep_map); in srcu_read_lock_held() 215 srcu_lock_acquire(&ssp->dep_map); in srcu_read_lock() 232 rcu_try_lock_acquire(&ssp->dep_map); in srcu_read_lock_nmisafe() 287 srcu_lock_release(&ssp->dep_map); in srcu_read_unlock() 303 rcu_lock_release(&ssp->dep_map); in srcu_read_unlock_nmisafe()
|
D | rtmutex.h | 60 struct lockdep_map dep_map; member 81 .dep_map = { \ 106 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ 107 _rt_mutex_lock_nest_lock(lock, &(nest_lock)->dep_map); \
|
D | mutex.h | 26 , .dep_map = { \ 75 struct lockdep_map dep_map; member 139 struct lockdep_map dep_map; member 195 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ 196 _mutex_lock_nest_lock(lock, &(nest_lock)->dep_map); \
|
D | spinlock_types.h | 22 # define LOCK_PADSIZE (offsetof(struct raw_spinlock, dep_map)) 25 struct lockdep_map dep_map; member 53 struct lockdep_map dep_map; member
|
D | rwlock_types.h | 10 .dep_map = { \ 32 struct lockdep_map dep_map; member 61 struct lockdep_map dep_map; member
|
D | rwsem.h | 22 .dep_map = { \ 65 struct lockdep_map dep_map; member 132 struct lockdep_map dep_map; member 239 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ 240 _down_write_nest_lock(sem, &(nest_lock)->dep_map); \
|
D | ww_mutex.h | 67 struct lockdep_map dep_map; member 147 lockdep_init_map(&ctx->dep_map, ww_class->acquire_name, in ww_acquire_init() 149 mutex_acquire(&ctx->dep_map, 0, 0, _RET_IP_); in ww_acquire_init() 188 mutex_release(&ctx->dep_map, _THIS_IP_); in ww_acquire_fini()
|
D | seqlock.h | 67 struct lockdep_map dep_map; member 77 lockdep_init_map(&s->dep_map, name, key, 0); in __seqcount_init() 84 .dep_map = { .name = #lockname } 102 seqcount_acquire_read(&l->dep_map, 0, 0, _RET_IP_); in seqcount_lockdep_reader_access() 103 seqcount_release(&l->dep_map, _RET_IP_); in seqcount_lockdep_reader_access() 515 seqcount_acquire(&s->dep_map, subclass, 0, _RET_IP_); in do_write_seqcount_begin_nested() 561 seqcount_release(&s->dep_map, _RET_IP_); in do_write_seqcount_end()
|
D | spinlock_rt.h | 54 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ 55 rt_spin_lock_nest_lock(lock, &(nest_lock)->dep_map); \
|
/linux-6.6.21/kernel/locking/ |
D | spinlock_rt.c | 54 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in rt_spin_lock() 62 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in rt_spin_lock_nested() 70 spin_acquire_nest(&lock->dep_map, 0, 0, nest_lock, _RET_IP_); in rt_spin_lock_nest_lock() 78 spin_release(&lock->dep_map, _RET_IP_); in rt_spin_unlock() 107 spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); in __rt_spin_trylock() 139 lockdep_init_map_type(&lock->dep_map, name, key, 0, LD_WAIT_CONFIG, in __rt_spin_lock_init() 200 rwlock_acquire_read(&rwlock->dep_map, 0, 1, _RET_IP_); in rt_read_trylock() 214 rwlock_acquire(&rwlock->dep_map, 0, 1, _RET_IP_); in rt_write_trylock() 225 rwlock_acquire_read(&rwlock->dep_map, 0, 0, _RET_IP_); in rt_read_lock() 235 rwlock_acquire(&rwlock->dep_map, 0, 0, _RET_IP_); in rt_write_lock() [all …]
|
D | ww_rt_mutex.c | 29 mutex_acquire_nest(&rtm->dep_map, 0, 1, &ww_ctx->dep_map, _RET_IP_); in ww_mutex_trylock() 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() 74 mutex_release(&rtm->dep_map, ip); in __ww_rt_mutex_lock() 98 mutex_release(&rtm->dep_map, _RET_IP_); in ww_mutex_unlock()
|
D | rtmutex_api.c | 30 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, _RET_IP_); in __rt_mutex_lock_common() 33 mutex_release(&lock->dep_map, _RET_IP_); in __rt_mutex_lock_common() 127 mutex_acquire(&lock->dep_map, 0, 1, _RET_IP_); in rt_mutex_trylock() 140 mutex_release(&lock->dep_map, _RET_IP_); in rt_mutex_unlock() 218 lockdep_init_map_wait(&lock->dep_map, name, key, 0, LD_WAIT_SLEEP); in __rt_mutex_init() 498 lockdep_init_map_wait(&mutex->dep_map, name, key, 0, LD_WAIT_SLEEP); in __mutex_rt_init() 511 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common() 514 mutex_release(&lock->dep_map, ip); in __mutex_lock_common() 516 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common() 599 mutex_acquire(&lock->dep_map, 0, 1, _RET_IP_); in mutex_trylock() [all …]
|
D | rwsem.c | 318 lockdep_init_map_wait(&sem->dep_map, name, key, 0, LD_WAIT_SLEEP); in __init_rwsem() 1442 lockdep_init_map_wait(&sem->dep_map, name, key, 0, LD_WAIT_SLEEP); in __init_rwsem() 1520 rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_); in down_read() 1529 rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_); in down_read_interruptible() 1532 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_interruptible() 1543 rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_); in down_read_killable() 1546 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_killable() 1562 rwsem_acquire_read(&sem->dep_map, 0, 1, _RET_IP_); in down_read_trylock() 1573 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in down_write() 1584 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in down_write_killable() [all …]
|
D | mutex.c | 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() 609 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common() 633 lock_contended(&lock->dep_map, ip); in __mutex_lock_common() 721 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common() 738 mutex_release(&lock->dep_map, ip); in __mutex_lock_common() 787 mutex_acquire_nest(&ww->base.dep_map, 0, 1, &ww_ctx->dep_map, _RET_IP_); in ww_mutex_trylock() 907 mutex_release(&lock->dep_map, ip); in __mutex_unlock_slowpath() 1089 mutex_acquire(&lock->dep_map, 0, 1, _RET_IP_); in mutex_trylock()
|
D | percpu-rwsem.c | 27 lockdep_init_map(&sem->dep_map, name, key, 0); in __percpu_init_rwsem() 227 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in percpu_down_write() 256 rwsem_release(&sem->dep_map, _RET_IP_); in percpu_up_write()
|
D | spinlock.c | 378 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_nested() 390 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_irqsave_nested() 400 spin_acquire_nest(&lock->dep_map, 0, 0, nest_lock, _RET_IP_); in _raw_spin_lock_nest_lock()
|
/linux-6.6.21/drivers/tty/ |
D | tty_ldsem.c | 65 lockdep_init_map(&sem->dep_map, name, key, 0); in __init_ldsem() 300 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in __ldsem_down_read_nested() 304 lock_contended(&sem->dep_map, _RET_IP_); in __ldsem_down_read_nested() 306 rwsem_release(&sem->dep_map, _RET_IP_); in __ldsem_down_read_nested() 310 lock_acquired(&sem->dep_map, _RET_IP_); in __ldsem_down_read_nested() 319 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in __ldsem_down_write_nested() 323 lock_contended(&sem->dep_map, _RET_IP_); in __ldsem_down_write_nested() 325 rwsem_release(&sem->dep_map, _RET_IP_); in __ldsem_down_write_nested() 329 lock_acquired(&sem->dep_map, _RET_IP_); in __ldsem_down_write_nested() 352 rwsem_acquire_read(&sem->dep_map, 0, 1, _RET_IP_); in ldsem_down_read_trylock() [all …]
|
/linux-6.6.21/lib/ |
D | locking-selftest.c | 1348 # define I_SPINLOCK(x) lockdep_reset_lock(&lock_##x.dep_map) 1349 # define I_RAW_SPINLOCK(x) lockdep_reset_lock(&raw_lock_##x.dep_map) 1350 # define I_RWLOCK(x) lockdep_reset_lock(&rwlock_##x.dep_map) 1351 # define I_MUTEX(x) lockdep_reset_lock(&mutex_##x.dep_map) 1352 # define I_RWSEM(x) lockdep_reset_lock(&rwsem_##x.dep_map) 1353 # define I_WW(x) lockdep_reset_lock(&x.dep_map) 1354 # define I_LOCAL_LOCK(x) lockdep_reset_lock(this_cpu_ptr(&local_##x.dep_map)) 1356 # define I_RTMUTEX(x) lockdep_reset_lock(&rtmutex_##x.dep_map) 1855 mutex_release(&o2.base.dep_map, _THIS_IP_); in ww_test_edeadlk_normal() 1868 mutex_acquire(&o2.base.dep_map, 0, 1, _THIS_IP_); in ww_test_edeadlk_normal() [all …]
|
/linux-6.6.21/kernel/bpf/ |
D | mmap_unlock_work.h | 60 rwsem_release(&mm->mmap_lock.dep_map, _RET_IP_); in bpf_mmap_unlock_mm()
|