Home
last modified time | relevance | path

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

/linux-6.6.21/fs/proc/
Dproc_tty.c76 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 0); in show_tty_driver()
79 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 1); in show_tty_driver()
83 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 2); in show_tty_driver()
/linux-6.6.21/include/uapi/linux/
Dmajor.h19 #define TTYAUX_MAJOR 5 macro
/linux-6.6.21/drivers/tty/
Dtty_io.c1879 if (device != MKDEV(TTYAUX_MAJOR, 0)) in tty_open_current_tty()
1927 case MKDEV(TTYAUX_MAJOR, 1): { in tty_lookup_driver()
2172 device == MKDEV(TTYAUX_MAJOR, 1) || in tty_open()
3506 if (dev->devt == MKDEV(TTYAUX_MAJOR, 0) || in tty_devnode()
3507 dev->devt == MKDEV(TTYAUX_MAJOR, 2)) in tty_devnode()
3625 if (cdev_add(&tty_cdev, MKDEV(TTYAUX_MAJOR, 0), 1) || in tty_init()
3626 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 0), 1, "/dev/tty") < 0) in tty_init()
3628 device_create(&tty_class, NULL, MKDEV(TTYAUX_MAJOR, 0), NULL, "tty"); in tty_init()
3631 if (cdev_add(&console_cdev, MKDEV(TTYAUX_MAJOR, 1), 1) || in tty_init()
3632 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 1), 1, "/dev/console") < 0) in tty_init()
[all …]
Dpty.c931 if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) || in unix98_pty_init()
932 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0) in unix98_pty_init()
934 device_create(&tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx"); in unix98_pty_init()
/linux-6.6.21/drivers/char/
Dttyprintk.c196 ttyprintk_driver->major = TTYAUX_MAJOR; in ttyprintk_init()
/linux-6.6.21/fs/devpts/
Dinode.c344 init_special_inode(inode, mode, MKDEV(TTYAUX_MAJOR, 2)); in mknod_ptmx()