| /linux/include/linux/ |
| H A 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 …]
|
| H A 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()
|
| H A D | spinlock_types_raw.h | 21 struct lockdep_map dep_map; member 31 .dep_map = { \ 36 .dep_map = { \ 42 .dep_map = { \
|
| H A D | srcu.h | 56 #define __SRCU_DEP_MAP_INIT(srcu_name) .dep_map = { .name = #srcu_name }, 171 return lock_is_held(&ssp->dep_map); in srcu_read_lock_held() 277 srcu_lock_acquire(&ssp->dep_map); in srcu_read_lock() 314 rcu_try_lock_acquire(&ssp->dep_map); in srcu_read_lock_fast() 354 rcu_try_lock_acquire(&ssp->dep_map); in srcu_read_lock_fast_updown() 409 rcu_try_lock_acquire(&ssp->dep_map); in srcu_read_lock_nmisafe() 465 srcu_lock_release(&ssp->dep_map); in srcu_read_unlock() 480 srcu_lock_release(&ssp->dep_map); in srcu_read_unlock_fast() 496 srcu_lock_release(&ssp->dep_map); in srcu_read_unlock_fast_updown() 542 rcu_lock_release(&ssp->dep_map); in srcu_read_unlock_nmisafe()
|
| H A 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
|
| H A D | ww_mutex.h | 67 struct lockdep_map dep_map; member 157 lockdep_init_map(&ctx->dep_map, ww_class->acquire_name, in ww_acquire_init() 161 mutex_acquire(&ctx->dep_map, 0, 0, _RET_IP_); in ww_acquire_init() 162 mutex_acquire_nest(&ctx->first_lock_dep_map, 0, 0, &ctx->dep_map, _RET_IP_); in ww_acquire_init() 202 mutex_release(&ctx->dep_map, _THIS_IP_); in ww_acquire_fini()
|
| H A D | rwlock_types.h | 10 .dep_map = { \ 32 struct lockdep_map dep_map; member 61 struct lockdep_map dep_map; member
|
| H A D | rwsem.h | 22 .dep_map = { \ 65 struct lockdep_map dep_map; member 154 struct lockdep_map dep_map; member 288 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ 289 _down_write_nest_lock(sem, &(nest_lock)->dep_map); \
|
| H A D | mutex_types.h | 52 struct lockdep_map dep_map; member 65 struct lockdep_map dep_map; member
|
| H A D | seqlock.h | 47 lockdep_init_map(&s->dep_map, name, key, 0); in __seqcount_init() 54 .dep_map = { .name = #lockname } 72 seqcount_acquire_read(&l->dep_map, 0, 0, _RET_IP_); in seqcount_lockdep_reader_access() 73 seqcount_release(&l->dep_map, _RET_IP_); in seqcount_lockdep_reader_access() 477 seqcount_acquire(&s->dep_map, subclass, 0, _RET_IP_); in do_write_seqcount_begin_nested() 523 seqcount_release(&s->dep_map, _RET_IP_); in do_write_seqcount_end()
|
| H A D | seqlock_types.h | 36 struct lockdep_map dep_map; member
|
| H A D | semaphore.h | 53 lockdep_init_map(&sem->lock.dep_map, "semaphore->lock", &__key, 0); in sema_init()
|
| H A D | rhashtable.h | 85 struct lockdep_map dep_map; member 333 lock_map_acquire(&tbl->dep_map); in rht_lock() 345 lock_acquire_exclusive(&tbl->dep_map, subclass, 0, NULL, _THIS_IP_); in rht_lock_nested() 353 lock_map_release(&tbl->dep_map); in rht_unlock() 430 lock_map_release(&tbl->dep_map); in rht_assign_unlock()
|
| H A D | spinlock.h | 225 typecheck(struct lockdep_map *, &(nest_lock)->dep_map);\ 226 _raw_spin_lock_nest_lock(lock, &(nest_lock)->dep_map); \
|
| /linux/kernel/locking/ |
| H A 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()
|
| H A D | rwsem.c | 317 lockdep_init_map_wait(&sem->dep_map, name, key, 0, LD_WAIT_SLEEP); in __init_rwsem() 1459 lockdep_init_map_wait(&sem->dep_map, name, key, 0, LD_WAIT_SLEEP); in __init_rwsem() 1537 rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_); in down_read() 1546 rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_); in down_read_interruptible() 1549 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_interruptible() 1560 rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_); in down_read_killable() 1563 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_killable() 1579 rwsem_acquire_read(&sem->dep_map, 0, 1, _RET_IP_); in down_read_trylock() 1590 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in down_write() 1601 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in down_write_killable() [all …]
|
| /linux/fs/btrfs/ |
| H A D | locking.h | 136 rwsem_acquire_read(&owner->vfs_inode.lock.dep_map, 0, 0, _THIS_IP_) 139 rwsem_release(&owner->vfs_inode.lock.dep_map, _THIS_IP_)
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | posted_intr.c | 103 spin_acquire(&spinlock->dep_map, PI_LOCK_SCHED_OUT, 0, _RET_IP_); in vmx_vcpu_pi_load() 105 spin_release(&spinlock->dep_map, _RET_IP_); in vmx_vcpu_pi_load()
|
| /linux/kernel/bpf/ |
| H A D | mmap_unlock_work.h | 60 rwsem_release(&mm->mmap_lock.dep_map, _RET_IP_); in bpf_mmap_unlock_mm()
|
| /linux/lib/ |
| H A D | bucket_locks.c | 39 lockdep_init_map(&tlocks[i].dep_map, name, key, 0); in __alloc_bucket_spinlocks()
|
| /linux/kernel/rcu/ |
| H A D | srcutiny.c | 54 lockdep_init_map(&ssp->dep_map, name, key, 0); in __init_srcu_struct() 226 srcu_lock_sync(&ssp->dep_map); in synchronize_srcu()
|
| /linux/drivers/block/zram/ |
| H A D | zram_drv.h | 72 struct lockdep_map dep_map; member
|
| /linux/fs/kernfs/ |
| H A D | dir.c | 454 rwsem_acquire_read(&kn->dep_map, 0, 1, _RET_IP_); in kernfs_get_active() 473 rwsem_release(&kn->dep_map, _RET_IP_); in kernfs_put_active() 511 rwsem_acquire(&kn->dep_map, 0, 0, _RET_IP_); in kernfs_drain() 513 lock_contended(&kn->dep_map, _RET_IP_); in kernfs_drain() 520 lock_acquired(&kn->dep_map, _RET_IP_); in kernfs_drain() 521 rwsem_release(&kn->dep_map, _RET_IP_); in kernfs_drain() 1611 rwsem_acquire(&kn->dep_map, 0, 1, _RET_IP_); in kernfs_unbreak_active_protection()
|
| /linux/mm/ |
| H A D | zsmalloc.c | 256 struct lockdep_map dep_map; member 279 lockdep_init_map(&zsl->dep_map, "zspage->lock", &__key, 0); in zspage_lock_init() 306 rwsem_acquire_read(&zsl->dep_map, 0, 0, _RET_IP_); in zspage_read_lock() 312 lock_acquired(&zsl->dep_map, _RET_IP_); in zspage_read_lock() 319 rwsem_release(&zsl->dep_map, _RET_IP_); in zspage_read_unlock() 333 rwsem_acquire(&zsl->dep_map, 0, 1, _RET_IP_); in zspage_write_trylock() 334 lock_acquired(&zsl->dep_map, _RET_IP_); in zspage_write_trylock() 346 rwsem_release(&zsl->dep_map, _RET_IP_); in zspage_write_unlock()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_rtgroup.c | 293 container_of(m1, struct xfs_inode, i_lock.dep_map); in xfs_rtginode_ilock_cmp_fn() 295 container_of(m2, struct xfs_inode, i_lock.dep_map); in xfs_rtginode_ilock_cmp_fn() 309 container_of(m, struct xfs_inode, i_lock.dep_map); in xfs_rtginode_ilock_print_fn()
|