Searched defs:rwlock (Results 1 – 2 of 2) sorted by relevance
13 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 …]
50 # define do_raw_read_lock(rwlock) do {__acquire(lock); arch_read_lock(&(rwlock)->raw_lock); } while… argument53 # define do_raw_read_trylock(rwlock) arch_read_trylock(&(rwlock)->raw_lock) argument54 # define do_raw_read_unlock(rwlock) do {arch_read_unlock(&(rwlock)->raw_lock); __release(lock); } w… argument55 # define do_raw_write_lock(rwlock) do {__acquire(lock); arch_write_lock(&(rwlock)->raw_lock); } whi… argument58 # define do_raw_write_trylock(rwlock) arch_write_trylock(&(rwlock)->raw_lock) argument59 # define do_raw_write_unlock(rwlock) do {arch_write_unlock(&(rwlock)->raw_lock); __release(lock); }… argument