Home
last modified time | relevance | path

Searched defs:rwlock (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/include/linux/ !
Drwlock_rt.h13 static inline void __rt_rwlock_init(rwlock_t *rwlock, char *name, in __rt_rwlock_init()
35 static __always_inline void read_lock(rwlock_t *rwlock) in read_lock()
40 static __always_inline void read_lock_bh(rwlock_t *rwlock) in read_lock_bh()
46 static __always_inline void read_lock_irq(rwlock_t *rwlock) in read_lock_irq()
60 static __always_inline void read_unlock(rwlock_t *rwlock) in read_unlock()
65 static __always_inline void read_unlock_bh(rwlock_t *rwlock) in read_unlock_bh()
71 static __always_inline void read_unlock_irq(rwlock_t *rwlock) in read_unlock_irq()
76 static __always_inline void read_unlock_irqrestore(rwlock_t *rwlock, in read_unlock_irqrestore()
82 static __always_inline void write_lock(rwlock_t *rwlock) in write_lock()
88 static __always_inline void write_lock_nested(rwlock_t *rwlock, int subclass) in write_lock_nested()
[all …]
Drwlock.h39 # define do_raw_read_lock(rwlock) do {__acquire(lock); arch_read_lock(&(rwlock)->raw_lock); } while… argument
40 # define do_raw_read_trylock(rwlock) arch_read_trylock(&(rwlock)->raw_lock) argument
41 # define do_raw_read_unlock(rwlock) do {arch_read_unlock(&(rwlock)->raw_lock); __release(lock); } w… argument
42 # define do_raw_write_lock(rwlock) do {__acquire(lock); arch_write_lock(&(rwlock)->raw_lock); } whi… argument
43 # define do_raw_write_trylock(rwlock) arch_write_trylock(&(rwlock)->raw_lock) argument
44 # define do_raw_write_unlock(rwlock) do {arch_write_unlock(&(rwlock)->raw_lock); __release(lock); }… argument
/linux-6.6.21/kernel/locking/ !
Dspinlock_rt.c194 int __sched rt_read_trylock(rwlock_t *rwlock) in rt_read_trylock()
208 int __sched rt_write_trylock(rwlock_t *rwlock) in rt_write_trylock()
222 void __sched rt_read_lock(rwlock_t *rwlock) in rt_read_lock()
232 void __sched rt_write_lock(rwlock_t *rwlock) in rt_write_lock()
243 void __sched rt_write_lock_nested(rwlock_t *rwlock, int subclass) in rt_write_lock_nested()
254 void __sched rt_read_unlock(rwlock_t *rwlock) in rt_read_unlock()
263 void __sched rt_write_unlock(rwlock_t *rwlock) in rt_write_unlock()
273 void __rt_rwlock_init(rwlock_t *rwlock, const char *name, in __rt_rwlock_init()
/linux-6.6.21/kernel/trace/ !
Dtrace_probe.h236 rwlock_t rwlock; member
/linux-6.6.21/drivers/infiniband/core/ !
Dcache.c118 rwlock_t rwlock; member