Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/char/
Dpty.c57 struct tty_driver ptm_driver[UNIX98_NR_MAJORS];
58 struct tty_driver pts_driver[UNIX98_NR_MAJORS];
60 static struct tty_struct *ptm_table[UNIX98_NR_MAJORS][NR_PTYS];
61 static struct termios *ptm_termios[UNIX98_NR_MAJORS][NR_PTYS];
62 static struct termios *ptm_termios_locked[UNIX98_NR_MAJORS][NR_PTYS];
63 static struct tty_struct *pts_table[UNIX98_NR_MAJORS][NR_PTYS];
64 static struct termios *pts_termios[UNIX98_NR_MAJORS][NR_PTYS];
65 static struct termios *pts_termios_locked[UNIX98_NR_MAJORS][NR_PTYS];
66 static struct pty_struct ptm_state[UNIX98_NR_MAJORS][NR_PTYS];
96 if ( major < UNIX98_NR_MAJORS ) { in pty_close()
[all …]
Dtty_io.c1730 for ( major = 0 ; major < UNIX98_NR_MAJORS ; major++ ) { in tty_open()
2509 (driver->major < UNIX98_PTY_SLAVE_MAJOR + UNIX98_NR_MAJORS) ) in tty_register_devfs()
/linux-2.4.37.9/include/linux/
Ddevpts_fs.h30 #define unix98_max_ptys NR_PTYS * UNIX98_NR_MAJORS;
37 unsigned int unix98_max_ptys = NR_PTYS * UNIX98_NR_MAJORS;
Dtty.h45 # define UNIX98_NR_MAJORS ((CONFIG_UNIX98_PTY_COUNT+NR_PTYS-1)/NR_PTYS) macro
46 # if UNIX98_NR_MAJORS <= 0
48 # elif UNIX98_NR_MAJORS > UNIX98_PTY_MAJOR_COUNT
50 # undef UNIX98_NR_MAJORS
51 # define UNIX98_NR_MAJORS UNIX98_PTY_MAJOR_COUNT macro