Lines Matching defs:sem
49 static inline void sema_init(struct semaphore *sem, int val) in sema_init()
65 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX()
70 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED()
83 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
94 static inline void __down(struct semaphore *sem) in __down()
101 static inline int __down_interruptible(struct semaphore *sem) in __down_interruptible()
116 static inline int __down_trylock(struct semaphore * sem) in __down_trylock()
164 static inline void __up(struct semaphore *sem) in __up()
211 extern inline void down(struct semaphore *sem) in down()
215 extern inline int down_interruptible(struct semaphore *sem) in down_interruptible()
219 extern inline int down_trylock(struct semaphore *sem) in down_trylock()
223 extern inline void up(struct semaphore *sem) in up()