|
XenevaOS
|
#include <linux/fs.h>#include <linux/spinlock.h>#include <linux/wait.h>#include <linux/atomic.h>#include <linux/list.h>#include <linux/seq_file.h>#include <linux/termios.h>#include <linux/rwsem.h>#include <linux/lockdep.h>

Go to the source code of this file.
Classes | |
| struct | ld_semaphore |
| struct | tty_ldisc_ops |
| struct | tty_ldisc |
Macros | |
| #define | init_ldsem(sem) |
| #define | ldsem_down_read_nested(sem, subclass, timeout) ldsem_down_read(sem, timeout) |
| #define | ldsem_down_write_nested(sem, subclass, timeout) ldsem_down_write(sem, timeout) |
| #define | MODULE_ALIAS_LDISC(ldisc) MODULE_ALIAS("tty-ldisc-" __stringify(ldisc)) |
Functions | |
| void | __init_ldsem (struct ld_semaphore *sem, const char *name, struct lock_class_key *key) |
| int | ldsem_down_read (struct ld_semaphore *sem, long timeout) |
| int | ldsem_down_read_trylock (struct ld_semaphore *sem) |
| void | ldsem_up_read (struct ld_semaphore *sem) |
| int | ldsem_down_write (struct ld_semaphore *sem, long timeout) |
| int | ldsem_down_write_trylock (struct ld_semaphore *sem) |
| void | ldsem_up_write (struct ld_semaphore *sem) |
| int | ldsem_down_read_failed (struct ld_semaphore *sem) |
| int | ldsem_down_write_failed (struct ld_semaphore *sem) |
| struct tty_ldisc * | tty_ldisc_ref (struct tty_struct *) |
| void | tty_ldisc_deref (struct tty_ldisc *) |
| struct tty_ldisc * | tty_ldisc_ref_wait (struct tty_struct *) |
| void | tty_ldisc_flush (struct tty_struct *tty) |
| int | tty_register_ldisc (const struct tty_ldisc_ops *new_ldisc) |
| void | tty_unregister_ldisc (const struct tty_ldisc_ops *ldisc) |
| int | tty_set_ldisc (struct tty_struct *tty, int disc) |
Variables | |
| const struct seq_operations | tty_ldiscs_seq_ops |
| #define init_ldsem | ( | sem | ) |
| #define ldsem_down_read_nested | ( | sem, | |
| subclass, | |||
| timeout | |||
| ) | ldsem_down_read(sem, timeout) |
| #define ldsem_down_write_nested | ( | sem, | |
| subclass, | |||
| timeout | |||
| ) | ldsem_down_write(sem, timeout) |
| #define MODULE_ALIAS_LDISC | ( | ldisc | ) | MODULE_ALIAS("tty-ldisc-" __stringify(ldisc)) |
| void __init_ldsem | ( | struct ld_semaphore * | sem, |
| const char * | name, | ||
| struct lock_class_key * | key | ||
| ) |
| int ldsem_down_read | ( | struct ld_semaphore * | sem, |
| long | timeout | ||
| ) |
| int ldsem_down_read_failed | ( | struct ld_semaphore * | sem | ) |
| int ldsem_down_read_trylock | ( | struct ld_semaphore * | sem | ) |
| int ldsem_down_write | ( | struct ld_semaphore * | sem, |
| long | timeout | ||
| ) |
| int ldsem_down_write_failed | ( | struct ld_semaphore * | sem | ) |
| int ldsem_down_write_trylock | ( | struct ld_semaphore * | sem | ) |
| void ldsem_up_read | ( | struct ld_semaphore * | sem | ) |
| void ldsem_up_write | ( | struct ld_semaphore * | sem | ) |
| void tty_ldisc_deref | ( | struct tty_ldisc * | ) |
| void tty_ldisc_flush | ( | struct tty_struct * | tty | ) |
| struct tty_ldisc * tty_ldisc_ref | ( | struct tty_struct * | ) |
| struct tty_ldisc * tty_ldisc_ref_wait | ( | struct tty_struct * | ) |
| int tty_register_ldisc | ( | const struct tty_ldisc_ops * | new_ldisc | ) |
| int tty_set_ldisc | ( | struct tty_struct * | tty, |
| int | disc | ||
| ) |
| void tty_unregister_ldisc | ( | const struct tty_ldisc_ops * | ldisc | ) |
|
extern |