Lines Matching defs:sem
73 void __init_rwsem(struct rw_semaphore *sem, const char *name, in __init_rwsem()
122 __rwsem_do_wake(struct rw_semaphore *sem, enum rwsem_wake_type wake_type) in __rwsem_do_wake()
214 struct rw_semaphore __sched *rwsem_down_read_failed(struct rw_semaphore *sem) in rwsem_down_read_failed()
258 static inline bool rwsem_try_write_lock(long count, struct rw_semaphore *sem) in rwsem_try_write_lock()
280 static inline bool rwsem_try_write_lock_unqueued(struct rw_semaphore *sem) in rwsem_try_write_lock_unqueued()
299 static inline bool rwsem_can_spin_on_owner(struct rw_semaphore *sem) in rwsem_can_spin_on_owner()
329 bool rwsem_spin_on_owner(struct rw_semaphore *sem, struct task_struct *owner) in rwsem_spin_on_owner()
365 static bool rwsem_optimistic_spin(struct rw_semaphore *sem) in rwsem_optimistic_spin()
416 static inline bool rwsem_has_spinner(struct rw_semaphore *sem) in rwsem_has_spinner()
422 static bool rwsem_optimistic_spin(struct rw_semaphore *sem) in rwsem_optimistic_spin()
427 static inline bool rwsem_has_spinner(struct rw_semaphore *sem) in rwsem_has_spinner()
437 struct rw_semaphore __sched *rwsem_down_write_failed(struct rw_semaphore *sem) in rwsem_down_write_failed()
509 struct rw_semaphore *rwsem_wake(struct rw_semaphore *sem) in rwsem_wake()
562 struct rw_semaphore *rwsem_downgrade_wake(struct rw_semaphore *sem) in rwsem_downgrade_wake()