Searched refs:nhooks (Results 1 – 6 of 6) sorted by relevance
68 int nhooks; in ng_hub_rcvdata() local70 if ((nhooks = NG_NODE_NUMHOOKS(node)) == 1) { in ng_hub_rcvdata()77 if (--nhooks == 1) in ng_hub_rcvdata()
214 int nhooks; member932 if (sc->nhooks > 0) { in musycc_config()933 ksprintf(ret, "Cannot change line when %d hooks open\n", sc->nhooks); in musycc_config()1082 sc->nhooks++; in musycc_newhook()1358 sc->nhooks--; in musycc_disconnect()
246 int nhooks; member308 if (sc->nhooks > 0) { in ngmn_config()309 ksprintf(ret, "Cannot change line when %d hooks open\n", sc->nhooks); in ngmn_config()478 sc->nhooks++; in ngmn_newhook()795 sc->nhooks--; in ngmn_disconnect()
495 do_pass(struct pass_hook *hooks, int nhooks) in do_pass() argument502 for (i = 0; i < nhooks; ++i) { in do_pass()520 for (i = 0; i < nhooks; ++i) { in do_pass()530 for (i = 0; i < nhooks; ++i) { in do_pass()
1346 const int nhooks = here->numhooks; in ng_generic_msg() local1358 + (nhooks * sizeof(struct linkinfo)), M_NOWAIT); in ng_generic_msg()1377 if (ni->hooks >= nhooks) { in ng_generic_msg()
2223 const int nhooks = here->nd_numhooks; in ng_generic_msg() local2230 + (nhooks * sizeof(struct linkinfo)), M_WAITOK | M_NULLOK); in ng_generic_msg()2249 if (ni->hooks >= nhooks) { in ng_generic_msg()