Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Drwlock_api_smp.h122 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 Dspinlock_api_smp.h90 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 Dspinlock_types_raw.h21 struct lockdep_map dep_map; member
31 .dep_map = { \
36 .dep_map = { \
42 .dep_map = { \
H A Dsrcu.h56 #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 Dspinlock_types.h22 # 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 Dww_mutex.h67 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 Drwlock_types.h10 .dep_map = { \
32 struct lockdep_map dep_map; member
61 struct lockdep_map dep_map; member
H A Drwsem.h22 .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 Dmutex_types.h52 struct lockdep_map dep_map; member
65 struct lockdep_map dep_map; member
H A Dseqlock.h47 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 Dseqlock_types.h36 struct lockdep_map dep_map; member
H A Dsemaphore.h53 lockdep_init_map(&sem->lock.dep_map, "semaphore->lock", &__key, 0); in sema_init()
H A Drhashtable.h85 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 Dspinlock.h225 typecheck(struct lockdep_map *, &(nest_lock)->dep_map);\
226 _raw_spin_lock_nest_lock(lock, &(nest_lock)->dep_map); \
/linux/kernel/locking/
H A Dww_rt_mutex.c29 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 Drwsem.c317 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 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.c54 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 Dzram_drv.h72 struct lockdep_map dep_map; member
/linux/fs/kernfs/
H A Ddir.c454 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 Dzsmalloc.c256 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 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()

12