Searched defs:rwlock (Results 1 – 6 of 6) sorted by relevance
13 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 …]
39 # define do_raw_read_lock(rwlock) do {__acquire(lock); arch_read_lock(&(rwlock)->raw_lock); } while… argument40 # define do_raw_read_trylock(rwlock) arch_read_trylock(&(rwlock)->raw_lock) argument41 # define do_raw_read_unlock(rwlock) do {arch_read_unlock(&(rwlock)->raw_lock); __release(lock); } w… argument42 # define do_raw_write_lock(rwlock) do {__acquire(lock); arch_write_lock(&(rwlock)->raw_lock); } whi… argument43 # define do_raw_write_trylock(rwlock) arch_write_trylock(&(rwlock)->raw_lock) argument44 # define do_raw_write_unlock(rwlock) do {arch_write_unlock(&(rwlock)->raw_lock); __release(lock); }… argument
194 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()
265 static CoRwlock rwlock; variable
243 rwlock_t rwlock; member
118 rwlock_t rwlock; member