Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/kern/
H A Dtty_conf.c126 ldisc_register(int discipline, struct linesw *linesw_p) in ldisc_register() argument
130 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() argument
157 if (discipline >= LOADABLE_LDISC && discipline < MAXLDISC) { in ldisc_deregister()
158 linesw[discipline] = nodisc; in ldisc_deregister()
/xnu-8019.80.24/bsd/net/classq/
H A Dclassq_subr.c472 ifclassq_attach(struct ifclassq *ifq, u_int32_t type, void *discipline) in ifclassq_attach() argument
477 ifq->ifcq_disc = discipline; in ifclassq_attach()