Lines Matching refs:percpu_rw_semaphore
12 int __percpu_init_rwsem(struct percpu_rw_semaphore *sem, in __percpu_init_rwsem()
31 void percpu_free_rwsem(struct percpu_rw_semaphore *sem) in percpu_free_rwsem()
46 static bool __percpu_down_read_trylock(struct percpu_rw_semaphore *sem) in __percpu_down_read_trylock()
82 static inline bool __percpu_down_write_trylock(struct percpu_rw_semaphore *sem) in __percpu_down_write_trylock()
90 static bool __percpu_rwsem_trylock(struct percpu_rw_semaphore *sem, bool reader) in __percpu_rwsem_trylock()
122 struct percpu_rw_semaphore *sem = key; in percpu_rwsem_wake_function()
139 static void percpu_rwsem_wait(struct percpu_rw_semaphore *sem, bool reader) in percpu_rwsem_wait()
165 bool __percpu_down_read(struct percpu_rw_semaphore *sem, bool try) in __percpu_down_read()
199 static bool readers_active_check(struct percpu_rw_semaphore *sem) in readers_active_check()
214 void percpu_down_write(struct percpu_rw_semaphore *sem) in percpu_down_write()
242 void percpu_up_write(struct percpu_rw_semaphore *sem) in percpu_up_write()