Home
last modified time | relevance | path

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

/freebsd/sys/dev/vte/
H A Dif_vtevar.h145 struct mtx vte_mtx; member
154 #define VTE_LOCK(_sc) mtx_lock(&(_sc)->vte_mtx)
155 #define VTE_UNLOCK(_sc) mtx_unlock(&(_sc)->vte_mtx)
156 #define VTE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->vte_mtx, MA_OWNED)
H A Dif_vte.c383 mtx_init(&sc->vte_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in vte_attach()
385 callout_init_mtx(&sc->vte_tick_ch, &sc->vte_mtx, 0); in vte_attach()
401 mtx_destroy(&sc->vte_mtx); in vte_attach()
529 mtx_destroy(&sc->vte_mtx); in vte_detach()