Lines Matching refs:discipline
118 * ldisc_register: Register a line discipline.
120 * discipline: Index for discipline to load, or LDISC_LOAD for us to choose.
126 ldisc_register(int discipline, struct linesw *linesw_p)
130 if (discipline == LDISC_LOAD) {
137 else if (discipline >= 0 && discipline < MAXLDISC) {
138 slot = discipline;
148 * ldisc_deregister: Deregister a line discipline obtained with
151 * discipline: Index for discipline to unload.
154 ldisc_deregister(int discipline)
156 if (discipline >= LOADABLE_LDISC && discipline < MAXLDISC) {
157 linesw[discipline] = nodisc;
163 * discipline specific ioctl command.