Searched refs:NR_LDISCS (Results 1 – 2 of 2) sorted by relevance
45 static struct tty_ldisc_ops *tty_ldiscs[NR_LDISCS];65 if (disc < N_TTY || disc >= NR_LDISCS) in tty_register_ldisc()95 if (disc < N_TTY || disc >= NR_LDISCS) in tty_unregister_ldisc()156 if (disc < N_TTY || disc >= NR_LDISCS) in tty_ldisc_get()199 return (*pos < NR_LDISCS) ? pos : NULL; in tty_ldiscs_seq_start()205 return (*pos < NR_LDISCS) ? pos : NULL; in tty_ldiscs_seq_next()
8 #define NR_LDISCS 30 macro