Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/tty/
Dpty.c42 static struct tty_driver *ptm_driver; variable
72 if (tty->driver == ptm_driver) { in pty_close()
609 if (tty->driver != ptm_driver) in ptm_open_peer()
824 tty = tty_init_dev(ptm_driver, index); in ptmx_open()
849 retval = ptm_driver->ops->open(tty, filp); in ptmx_open()
875 ptm_driver = tty_alloc_driver(NR_UNIX98_PTY_MAX, in unix98_pty_init()
881 if (IS_ERR(ptm_driver)) in unix98_pty_init()
892 ptm_driver->driver_name = "pty_master"; in unix98_pty_init()
893 ptm_driver->name = "ptm"; in unix98_pty_init()
894 ptm_driver->major = UNIX98_PTY_MASTER_MAJOR; in unix98_pty_init()
[all …]