Lines Matching refs:semaphore
2 * include/asm-s390/semaphore.h
7 * Derived from "include/asm-i386/semaphore.h"
19 struct semaphore {
33 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count)
38 static inline void sema_init (struct semaphore *sem, int val)
44 static inline void init_MUTEX (struct semaphore *sem)
49 static inline void init_MUTEX_LOCKED (struct semaphore *sem)
54 asmlinkage void __down(struct semaphore * sem);
55 asmlinkage int __down_interruptible(struct semaphore * sem);
56 asmlinkage int __down_trylock(struct semaphore * sem);
57 asmlinkage void __up(struct semaphore * sem);
59 static inline void down(struct semaphore * sem)
66 static inline int down_interruptible(struct semaphore * sem)
76 static inline int down_trylock(struct semaphore * sem)
102 static inline void up(struct semaphore * sem)