Home
last modified time | relevance | path

Searched refs:discipline (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.61.12/bsd/kern/
H A Dtty_conf.c128 ldisc_register(int discipline, struct linesw *linesw_p) in ldisc_register() argument
132 if (discipline == LDISC_LOAD) { in ldisc_register()
139 } else if (discipline >= 0 && discipline < MAXLDISC) { in ldisc_register()
140 slot = discipline; in ldisc_register()
157 ldisc_deregister(int discipline) in ldisc_deregister() argument
159 if (discipline >= LOADABLE_LDISC && discipline < MAXLDISC) { in ldisc_deregister()
160 linesw[discipline] = nodisc; in ldisc_deregister()
/xnu-12377.61.12/bsd/net/classq/
H A Dclassq_subr.c539 ifclassq_attach(struct ifclassq *ifq, u_int32_t type, void *discipline) in ifclassq_attach() argument
544 ifq->ifcq_disc = discipline; in ifclassq_attach()