new_ldisc 61 drivers/tty/tty_ldisc.c int tty_register_ldisc(int disc, struct tty_ldisc_ops *new_ldisc) new_ldisc 70 drivers/tty/tty_ldisc.c tty_ldiscs[disc] = new_ldisc; new_ldisc 71 drivers/tty/tty_ldisc.c new_ldisc->num = disc; new_ldisc 72 drivers/tty/tty_ldisc.c new_ldisc->refcount = 0; new_ldisc 561 drivers/tty/tty_ldisc.c struct tty_ldisc *old_ldisc, *new_ldisc; new_ldisc 563 drivers/tty/tty_ldisc.c new_ldisc = tty_ldisc_get(tty, disc); new_ldisc 564 drivers/tty/tty_ldisc.c if (IS_ERR(new_ldisc)) new_ldisc 565 drivers/tty/tty_ldisc.c return PTR_ERR(new_ldisc); new_ldisc 593 drivers/tty/tty_ldisc.c tty->ldisc = new_ldisc; new_ldisc 596 drivers/tty/tty_ldisc.c retval = tty_ldisc_open(tty, new_ldisc); new_ldisc 599 drivers/tty/tty_ldisc.c tty_ldisc_put(new_ldisc); new_ldisc 614 drivers/tty/tty_ldisc.c new_ldisc = old_ldisc; new_ldisc 622 drivers/tty/tty_ldisc.c tty_ldisc_put(new_ldisc); /* drop the extra reference */ new_ldisc 710 include/linux/tty.h extern int tty_register_ldisc(int disc, struct tty_ldisc_ops *new_ldisc);