Home
last modified time | relevance | path

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

/include/linux/
Drwlock_rt.h13 static inline void __rt_rwlock_init(rwlock_t *rwlock, char *name, in __rt_rwlock_init()
34 static __always_inline void read_lock(rwlock_t *rwlock) in read_lock()
39 static __always_inline void read_lock_bh(rwlock_t *rwlock) in read_lock_bh()
45 static __always_inline void read_lock_irq(rwlock_t *rwlock) in read_lock_irq()
59 static __always_inline void read_unlock(rwlock_t *rwlock) in read_unlock()
64 static __always_inline void read_unlock_bh(rwlock_t *rwlock) in read_unlock_bh()
70 static __always_inline void read_unlock_irq(rwlock_t *rwlock) in read_unlock_irq()
75 static __always_inline void read_unlock_irqrestore(rwlock_t *rwlock, in read_unlock_irqrestore()
81 static __always_inline void write_lock(rwlock_t *rwlock) in write_lock()
86 static __always_inline void write_lock_bh(rwlock_t *rwlock) in write_lock_bh()
[all …]
Drwlock.h50 # define do_raw_read_lock(rwlock) do {__acquire(lock); arch_read_lock(&(rwlock)->raw_lock); } while… argument
53 # define do_raw_read_trylock(rwlock) arch_read_trylock(&(rwlock)->raw_lock) argument
54 # define do_raw_read_unlock(rwlock) do {arch_read_unlock(&(rwlock)->raw_lock); __release(lock); } w… argument
55 # define do_raw_write_lock(rwlock) do {__acquire(lock); arch_write_lock(&(rwlock)->raw_lock); } whi… argument
58 # define do_raw_write_trylock(rwlock) arch_write_trylock(&(rwlock)->raw_lock) argument
59 # define do_raw_write_unlock(rwlock) do {arch_write_unlock(&(rwlock)->raw_lock); __release(lock); }… argument