Searched refs:NR_LDISCS (Results 1 – 2 of 2) 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()96 if (disc < N_TTY || disc >= NR_LDISCS) in tty_unregister_ldisc()164 if (disc < N_TTY || disc >= NR_LDISCS) in tty_ldisc_get()206 return (*pos < NR_LDISCS) ? pos : NULL; in tty_ldiscs_seq_start()212 return (*pos < NR_LDISCS) ? pos : NULL; in tty_ldiscs_seq_next()
9 #define NR_LDISCS 30 macro