ld_semaphore 246 include/linux/tty.h struct ld_semaphore ldisc_sem; ld_semaphore 148 include/linux/tty_ldisc.h extern void __init_ldsem(struct ld_semaphore *sem, const char *name, ld_semaphore 159 include/linux/tty_ldisc.h extern int ldsem_down_read(struct ld_semaphore *sem, long timeout); ld_semaphore 160 include/linux/tty_ldisc.h extern int ldsem_down_read_trylock(struct ld_semaphore *sem); ld_semaphore 161 include/linux/tty_ldisc.h extern int ldsem_down_write(struct ld_semaphore *sem, long timeout); ld_semaphore 162 include/linux/tty_ldisc.h extern int ldsem_down_write_trylock(struct ld_semaphore *sem); ld_semaphore 163 include/linux/tty_ldisc.h extern void ldsem_up_read(struct ld_semaphore *sem); ld_semaphore 164 include/linux/tty_ldisc.h extern void ldsem_up_write(struct ld_semaphore *sem); ld_semaphore 167 include/linux/tty_ldisc.h extern int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, ld_semaphore 169 include/linux/tty_ldisc.h extern int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,