Searched refs:ld_semaphore (Results 1 – 3 of 3) sorted by relevance
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()155 static struct ld_semaphore __sched *229 static struct ld_semaphore __sched *346 int ldsem_down_read_trylock(struct ld_semaphore *sem) in ldsem_down_read_trylock()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()[all …]
138 struct ld_semaphore { struct149 void __init_ldsem(struct ld_semaphore *sem, const char *name, argument160 int ldsem_down_read(struct ld_semaphore *sem, long timeout);161 int ldsem_down_read_trylock(struct ld_semaphore *sem);162 int ldsem_down_write(struct ld_semaphore *sem, long timeout);163 int ldsem_down_write_trylock(struct ld_semaphore *sem);164 void ldsem_up_read(struct ld_semaphore *sem);165 void ldsem_up_write(struct ld_semaphore *sem);168 int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass,170 int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,
152 struct ld_semaphore ldisc_sem;
Completed in 11 milliseconds