Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H 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 …]
H 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
/openbmc/linux/kernel/locking/
H 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()
/openbmc/qemu/tests/unit/
H A Dtest-coroutine.c265 static CoRwlock rwlock; variable
/openbmc/linux/kernel/trace/
H A Dtrace_probe.h243 rwlock_t rwlock; member
/openbmc/linux/drivers/infiniband/core/
H A Dcache.c118 rwlock_t rwlock; member