Lines Matching defs:sem

57 void __init_ldsem(struct ld_semaphore *sem, const char *name,  in __init_ldsem()
74 static void __ldsem_wake_readers(struct ld_semaphore *sem) in __ldsem_wake_readers()
104 static inline int writer_trylock(struct ld_semaphore *sem) in writer_trylock()
119 static void __ldsem_wake_writer(struct ld_semaphore *sem) in __ldsem_wake_writer()
135 static void __ldsem_wake(struct ld_semaphore *sem) in __ldsem_wake()
143 static void ldsem_wake(struct ld_semaphore *sem) in ldsem_wake()
156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) in down_read_failed()
230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) in down_write_failed()
295 static int __ldsem_down_read_nested(struct ld_semaphore *sem, in __ldsem_down_read_nested()
314 static int __ldsem_down_write_nested(struct ld_semaphore *sem, in __ldsem_down_write_nested()
337 int __sched ldsem_down_read(struct ld_semaphore *sem, long timeout) in ldsem_down_read()
346 int ldsem_down_read_trylock(struct ld_semaphore *sem) in ldsem_down_read_trylock()
363 int __sched ldsem_down_write(struct ld_semaphore *sem, long timeout) in ldsem_down_write()
372 int ldsem_down_write_trylock(struct ld_semaphore *sem) in ldsem_down_write_trylock()
389 void ldsem_up_read(struct ld_semaphore *sem) in ldsem_up_read()
403 void ldsem_up_write(struct ld_semaphore *sem) in ldsem_up_write()
417 int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) in ldsem_down_read_nested()
423 int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, in ldsem_down_write_nested()