/kernel/linux/linux-5.10/include/linux/ |
D | lockdep.h | 218 lockdep_init_map_type(&(lock)->dep_map, #key, key, 0, \ 219 (lock)->dep_map.wait_type_inner, \ 220 (lock)->dep_map.wait_type_outer, \ 221 (lock)->dep_map.lock_type) 224 lockdep_init_map_type(&(lock)->dep_map, name, key, 0, \ 225 (lock)->dep_map.wait_type_inner, \ 226 (lock)->dep_map.wait_type_outer, \ 227 (lock)->dep_map.lock_type) 230 lockdep_init_map_type(&(lock)->dep_map, #key, key, sub, \ 231 (lock)->dep_map.wait_type_inner, \ [all …]
|
D | rwlock_api_smp.h | 121 rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); in __raw_read_trylock() 132 rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); in __raw_write_trylock() 149 rwlock_acquire_read(&lock->dep_map, 0, 0, _RET_IP_); in __raw_read_lock() 159 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() 196 rwlock_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_write_lock_irq() 203 rwlock_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_write_lock_bh() 210 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() 128 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_spin_lock_irq() 135 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_spin_lock_bh() 142 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_spin_lock() 150 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock() 158 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock_irqrestore() 166 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock_irq() 174 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock_bh() 183 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() 144 lock_release(&sem->dep_map, ip); in percpu_rwsem_release() 150 lock_acquire(&sem->dep_map, 0, 1, read, 1, NULL, ip); in percpu_rwsem_acquire()
|
D | spinlock_types.h | 27 struct lockdep_map dep_map; member 37 .dep_map = { \ 42 .dep_map = { \ 76 # define LOCK_PADSIZE (offsetof(struct raw_spinlock, dep_map)) 79 struct lockdep_map dep_map; member
|
D | local_lock_internal.h | 11 struct lockdep_map dep_map; member 18 .dep_map = { \ 27 lock_map_acquire(&l->dep_map); in local_lock_acquire() 36 lock_map_release(&l->dep_map); in local_lock_release() 57 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 }, 89 return lock_is_held(&ssp->dep_map); in srcu_read_lock_held() 158 rcu_lock_acquire(&(ssp)->dep_map); in srcu_read_lock() 183 rcu_lock_release(&(ssp)->dep_map); in srcu_read_unlock()
|
D | mutex.h | 64 struct lockdep_map dep_map; member 124 , .dep_map = { \ 174 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ 175 _mutex_lock_nest_lock(lock, &(nest_lock)->dep_map); \
|
D | rwsem.h | 52 struct lockdep_map dep_map; member 69 .dep_map = { \ 182 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ 183 _down_write_nest_lock(sem, &(nest_lock)->dep_map); \
|
D | ww_mutex.h | 43 struct lockdep_map dep_map; member 136 lockdep_init_map(&ctx->dep_map, ww_class->acquire_name, in ww_acquire_init() 138 mutex_acquire(&ctx->dep_map, 0, 0, _RET_IP_); in ww_acquire_init() 177 mutex_release(&ctx->dep_map, _THIS_IP_); in ww_acquire_fini()
|
D | rwlock_types.h | 18 struct lockdep_map dep_map; member 26 .dep_map = { \
|
D | seqlock.h | 68 struct lockdep_map dep_map; member 78 lockdep_init_map(&s->dep_map, name, key, 0); in __seqcount_init() 85 .dep_map = { .name = #lockname } 103 seqcount_acquire_read(&l->dep_map, 0, 0, _RET_IP_); in seqcount_lockdep_reader_access() 104 seqcount_release(&l->dep_map, _RET_IP_); in seqcount_lockdep_reader_access() 515 seqcount_acquire(&s->dep_map, subclass, 0, _RET_IP_); in write_seqcount_t_begin_nested() 560 seqcount_release(&s->dep_map, _RET_IP_); in write_seqcount_t_end()
|
D | rtmutex.h | 41 struct lockdep_map dep_map; member 80 , .dep_map = { .name = #mutexname }
|
/kernel/linux/linux-5.10/tools/lib/lockdep/include/liblockdep/ |
D | rwlock.h | 10 struct lockdep_map dep_map; member 18 .dep_map = STATIC_LOCKDEP_MAP_INIT(#rwl, &((&(rwl))->dep_map)), \ 26 lockdep_init_map(&lock->dep_map, name, key, 0); in __rwlock_init() 40 lock_acquire(&lock->dep_map, 0, 0, 2, 1, NULL, (unsigned long)_RET_IP_); in liblockdep_pthread_rwlock_rdlock() 47 lock_release(&lock->dep_map, (unsigned long)_RET_IP_); in liblockdep_pthread_rwlock_unlock() 53 lock_acquire(&lock->dep_map, 0, 0, 0, 1, NULL, (unsigned long)_RET_IP_); in liblockdep_pthread_rwlock_wrlock() 59 lock_acquire(&lock->dep_map, 0, 1, 2, 1, NULL, (unsigned long)_RET_IP_); in liblockdep_pthread_rwlock_tryrdlock() 65 lock_acquire(&lock->dep_map, 0, 1, 0, 1, NULL, (unsigned long)_RET_IP_); in liblockdep_pthread_rwlock_trywrlock()
|
D | mutex.h | 11 struct lockdep_map dep_map; member 19 .dep_map = STATIC_LOCKDEP_MAP_INIT(#mtx, &((&(mtx))->dep_map)), \ 27 lockdep_init_map(&lock->dep_map, name, key, 0); in __mutex_init() 39 lock_acquire(&lock->dep_map, 0, 0, 0, 1, NULL, (unsigned long)_RET_IP_); in liblockdep_pthread_mutex_lock() 45 lock_release(&lock->dep_map, (unsigned long)_RET_IP_); in liblockdep_pthread_mutex_unlock() 51 lock_acquire(&lock->dep_map, 0, 1, 0, 1, NULL, (unsigned long)_RET_IP_); in liblockdep_pthread_mutex_trylock() 57 lockdep_reset_lock(&lock->dep_map); in liblockdep_pthread_mutex_destroy()
|
/kernel/linux/linux-5.10/tools/lib/lockdep/ |
D | preload.c | 22 struct lockdep_map dep_map; /* Since all locks are dynamic, we need member 200 lockdep_init_map(&l->dep_map, l->name, &l->key, 0); in __get_lock() 255 lock_acquire(&__get_lock(mutex)->dep_map, 0, 0, 0, 1, NULL, in pthread_mutex_lock() 273 lock_release(&__get_lock(mutex)->dep_map, (unsigned long)_RET_IP_); in pthread_mutex_lock() 284 lock_acquire(&__get_lock(mutex)->dep_map, 0, 1, 0, 1, NULL, (unsigned long)_RET_IP_); in pthread_mutex_trylock() 287 lock_release(&__get_lock(mutex)->dep_map, (unsigned long)_RET_IP_); in pthread_mutex_trylock() 298 lock_release(&__get_lock(mutex)->dep_map, (unsigned long)_RET_IP_); in pthread_mutex_unlock() 306 lock_acquire(&__get_lock(mutex)->dep_map, 0, 0, 0, 1, NULL, (unsigned long)_RET_IP_); in pthread_mutex_unlock() 355 lock_acquire(&__get_lock(rwlock)->dep_map, 0, 0, 2, 1, NULL, (unsigned long)_RET_IP_); in pthread_rwlock_rdlock() 358 lock_release(&__get_lock(rwlock)->dep_map, (unsigned long)_RET_IP_); in pthread_rwlock_rdlock() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | rwsem.c | 331 lockdep_init_map_wait(&sem->dep_map, name, key, 0, LD_WAIT_SLEEP); in __init_rwsem() 1504 rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_); in down_read() 1513 rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_); in down_read_interruptible() 1516 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_interruptible() 1527 rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_); in down_read_killable() 1530 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_killable() 1546 rwsem_acquire_read(&sem->dep_map, 0, 1, _RET_IP_); in down_read_trylock() 1557 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in down_write() 1568 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in down_write_killable() 1572 rwsem_release(&sem->dep_map, _RET_IP_); in down_write_killable() [all …]
|
D | percpu-rwsem.c | 25 lockdep_init_map(&sem->dep_map, name, key, 0); in __percpu_init_rwsem() 217 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in percpu_down_write() 244 rwsem_release(&sem->dep_map, _RET_IP_); in percpu_up_write()
|
D | mutex.c | 968 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common() 973 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common() 993 lock_contended(&lock->dep_map, ip); in __mutex_lock_common() 1085 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common() 1100 mutex_release(&lock->dep_map, ip); in __mutex_lock_common() 1197 0, ctx ? &ctx->dep_map : NULL, _RET_IP_, in ww_mutex_lock() 1213 0, ctx ? &ctx->dep_map : NULL, _RET_IP_, in ww_mutex_lock_interruptible() 1234 mutex_release(&lock->dep_map, ip); in __mutex_unlock_slowpath() 1426 mutex_acquire(&lock->dep_map, 0, 1, _RET_IP_); in mutex_trylock()
|
D | spinlock.c | 361 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_nested() 373 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_irqsave_nested() 384 spin_acquire_nest(&lock->dep_map, 0, 0, nest_lock, _RET_IP_); in _raw_spin_lock_nest_lock()
|
D | rtmutex.c | 1469 mutex_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in __rt_mutex_lock() 1515 mutex_acquire(&lock->dep_map, 0, 0, _RET_IP_); in rt_mutex_lock_interruptible() 1518 mutex_release(&lock->dep_map, _RET_IP_); in rt_mutex_lock_interruptible() 1557 mutex_acquire(&lock->dep_map, 0, 0, _RET_IP_); in rt_mutex_timed_lock() 1562 mutex_release(&lock->dep_map, _RET_IP_); in rt_mutex_timed_lock() 1588 mutex_acquire(&lock->dep_map, 0, 1, _RET_IP_); in rt_mutex_trylock() 1601 mutex_release(&lock->dep_map, _RET_IP_); in rt_mutex_unlock()
|
/kernel/linux/linux-5.10/lib/ |
D | locking-selftest.c | 1308 # define I_SPINLOCK(x) lockdep_reset_lock(&lock_##x.dep_map) 1309 # define I_RWLOCK(x) lockdep_reset_lock(&rwlock_##x.dep_map) 1310 # define I_MUTEX(x) lockdep_reset_lock(&mutex_##x.dep_map) 1311 # define I_RWSEM(x) lockdep_reset_lock(&rwsem_##x.dep_map) 1312 # define I_WW(x) lockdep_reset_lock(&x.dep_map) 1314 # define I_RTMUTEX(x) lockdep_reset_lock(&rtmutex_##x.dep_map) 1768 mutex_release(&o2.base.dep_map, _THIS_IP_); in ww_test_edeadlk_normal() 1781 mutex_acquire(&o2.base.dep_map, 0, 1, _THIS_IP_); in ww_test_edeadlk_normal() 1793 mutex_release(&o2.base.dep_map, _THIS_IP_); in ww_test_edeadlk_normal_slow() 1807 mutex_acquire(&o2.base.dep_map, 0, 1, _THIS_IP_); in ww_test_edeadlk_normal_slow() [all …]
|
D | bucket_locks.c | 39 lockdep_init_map(&tlocks[i].dep_map, name, key, 0); in __alloc_bucket_spinlocks()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_engine_pm.c | 66 mutex_acquire(&ce->timeline->mutex.dep_map, 2, 0, _THIS_IP_); in __timeline_mark_lock() 74 mutex_release(&ce->timeline->mutex.dep_map, _THIS_IP_); in __timeline_mark_unlock()
|