Searched refs:discipline (Results 1 – 2 of 2) sorted by relevance
126 ldisc_register(int discipline, struct linesw *linesw_p) in ldisc_register() argument130 if (discipline == LDISC_LOAD) { in ldisc_register()137 } else if (discipline >= 0 && discipline < MAXLDISC) { in ldisc_register()138 slot = discipline; in ldisc_register()155 ldisc_deregister(int discipline) in ldisc_deregister() argument157 if (discipline >= LOADABLE_LDISC && discipline < MAXLDISC) { in ldisc_deregister()158 linesw[discipline] = nodisc; in ldisc_deregister()
472 ifclassq_attach(struct ifclassq *ifq, u_int32_t type, void *discipline) in ifclassq_attach() argument477 ifq->ifcq_disc = discipline; in ifclassq_attach()