Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Dlockdep.h158 lockdep_init_map_type(&(lock)->dep_map, #key, key, 0, \
159 (lock)->dep_map.wait_type_inner, \
160 (lock)->dep_map.wait_type_outer, \
161 (lock)->dep_map.lock_type)
164 lockdep_init_map_type(&(lock)->dep_map, name, key, 0, \
165 (lock)->dep_map.wait_type_inner, \
166 (lock)->dep_map.wait_type_outer, \
167 (lock)->dep_map.lock_type)
170 lockdep_init_map_type(&(lock)->dep_map, #key, key, sub, \
171 (lock)->dep_map.wait_type_inner, \
[all …]
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 Dsrcu.h55 #define __SRCU_DEP_MAP_INIT(srcu_name) .dep_map = { .name = #srcu_name },
184 return lock_is_held(&ssp->dep_map); in srcu_read_lock_held()
305 srcu_lock_acquire(&ssp->dep_map); in srcu_read_lock()
343 rcu_try_lock_acquire(&ssp->dep_map); in srcu_read_lock_fast()
383 rcu_try_lock_acquire(&ssp->dep_map); in srcu_read_lock_fast_updown()
439 rcu_try_lock_acquire(&ssp->dep_map); in srcu_read_lock_nmisafe()
497 srcu_lock_release(&ssp->dep_map); in srcu_read_unlock()
512 srcu_lock_release(&ssp->dep_map); in srcu_read_unlock_fast()
528 srcu_lock_release(&ssp->dep_map); in srcu_read_unlock_fast_updown()
574 rcu_lock_release(&ssp->dep_map); in srcu_read_unlock_nmisafe()
H A Drcupdate_trace.h59 rcu_try_lock_acquire(&rcu_tasks_trace_srcu_struct.dep_map); in rcu_read_lock_tasks_trace()
81 srcu_lock_release(&rcu_tasks_trace_srcu_struct.dep_map); in rcu_read_unlock_tasks_trace()
101 rcu_try_lock_acquire(&rcu_tasks_trace_srcu_struct.dep_map); in rcu_read_lock_trace()
140 srcu_lock_release(&rcu_tasks_trace_srcu_struct.dep_map); in rcu_read_unlock_trace()
H A Dsrcutiny.h30 struct lockdep_map dep_map; member
H A Dmaple_tree.h236 (mt)->ma_external_lock = &(lock)->dep_map
291 .ma_external_lock = &(__lock).dep_map, \
H A Dspinlock.h227 typecheck(struct lockdep_map *, &(nest_lock)->dep_map);\
228 _raw_spin_lock_nest_lock(lock, &(nest_lock)->dep_map); \
H A Dsrcutree.h109 struct lockdep_map dep_map; member
H A Ddevice.h1221 lock_set_class(&__d2->mutex.dep_map, name, key, 0, _THIS_IP_); \
1257 lock_set_novalidate_class(&__d->mutex.dep_map, "&dev->mutex", \
/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_trylock()
180 mutex_release(&lock->dep_map, _RET_IP_); in rt_mutex_unlock()
260 lockdep_init_map_wait(&lock->dep_map, name, key, 0, LD_WAIT_SLEEP); in __rt_mutex_init()
561 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
564 mutex_release(&lock->dep_map, ip); in __mutex_lock_common()
566 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common()
574 lockdep_init_map_wait(&mutex->dep_map, name, key, 0, LD_WAIT_SLEEP); in mutex_rt_init_lockdep()
627 mutex_acquire_nest(&lock->dep_map, 0, 1, nest_lock, _RET_IP_); in _mutex_trylock_nest_lock()
[all …]
/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.h67 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_lockdep()
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()
1462 srcu_lock_sync(&ssp->dep_map); in __synchronize_srcu()
/linux/mm/
H A Dzsmalloc.c329 struct lockdep_map dep_map; member
352 lockdep_init_map(&zsl->dep_map, "zspage->lock", &__key, 0); in zspage_lock_init()
379 rwsem_acquire_read(&zsl->dep_map, 0, 0, _RET_IP_); in zspage_read_lock()
385 lock_acquired(&zsl->dep_map, _RET_IP_); in zspage_read_lock()
392 rwsem_release(&zsl->dep_map, _RET_IP_); in zspage_read_unlock()
406 rwsem_acquire(&zsl->dep_map, 0, 1, _RET_IP_); in zspage_write_trylock()
407 lock_acquired(&zsl->dep_map, _RET_IP_); in zspage_write_trylock()
419 rwsem_release(&zsl->dep_map, _RET_IP_); in zspage_write_unlock()
/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.c339 spin_release(&kvm->irqfds.lock.dep_map, _RET_IP_); in kvm_irqfd_register()
341 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/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()
/linux/net/unix/
H A Daf_unix.c137 a = container_of(_a, struct unix_sock, lock.dep_map); in unix_state_lock_cmp_fn()
138 b = container_of(_b, struct unix_sock, lock.dep_map); in unix_state_lock_cmp_fn()
184 a = container_of(_a, struct sock, sk_receive_queue.lock.dep_map); in unix_recvq_lock_cmp_fn()
185 b = container_of(_b, struct sock, sk_receive_queue.lock.dep_map); in unix_recvq_lock_cmp_fn()
/linux/net/mptcp/
H A Dsubflow.c1962 mutex_release(&listener_sk->sk_lock.dep_map, _RET_IP_); in mptcp_subflow_queue_clean()
1964 mutex_acquire(&listener_sk->sk_lock.dep_map, 0, 0, _RET_IP_); in mptcp_subflow_queue_clean()

12