ld_semaphore       57 drivers/tty/tty_ldsem.c void __init_ldsem(struct ld_semaphore *sem, const char *name,
ld_semaphore       74 drivers/tty/tty_ldsem.c static void __ldsem_wake_readers(struct ld_semaphore *sem)
ld_semaphore      104 drivers/tty/tty_ldsem.c static inline int writer_trylock(struct ld_semaphore *sem)
ld_semaphore      119 drivers/tty/tty_ldsem.c static void __ldsem_wake_writer(struct ld_semaphore *sem)
ld_semaphore      135 drivers/tty/tty_ldsem.c static void __ldsem_wake(struct ld_semaphore *sem)
ld_semaphore      143 drivers/tty/tty_ldsem.c static void ldsem_wake(struct ld_semaphore *sem)
ld_semaphore      155 drivers/tty/tty_ldsem.c static struct ld_semaphore __sched *
ld_semaphore      156 drivers/tty/tty_ldsem.c down_read_failed(struct ld_semaphore *sem, long count, long timeout)
ld_semaphore      229 drivers/tty/tty_ldsem.c static struct ld_semaphore __sched *
ld_semaphore      230 drivers/tty/tty_ldsem.c down_write_failed(struct ld_semaphore *sem, long count, long timeout)
ld_semaphore      295 drivers/tty/tty_ldsem.c static int __ldsem_down_read_nested(struct ld_semaphore *sem,
ld_semaphore      314 drivers/tty/tty_ldsem.c static int __ldsem_down_write_nested(struct ld_semaphore *sem,
ld_semaphore      337 drivers/tty/tty_ldsem.c int __sched ldsem_down_read(struct ld_semaphore *sem, long timeout)
ld_semaphore      346 drivers/tty/tty_ldsem.c int ldsem_down_read_trylock(struct ld_semaphore *sem)
ld_semaphore      363 drivers/tty/tty_ldsem.c int __sched ldsem_down_write(struct ld_semaphore *sem, long timeout)
ld_semaphore      372 drivers/tty/tty_ldsem.c int ldsem_down_write_trylock(struct ld_semaphore *sem)
ld_semaphore      389 drivers/tty/tty_ldsem.c void ldsem_up_read(struct ld_semaphore *sem)
ld_semaphore      403 drivers/tty/tty_ldsem.c void ldsem_up_write(struct ld_semaphore *sem)
ld_semaphore      417 drivers/tty/tty_ldsem.c int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout)
ld_semaphore      423 drivers/tty/tty_ldsem.c int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,
ld_semaphore      294 include/linux/tty.h 	struct ld_semaphore ldisc_sem;
ld_semaphore      144 include/linux/tty_ldisc.h extern void __init_ldsem(struct ld_semaphore *sem, const char *name,
ld_semaphore      155 include/linux/tty_ldisc.h extern int ldsem_down_read(struct ld_semaphore *sem, long timeout);
ld_semaphore      156 include/linux/tty_ldisc.h extern int ldsem_down_read_trylock(struct ld_semaphore *sem);
ld_semaphore      157 include/linux/tty_ldisc.h extern int ldsem_down_write(struct ld_semaphore *sem, long timeout);
ld_semaphore      158 include/linux/tty_ldisc.h extern int ldsem_down_write_trylock(struct ld_semaphore *sem);
ld_semaphore      159 include/linux/tty_ldisc.h extern void ldsem_up_read(struct ld_semaphore *sem);
ld_semaphore      160 include/linux/tty_ldisc.h extern void ldsem_up_write(struct ld_semaphore *sem);
ld_semaphore      163 include/linux/tty_ldisc.h extern int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass,
ld_semaphore      165 include/linux/tty_ldisc.h extern int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,