Searched refs:UNIX98_NR_MAJORS (Results 1 – 4 of 4) sorted by relevance
57 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 …]
1730 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()
30 #define unix98_max_ptys NR_PTYS * UNIX98_NR_MAJORS;37 unsigned int unix98_max_ptys = NR_PTYS * UNIX98_NR_MAJORS;
45 # define UNIX98_NR_MAJORS ((CONFIG_UNIX98_PTY_COUNT+NR_PTYS-1)/NR_PTYS) macro46 # if UNIX98_NR_MAJORS <= 048 # elif UNIX98_NR_MAJORS > UNIX98_PTY_MAJOR_COUNT50 # undef UNIX98_NR_MAJORS51 # define UNIX98_NR_MAJORS UNIX98_PTY_MAJOR_COUNT macro