Lines Matching refs:semaphore
36 static noinline void __down(struct semaphore *sem);
37 static noinline int __down_interruptible(struct semaphore *sem);
38 static noinline int __down_killable(struct semaphore *sem);
39 static noinline int __down_timeout(struct semaphore *sem, long timeout);
40 static noinline void __up(struct semaphore *sem);
53 void down(struct semaphore *sem) in down()
76 int down_interruptible(struct semaphore *sem) in down_interruptible()
103 int down_killable(struct semaphore *sem) in down_killable()
133 int down_trylock(struct semaphore *sem) in down_trylock()
158 int down_timeout(struct semaphore *sem, long timeout) in down_timeout()
182 void up(struct semaphore *sem) in up()
208 static inline int __sched __down_common(struct semaphore *sem, long state, in __down_common()
239 static noinline void __sched __down(struct semaphore *sem) in __down()
244 static noinline int __sched __down_interruptible(struct semaphore *sem) in __down_interruptible()
249 static noinline int __sched __down_killable(struct semaphore *sem) in __down_killable()
254 static noinline int __sched __down_timeout(struct semaphore *sem, long timeout) in __down_timeout()
259 static noinline void __sched __up(struct semaphore *sem) in __up()