Searched refs:rl_mtx (Results 1 - 3 of 3) sorted by relevance

/freebsd-12-stable/sys/dev/rl/
H A Dif_rlreg.h895 struct mtx rl_mtx; member in struct:rl_softc
939 #define RL_LOCK(_sc) mtx_lock(&(_sc)->rl_mtx)
940 #define RL_UNLOCK(_sc) mtx_unlock(&(_sc)->rl_mtx)
941 #define RL_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->rl_mtx, MA_OWNED)
H A Dif_rl.c662 mtx_init(&sc->rl_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
664 callout_init_mtx(&sc->rl_stat_callout, &sc->rl_mtx, 0);
877 KASSERT(mtx_initialized(&sc->rl_mtx), ("rl mutex not initialized"));
911 mtx_destroy(&sc->rl_mtx);
/freebsd-12-stable/sys/dev/re/
H A Dif_re.c1229 mtx_init(&sc->rl_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
1231 callout_init_mtx(&sc->rl_stat_callout, &sc->rl_mtx, 0);
1775 KASSERT(mtx_initialized(&sc->rl_mtx), ("re mutex not initialized"));
1916 mtx_destroy(&sc->rl_mtx);

Completed in 186 milliseconds