Home
last modified time | relevance | path

Searched refs:ld_semaphore (Results 1 – 2 of 2) sorted by relevance

/include/linux/
Dtty_ldisc.h133 struct ld_semaphore { struct
144 extern void __init_ldsem(struct ld_semaphore *sem, const char *name, argument
155 extern int ldsem_down_read(struct ld_semaphore *sem, long timeout);
156 extern int ldsem_down_read_trylock(struct ld_semaphore *sem);
157 extern int ldsem_down_write(struct ld_semaphore *sem, long timeout);
158 extern int ldsem_down_write_trylock(struct ld_semaphore *sem);
159 extern void ldsem_up_read(struct ld_semaphore *sem);
160 extern void ldsem_up_write(struct ld_semaphore *sem);
163 extern int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass,
165 extern int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,
Dtty.h292 struct ld_semaphore ldisc_sem;