Lines Matching defs:sem
37 unsigned long settime, struct percpu_rw_semaphore *sem) in _trace_android_vh_record_pcpu_rwsem_time_early()
43 int __percpu_init_rwsem(struct percpu_rw_semaphore *sem, in __percpu_init_rwsem()
62 void percpu_free_rwsem(struct percpu_rw_semaphore *sem) in percpu_free_rwsem()
77 static bool __percpu_down_read_trylock(struct percpu_rw_semaphore *sem) in __percpu_down_read_trylock()
113 static inline bool __percpu_down_write_trylock(struct percpu_rw_semaphore *sem) in __percpu_down_write_trylock()
121 static bool __percpu_rwsem_trylock(struct percpu_rw_semaphore *sem, bool reader) in __percpu_rwsem_trylock()
153 struct percpu_rw_semaphore *sem = key; in percpu_rwsem_wake_function() local
170 static void percpu_rwsem_wait(struct percpu_rw_semaphore *sem, bool reader) in percpu_rwsem_wait()
197 bool __sched __percpu_down_read(struct percpu_rw_semaphore *sem, bool try) in __percpu_down_read()
225 bool percpu_is_read_locked(struct percpu_rw_semaphore *sem) in percpu_is_read_locked()
239 static bool readers_active_check(struct percpu_rw_semaphore *sem) in readers_active_check()
254 void __sched percpu_down_write(struct percpu_rw_semaphore *sem) in percpu_down_write()
287 void percpu_up_write(struct percpu_rw_semaphore *sem) in percpu_up_write()