Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/include/linux/
A Dlockdep.h215 (lock)->dep_map.wait_type_inner, \
216 (lock)->dep_map.wait_type_outer, \
217 (lock)->dep_map.lock_type)
221 (lock)->dep_map.wait_type_inner, \
222 (lock)->dep_map.wait_type_outer, \
223 (lock)->dep_map.lock_type)
227 (lock)->dep_map.wait_type_inner, \
228 (lock)->dep_map.wait_type_outer, \
229 (lock)->dep_map.lock_type)
232 lockdep_init_map_type(&(lock)->dep_map, #lock, (lock)->dep_map.key, sub,\
[all …]
A Drwlock_api_smp.h186 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()
224 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_write_unlock()
231 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_read_unlock()
239 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_read_unlock_irqrestore()
247 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_read_unlock_irq()
255 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_read_unlock_bh()
263 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_write_unlock_irqrestore()
271 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_write_unlock_irq()
[all …]
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()
A Dpercpu-rwsem.h19 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()
150 lock_release(&sem->dep_map, ip); in percpu_rwsem_release()
156 lock_acquire(&sem->dep_map, 0, 1, read, 1, NULL, ip); in percpu_rwsem_acquire()
A Dspinlock_types_raw.h21 struct lockdep_map dep_map; member
31 .dep_map = { \
36 .dep_map = { \
42 .dep_map = { \
A Dlocal_lock_internal.h13 struct lockdep_map dep_map; member
20 .dep_map = { \
29 lock_map_acquire(&l->dep_map); in local_lock_acquire()
38 lock_map_release(&l->dep_map); in local_lock_release()
59 lockdep_init_map_type(&(lock)->dep_map, #lock, &__key, \
A Dsrcu.h38 #define __SRCU_DEP_MAP_INIT(srcu_name) .dep_map = { .name = #srcu_name },
102 return lock_is_held(&ssp->dep_map); in srcu_read_lock_held()
185 rcu_lock_acquire(&(ssp)->dep_map); in srcu_read_lock()
202 rcu_lock_acquire(&(ssp)->dep_map); in srcu_read_lock_nmisafe()
257 rcu_lock_release(&(ssp)->dep_map); in srcu_read_unlock()
273 rcu_lock_release(&(ssp)->dep_map); in srcu_read_unlock_nmisafe()
A Drtmutex.h60 struct lockdep_map dep_map; member
81 .dep_map = { \
106 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
107 _rt_mutex_lock_nest_lock(lock, &(nest_lock)->dep_map); \
A Dmutex.h25 , .dep_map = { \
74 struct lockdep_map dep_map; member
138 struct lockdep_map dep_map; member
194 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
195 _mutex_lock_nest_lock(lock, &(nest_lock)->dep_map); \
A Drwsem.h21 .dep_map = { \
64 struct lockdep_map dep_map; member
131 struct lockdep_map dep_map; member
231 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
232 _down_write_nest_lock(sem, &(nest_lock)->dep_map); \
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
A Drwlock_types.h10 .dep_map = { \
32 struct lockdep_map dep_map; member
61 struct lockdep_map dep_map; member
A Dww_mutex.h67 struct lockdep_map dep_map; member
147 lockdep_init_map(&ctx->dep_map, ww_class->acquire_name, in ww_acquire_init()
149 mutex_acquire(&ctx->dep_map, 0, 0, _RET_IP_); in ww_acquire_init()
188 mutex_release(&ctx->dep_map, _THIS_IP_); in ww_acquire_fini()
A Dseqlock.h67 struct lockdep_map dep_map; member
77 lockdep_init_map(&s->dep_map, name, key, 0); in __seqcount_init()
84 .dep_map = { .name = #lockname }
102 seqcount_acquire_read(&l->dep_map, 0, 0, _RET_IP_); in seqcount_lockdep_reader_access()
103 seqcount_release(&l->dep_map, _RET_IP_); in seqcount_lockdep_reader_access()
516 seqcount_acquire(&s->dep_map, subclass, 0, _RET_IP_); in do_write_seqcount_begin_nested()
561 seqcount_release(&s->dep_map, _RET_IP_); in do_write_seqcount_end()
A Dspinlock_rt.h54 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
55 rt_spin_lock_nest_lock(lock, &(nest_lock)->dep_map); \
/linux-6.3-rc2/kernel/locking/
A Dspinlock_rt.c54 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in rt_spin_lock()
62 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in rt_spin_lock_nested()
78 spin_release(&lock->dep_map, _RET_IP_); in rt_spin_unlock()
107 spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); in __rt_spin_trylock()
200 rwlock_acquire_read(&rwlock->dep_map, 0, 1, _RET_IP_); in rt_read_trylock()
214 rwlock_acquire(&rwlock->dep_map, 0, 1, _RET_IP_); in rt_write_trylock()
225 rwlock_acquire_read(&rwlock->dep_map, 0, 0, _RET_IP_); in rt_read_lock()
235 rwlock_acquire(&rwlock->dep_map, 0, 0, _RET_IP_); in rt_write_lock()
246 rwlock_acquire(&rwlock->dep_map, subclass, 0, _RET_IP_); in rt_write_lock_nested()
256 rwlock_release(&rwlock->dep_map, _RET_IP_); in rt_read_unlock()
[all …]
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()
A Drtmutex_api.c30 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, _RET_IP_); in __rt_mutex_lock_common()
33 mutex_release(&lock->dep_map, _RET_IP_); in __rt_mutex_lock_common()
127 mutex_acquire(&lock->dep_map, 0, 1, _RET_IP_); in rt_mutex_trylock()
140 mutex_release(&lock->dep_map, _RET_IP_); in rt_mutex_unlock()
218 lockdep_init_map_wait(&lock->dep_map, name, key, 0, LD_WAIT_SLEEP); in __rt_mutex_init()
498 lockdep_init_map_wait(&mutex->dep_map, name, key, 0, LD_WAIT_SLEEP); in __mutex_rt_init()
511 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
514 mutex_release(&lock->dep_map, ip); in __mutex_lock_common()
516 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common()
599 mutex_acquire(&lock->dep_map, 0, 1, _RET_IP_); in mutex_trylock()
[all …]
A Drwsem.c1532 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_interruptible()
1546 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_killable()
1573 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in down_write()
1584 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in down_write_killable()
1588 rwsem_release(&sem->dep_map, _RET_IP_); in down_write_killable()
1604 rwsem_acquire(&sem->dep_map, 0, 1, _RET_IP_); in down_write_trylock()
1615 rwsem_release(&sem->dep_map, _RET_IP_); in up_read()
1625 rwsem_release(&sem->dep_map, _RET_IP_); in up_write()
1635 lock_downgrade(&sem->dep_map, _RET_IP_); in downgrade_write()
1656 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_killable_nested()
[all …]
A Dmutex.c598 nest_lock = &ww_ctx->dep_map; in __mutex_lock_common()
603 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
609 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common()
633 lock_contended(&lock->dep_map, ip); in __mutex_lock_common()
721 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common()
738 mutex_release(&lock->dep_map, ip); in __mutex_lock_common()
787 mutex_acquire_nest(&ww->base.dep_map, 0, 1, &ww_ctx->dep_map, _RET_IP_); in ww_mutex_trylock()
907 mutex_release(&lock->dep_map, ip); in __mutex_unlock_slowpath()
1089 mutex_acquire(&lock->dep_map, 0, 1, _RET_IP_); in mutex_trylock()
A Dpercpu-rwsem.c27 lockdep_init_map(&sem->dep_map, name, key, 0); in __percpu_init_rwsem()
227 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in percpu_down_write()
256 rwsem_release(&sem->dep_map, _RET_IP_); in percpu_up_write()
A Dspinlock.c378 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_nested()
390 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_irqsave_nested()
400 spin_acquire_nest(&lock->dep_map, 0, 0, nest_lock, _RET_IP_); in _raw_spin_lock_nest_lock()
/linux-6.3-rc2/drivers/tty/
A Dtty_ldsem.c65 lockdep_init_map(&sem->dep_map, name, key, 0); in __init_ldsem()
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()
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()
353 lock_acquired(&sem->dep_map, _RET_IP_); in ldsem_down_read_trylock()
379 lock_acquired(&sem->dep_map, _RET_IP_); in ldsem_down_write_trylock()
393 rwsem_release(&sem->dep_map, _RET_IP_); in ldsem_up_read()
[all …]
/linux-6.3-rc2/lib/
A Dlocking-selftest.c1855 mutex_release(&o2.base.dep_map, _THIS_IP_); in ww_test_edeadlk_normal()
1880 mutex_release(&o2.base.dep_map, _THIS_IP_); in ww_test_edeadlk_normal_slow()
1907 mutex_release(&o2.base.dep_map, _THIS_IP_); in ww_test_edeadlk_no_unlock()
1931 mutex_release(&o2.base.dep_map, _THIS_IP_); in ww_test_edeadlk_no_unlock_slow()
1956 mutex_release(&o2.base.dep_map, _THIS_IP_); in ww_test_edeadlk_acquire_more()
1977 mutex_release(&o2.base.dep_map, _THIS_IP_); in ww_test_edeadlk_acquire_more_slow()
1998 mutex_release(&o2.base.dep_map, _THIS_IP_); in ww_test_edeadlk_acquire_more_edeadlk()
2002 mutex_release(&o3.base.dep_map, _THIS_IP_); in ww_test_edeadlk_acquire_more_edeadlk()
2024 mutex_release(&o2.base.dep_map, _THIS_IP_); in ww_test_edeadlk_acquire_more_edeadlk_slow()
2028 mutex_release(&o3.base.dep_map, _THIS_IP_); in ww_test_edeadlk_acquire_more_edeadlk_slow()
[all …]
/linux-6.3-rc2/kernel/bpf/
A Dmmap_unlock_work.h60 rwsem_release(&mm->mmap_lock.dep_map, _RET_IP_); in bpf_mmap_unlock_mm()

Completed in 50 milliseconds

123