Home
last modified time | relevance | path

Searched refs:ifq_mtx (Results 1 – 8 of 8) sorted by relevance

/f-stack/freebsd/net/
H A Difq.h62 struct mtx ifq_mtx; member
72 #define IF_LOCK(ifq) mtx_lock(&(ifq)->ifq_mtx)
73 #define IF_UNLOCK(ifq) mtx_unlock(&(ifq)->ifq_mtx)
74 #define IF_LOCK_ASSERT(ifq) mtx_assert(&(ifq)->ifq_mtx, MA_OWNED)
H A Dif_spppsubr.c1031 if(!mtx_initialized(&sp->pp_cpq.ifq_mtx)) in sppp_attach()
1032 mtx_init(&sp->pp_cpq.ifq_mtx, "sppp_cpq", NULL, MTX_DEF); in sppp_attach()
1033 if(!mtx_initialized(&sp->pp_fastq.ifq_mtx)) in sppp_attach()
1034 mtx_init(&sp->pp_fastq.ifq_mtx, "sppp_fastq", NULL, MTX_DEF); in sppp_attach()
1071 mtx_destroy(&sp->pp_cpq.ifq_mtx); in sppp_detach()
1072 mtx_destroy(&sp->pp_fastq.ifq_mtx); in sppp_detach()
H A Dif.c759 mtx_init(&ifq->ifq_mtx, ifp->if_xname, "if send queue", MTX_DEF); in ifq_init()
774 mtx_destroy(&ifq->ifq_mtx); in ifq_delete()
/f-stack/freebsd/netgraph/
H A Dng_device.c177 mtx_init(&priv->readq.ifq_mtx, "ng_device queue", NULL, MTX_DEF); in ng_device_constructor()
189 mtx_destroy(&priv->readq.ifq_mtx); in ng_device_constructor()
308 mtx_destroy(&(priv)->readq.ifq_mtx); in ng_device_disconnect()
H A Dng_tty.c164 mtx_init(&sc->outq.ifq_mtx, "ng_tty node+queue", NULL, MTX_DEF); in ngt_constructor()
237 mtx_destroy(&(sc)->outq.ifq_mtx); in ngt_shutdown()
/f-stack/freebsd/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c177 mtx_init(&sc->outq.ifq_mtx, "ng_h4 node+queue", NULL, MTX_DEF); in ng_h4_open()
190 mtx_destroy(&sc->outq.ifq_mtx); in ng_h4_open()
207 mtx_destroy(&sc->outq.ifq_mtx); in ng_h4_open()
768 mtx_destroy(&sc->outq.ifq_mtx);
/f-stack/freebsd/net/altq/
H A Dif_altq.h47 struct mtx ifq_mtx; member
/f-stack/freebsd/mips/cavium/octe/
H A Docte.c185 mtx_init(&priv->tx_free_queue[qos].ifq_mtx, ifp->if_xname, "octe tx free queue", MTX_DEF); in octe_attach()