Lines Matching refs:rwlock

10 extern void __rt_rwlock_init(rwlock_t *rwlock, const char *name,
13 static inline void __rt_rwlock_init(rwlock_t *rwlock, char *name, in __rt_rwlock_init() argument
27 extern void rt_read_lock(rwlock_t *rwlock);
28 extern int rt_read_trylock(rwlock_t *rwlock);
29 extern void rt_read_unlock(rwlock_t *rwlock);
30 extern void rt_write_lock(rwlock_t *rwlock);
31 extern void rt_write_lock_nested(rwlock_t *rwlock, int subclass);
32 extern int rt_write_trylock(rwlock_t *rwlock);
33 extern void rt_write_unlock(rwlock_t *rwlock);
35 static __always_inline void read_lock(rwlock_t *rwlock) in read_lock() argument
37 rt_read_lock(rwlock); in read_lock()
40 static __always_inline void read_lock_bh(rwlock_t *rwlock) in read_lock_bh() argument
43 rt_read_lock(rwlock); in read_lock_bh()
46 static __always_inline void read_lock_irq(rwlock_t *rwlock) in read_lock_irq() argument
48 rt_read_lock(rwlock); in read_lock_irq()
60 static __always_inline void read_unlock(rwlock_t *rwlock) in read_unlock() argument
62 rt_read_unlock(rwlock); in read_unlock()
65 static __always_inline void read_unlock_bh(rwlock_t *rwlock) in read_unlock_bh() argument
67 rt_read_unlock(rwlock); in read_unlock_bh()
71 static __always_inline void read_unlock_irq(rwlock_t *rwlock) in read_unlock_irq() argument
73 rt_read_unlock(rwlock); in read_unlock_irq()
76 static __always_inline void read_unlock_irqrestore(rwlock_t *rwlock, in read_unlock_irqrestore() argument
79 rt_read_unlock(rwlock); in read_unlock_irqrestore()
82 static __always_inline void write_lock(rwlock_t *rwlock) in write_lock() argument
84 rt_write_lock(rwlock); in write_lock()
88 static __always_inline void write_lock_nested(rwlock_t *rwlock, int subclass) in write_lock_nested() argument
90 rt_write_lock_nested(rwlock, subclass); in write_lock_nested()
96 static __always_inline void write_lock_bh(rwlock_t *rwlock) in write_lock_bh() argument
99 rt_write_lock(rwlock); in write_lock_bh()
102 static __always_inline void write_lock_irq(rwlock_t *rwlock) in write_lock_irq() argument
104 rt_write_lock(rwlock); in write_lock_irq()
126 static __always_inline void write_unlock(rwlock_t *rwlock) in write_unlock() argument
128 rt_write_unlock(rwlock); in write_unlock()
131 static __always_inline void write_unlock_bh(rwlock_t *rwlock) in write_unlock_bh() argument
133 rt_write_unlock(rwlock); in write_unlock_bh()
137 static __always_inline void write_unlock_irq(rwlock_t *rwlock) in write_unlock_irq() argument
139 rt_write_unlock(rwlock); in write_unlock_irq()
142 static __always_inline void write_unlock_irqrestore(rwlock_t *rwlock, in write_unlock_irqrestore() argument
145 rt_write_unlock(rwlock); in write_unlock_irqrestore()