Searched refs:NR_LDISCS (Results 1 - 2 of 2) sorted by relevance

/linux-master/include/uapi/linux/
H A Dtty.h44 #define NR_LDISCS 31 macro
/linux-master/drivers/tty/
H A Dtty_ldisc.c47 static struct tty_ldisc_ops *tty_ldiscs[NR_LDISCS];
62 if (new_ldisc->num < N_TTY || new_ldisc->num >= NR_LDISCS)
131 * * -%EINVAL if the discipline index is not [%N_TTY .. %NR_LDISCS] or if the
144 if (disc < N_TTY || disc >= NR_LDISCS)
189 return (*pos < NR_LDISCS) ? pos : NULL;
195 return (*pos < NR_LDISCS) ? pos : NULL;

Completed in 172 milliseconds