Lines Matching refs:semaphore
38 static noinline void __down(struct semaphore *sem);
39 static noinline int __down_interruptible(struct semaphore *sem);
40 static noinline int __down_killable(struct semaphore *sem);
41 static noinline int __down_timeout(struct semaphore *sem, long timeout);
42 static noinline void __up(struct semaphore *sem, struct wake_q_head *wake_q);
55 void __sched down(struct semaphore *sem) in down()
78 int __sched down_interruptible(struct semaphore *sem) in down_interruptible()
105 int __sched down_killable(struct semaphore *sem) in down_killable()
135 int __sched down_trylock(struct semaphore *sem) in down_trylock()
160 int __sched down_timeout(struct semaphore *sem, long timeout) in down_timeout()
184 void __sched up(struct semaphore *sem) in up()
213 static inline int __sched ___down_common(struct semaphore *sem, long state, in ___down_common()
244 static inline int __sched __down_common(struct semaphore *sem, long state, in __down_common()
256 static noinline void __sched __down(struct semaphore *sem) in __down()
261 static noinline int __sched __down_interruptible(struct semaphore *sem) in __down_interruptible()
266 static noinline int __sched __down_killable(struct semaphore *sem) in __down_killable()
271 static noinline int __sched __down_timeout(struct semaphore *sem, long timeout) in __down_timeout()
276 static noinline void __sched __up(struct semaphore *sem, in __up()