Home
last modified time | relevance | path

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

/Linux-v5.4/fs/proc/
Dproc_tty.c78 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 0); in show_tty_driver()
81 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 1); in show_tty_driver()
85 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 2); in show_tty_driver()
/Linux-v5.4/include/uapi/linux/
Dmajor.h19 #define TTYAUX_MAJOR 5 macro
/Linux-v5.4/drivers/tty/
Dtty_io.c1805 if (device != MKDEV(TTYAUX_MAJOR, 0)) in tty_open_current_tty()
1851 case MKDEV(TTYAUX_MAJOR, 1): { in tty_lookup_driver()
2077 device == MKDEV(TTYAUX_MAJOR, 1) || in tty_open()
3404 if (dev->devt == MKDEV(TTYAUX_MAJOR, 0) || in tty_devnode()
3405 dev->devt == MKDEV(TTYAUX_MAJOR, 2)) in tty_devnode()
3486 if (cdev_add(&tty_cdev, MKDEV(TTYAUX_MAJOR, 0), 1) || in tty_init()
3487 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 0), 1, "/dev/tty") < 0) in tty_init()
3489 device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 0), NULL, "tty"); in tty_init()
3492 if (cdev_add(&console_cdev, MKDEV(TTYAUX_MAJOR, 1), 1) || in tty_init()
3493 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 1), 1, "/dev/console") < 0) in tty_init()
[all …]
Dpty.c952 if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) || in unix98_pty_init()
953 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0) in unix98_pty_init()
955 device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx"); in unix98_pty_init()
/Linux-v5.4/drivers/char/
Dttyprintk.c188 ttyprintk_driver->major = TTYAUX_MAJOR; in ttyprintk_init()
/Linux-v5.4/fs/devpts/
Dinode.c362 init_special_inode(inode, mode, MKDEV(TTYAUX_MAJOR, 2)); in mknod_ptmx()