Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A 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()
82 static __always_inline void write_lock(rwlock_t *rwlock) in write_lock()
96 static __always_inline void write_lock_bh(rwlock_t *rwlock) in write_lock_bh()
102 static __always_inline void write_lock_irq(rwlock_t *rwlock) in write_lock_irq()
[all …]
A 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.3-rc2/kernel/locking/
A 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.3-rc2/kernel/trace/
A Dtrace_probe.h233 rwlock_t rwlock; member
/linux-6.3-rc2/drivers/infiniband/core/
A Dcache.c118 rwlock_t rwlock; member

Completed in 12 milliseconds