Home
last modified time | relevance | path

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

/freebsd/sys/dev/ste/
H A Dif_stereg.h590 struct mtx ste_mtx; member
593 #define STE_LOCK(_sc) mtx_lock(&(_sc)->ste_mtx)
594 #define STE_UNLOCK(_sc) mtx_unlock(&(_sc)->ste_mtx)
595 #define STE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->ste_mtx, MA_OWNED)
H A Dif_ste.c923 mtx_init(&sc->ste_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in ste_attach()
971 callout_init_mtx(&sc->ste_callout, &sc->ste_mtx, 0); in ste_attach()
1061 KASSERT(mtx_initialized(&sc->ste_mtx), ("ste mutex not initialized")); in ste_detach()
1093 mtx_destroy(&sc->ste_mtx); in ste_detach()