Searched refs:NR_LDISCS (Results 1 – 4 of 4) sorted by relevance
46 static struct tty_ldisc_ops *tty_ldiscs[NR_LDISCS];66 if (disc < N_TTY || disc >= NR_LDISCS) in tty_register_ldisc()95 if (disc < N_TTY || disc >= NR_LDISCS) in tty_unregister_ldisc()165 if (disc < N_TTY || disc >= NR_LDISCS) in tty_ldisc_get()209 return (*pos < NR_LDISCS) ? pos : NULL; in tty_ldiscs_seq_start()215 return (*pos < NR_LDISCS) ? pos : NULL; in tty_ldiscs_seq_next()
9 #define NR_LDISCS 30 macro