Home
last modified time | relevance | path

Searched refs:dep_map (Results 1 – 25 of 36) sorted by relevance

12

/linux/kernel/locking/
H A Drtmutex_api.c49 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, _RET_IP_); in __rt_mutex_lock_common()
52 mutex_release(&lock->dep_map, _RET_IP_); in __rt_mutex_lock_common()
167 mutex_acquire(&lock->dep_map, 0, 1, _RET_IP_); in rt_mutex_futex_trylock()
180 mutex_release(&lock->dep_map, _RET_IP_);
260 lockdep_init_map_wait(&lock->dep_map, name, key, 0, LD_WAIT_SLEEP); in rt_mutex_init_proxy_locked()
559 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in _mutex_lock_nest_lock()
562 mutex_release(&lock->dep_map, ip);
564 lock_acquired(&lock->dep_map, ip); in mutex_lock_interruptible_nested()
572 lockdep_init_map_wait(&mutex->dep_map, name, key, 0, LD_WAIT_SLEEP); in _mutex_lock_killable()
625 mutex_acquire_nest(&lock->dep_map,
[all...]
H A Dmutex.c185 lockdep_init_map_wait(&lock->dep_map, name, key, 0, LD_WAIT_SLEEP); in mutex_init_lockdep()
641 nest_lock = &ww_ctx->dep_map; in __mutex_lock_common()
646 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
652 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common()
676 lock_contended(&lock->dep_map, ip); in __mutex_lock_common()
792 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common()
811 mutex_release(&lock->dep_map, ip); in __mutex_lock_common()
862 mutex_acquire_nest(&ww->base.dep_map, 0, 1, &ww_ctx->dep_map, _RET_IP_); in ww_mutex_trylock()
989 mutex_release(&lock->dep_map, i in __mutex_unlock_slowpath()
[all...]
/linux/include/linux/
H A Dlocal_lock_internal.h16 struct lockdep_map dep_map; in context_lock_struct() local
25 struct lockdep_map dep_map; in context_lock_struct() local
34 .dep_map = { \
46 lock_map_acquire(&l->dep_map); in local_lock_acquire()
53 lock_map_acquire_try(&l->dep_map); in local_trylock_acquire()
62 lock_map_release(&l->dep_map); in local_lock_release()
86 lockdep_init_map_type(&(lock)->dep_map, #lock, &__key, \
102 lockdep_init_map_type(&(lock)->dep_map, #lock, &__key, \
H A Drhashtable.h86 struct lockdep_map dep_map; member
331 lock_map_acquire(&tbl->dep_map); in rht_lock()
344 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()
431 lock_map_release(&tbl->dep_map); in rht_assign_unlock()
H A Dsrcutiny.h30 struct lockdep_map dep_map; member
H A Dmaple_tree.h239 (mt)->ma_external_lock = &(lock)->dep_map
294 .ma_external_lock = &(__lock).dep_map, \
H A Dsrcutree.h109 struct lockdep_map dep_map; member
H A Ddevice.h1219 lock_set_class(&__d2->mutex.dep_map, name, key, 0, _THIS_IP_); \
1255 lock_set_novalidate_class(&__d->mutex.dep_map, "&dev->mutex", \
H A Dkernfs.h203 struct lockdep_map dep_map;
198 struct lockdep_map dep_map; global() member
/linux/fs/btrfs/
H A Dlocking.h136 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 Dposted_intr.c103 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 Dmmap_unlock_work.h60 rwsem_release(&mm->mmap_lock.dep_map, _RET_IP_); in bpf_mmap_unlock_mm()
/linux/lib/
H A Dbucket_locks.c39 lockdep_init_map(&tlocks[i].dep_map, name, key, 0); in __alloc_bucket_spinlocks()
/linux/kernel/rcu/
H A Dsrcutiny.c56 lockdep_init_map(&ssp->dep_map, name, key, 0); in __init_srcu_struct()
243 srcu_lock_sync(&ssp->dep_map); in synchronize_srcu()
H A Dsrcutree.c265 lockdep_init_map(&ssp->dep_map, name, key, 0); in __init_srcu_struct_common()
1481 srcu_lock_sync(&ssp->dep_map); in __synchronize_srcu()
/linux/fs/kernfs/
H A Ddir.c471 rwsem_acquire_read(&kn->dep_map, 0, 1, _RET_IP_); in kernfs_get_active()
490 rwsem_release(&kn->dep_map, _RET_IP_); in kernfs_put_active()
532 rwsem_acquire(&kn->dep_map, 0, 0, _RET_IP_); in kernfs_drain()
534 lock_contended(&kn->dep_map, _RET_IP_); in kernfs_drain()
541 lock_acquired(&kn->dep_map, _RET_IP_); in kernfs_drain()
542 rwsem_release(&kn->dep_map, _RET_IP_); in kernfs_drain()
1681 rwsem_acquire(&kn->dep_map, 0, 1, _RET_IP_); in kernfs_unbreak_active_protection()
/linux/drivers/block/zram/
H A Dzram_drv.h77 struct lockdep_map dep_map; member
/linux/fs/xfs/libxfs/
H A Dxfs_rtgroup.c293 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()
/linux/drivers/gpu/drm/i915/
H A Di915_scheduler.c480 lock_map_acquire(&sched_engine->lock.dep_map); in i915_sched_engine_create()
481 lock_map_release(&sched_engine->lock.dep_map); in i915_sched_engine_create()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_context.c540 mutex_release(&ce->timeline->mutex.dep_map, _RET_IP_); in intel_context_create_request()
541 mutex_acquire(&ce->timeline->mutex.dep_map, SINGLE_DEPTH_NESTING, 0, _RET_IP_); in intel_context_create_request()
/linux/include/net/
H A Dsock.h99 struct lockdep_map dep_map; member
1700 lockdep_init_map(&(sk)->sk_lock.dep_map, (name), (key), 0); \
1744 mutex_acquire(&sk->sk_lock.dep_map, 0, 0, _RET_IP_); in lock_sock_fast()
1752 mutex_acquire(&sk->sk_lock.dep_map, SINGLE_DEPTH_NESTING, 0, _RET_IP_); in lock_sock_fast_nested()
1772 mutex_release(&sk->sk_lock.dep_map, _RET_IP_); in unlock_sock_fast()
1827 mutex_release(&sk->sk_lock.dep_map, _RET_IP_); in sock_release_ownership()
/linux/virt/kvm/
H A Deventfd.c338 spin_release(&kvm->irqfds.lock.dep_map, _RET_IP_); in kvm_irqfd_register()
340 spin_acquire(&kvm->irqfds.lock.dep_map, 0, 0, _RET_IP_); in kvm_irqfd_register()
/linux/drivers/md/bcache/
H A Dbtree.c566 const struct btree *a = container_of(_a, struct btree, lock.dep_map); in btree_lock_cmp_fn()
567 const struct btree *b = container_of(_b, struct btree, lock.dep_map); in btree_lock_cmp_fn()
574 const struct btree *b = container_of(map, struct btree, lock.dep_map); in btree_lock_print_fn()
968 lock_set_subclass(&b->lock.dep_map, level + 1, _THIS_IP_); in mca_alloc()
/linux/arch/x86/pci/
H A Dmmconfig-shared.c34 #define pci_mmcfg_lock_held() lock_is_held(&(pci_mmcfg_lock).dep_map)
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_bo_test.c154 lock_release(&bo2->base.resv->lock.base.dep_map, 1); in ttm_bo_reserve_deadlock()

12