Home
last modified time | relevance | path

Searched refs:sc_hook (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/usb/misc/
H A Dudbp.c122 hook_p sc_hook; /* pointer to the hook */ member
487 if ((sc->sc_hook == NULL) || in udbp_bulk_read_complete()
488 NG_HOOK_NOT_VALID(sc->sc_hook)) { in udbp_bulk_read_complete()
494 NG_SEND_DATA_ONLY(error, sc->sc_hook, m); in udbp_bulk_read_complete()
614 if (sc->sc_hook != NULL) { in ng_udbp_newhook()
617 sc->sc_hook = hook; in ng_udbp_newhook()
823 if (hook != sc->sc_hook) { in ng_udbp_disconnect()
842 sc->sc_hook = NULL; in ng_udbp_disconnect()
/freebsd/sys/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt.c1489 if ((hook = sc->sc_hook) != NULL) in ubt_fwd_mbuf_up()
1678 if (sc->sc_hook != NULL) { in ng_ubt_newhook()
1684 sc->sc_hook = hook; in ng_ubt_newhook()
1721 if (hook != sc->sc_hook) { in ng_ubt_disconnect()
1727 sc->sc_hook = NULL; in ng_ubt_disconnect()
1774 (sc->sc_hook != NULL) ? NG_UBT_HOOK : "", in ng_ubt_rcvmsg()
1928 if (hook != sc->sc_hook) { in ng_ubt_rcvdata()
H A Dng_ubt_var.h148 hook_p sc_hook; /* upstream hook */ member