Lines Matching refs:percpu_rw_semaphore
12 struct percpu_rw_semaphore { struct
31 is_static struct percpu_rw_semaphore name = { \ argument
45 extern bool __percpu_down_read(struct percpu_rw_semaphore *, bool);
47 static inline void percpu_down_read(struct percpu_rw_semaphore *sem) in percpu_down_read()
73 static inline bool percpu_down_read_trylock(struct percpu_rw_semaphore *sem) in percpu_down_read_trylock()
97 static inline void percpu_up_read(struct percpu_rw_semaphore *sem) in percpu_up_read()
124 extern void percpu_down_write(struct percpu_rw_semaphore *);
125 extern void percpu_up_write(struct percpu_rw_semaphore *);
127 extern int __percpu_init_rwsem(struct percpu_rw_semaphore *,
130 extern void percpu_free_rwsem(struct percpu_rw_semaphore *);
141 static inline void percpu_rwsem_release(struct percpu_rw_semaphore *sem, in percpu_rwsem_release()
147 static inline void percpu_rwsem_acquire(struct percpu_rw_semaphore *sem, in percpu_rwsem_acquire()