Searched refs:NR_LDISCS (Results 1 – 2 of 2) sorted by relevance
48 static struct tty_ldisc_ops *tty_ldiscs[NR_LDISCS];68 if (disc < N_TTY || disc >= NR_LDISCS) in tty_register_ldisc()98 if (disc < N_TTY || disc >= NR_LDISCS) in tty_unregister_ldisc()159 if (disc < N_TTY || disc >= NR_LDISCS) in tty_ldisc_get()202 return (*pos < NR_LDISCS) ? pos : NULL; in tty_ldiscs_seq_start()208 return (*pos < NR_LDISCS) ? pos : NULL; in tty_ldiscs_seq_next()
8 #define NR_LDISCS 30 macro