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

/freebsd-13-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.c664 mtx_init(&sc->rl_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
666 callout_init_mtx(&sc->rl_stat_callout, &sc->rl_mtx, 0);
878 KASSERT(mtx_initialized(&sc->rl_mtx), ("rl mutex not initialized"));
912 mtx_destroy(&sc->rl_mtx);
/freebsd-13-stable/sys/dev/re/
H A Dif_re.c1230 mtx_init(&sc->rl_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
1232 callout_init_mtx(&sc->rl_stat_callout, &sc->rl_mtx, 0);
1776 KASSERT(mtx_initialized(&sc->rl_mtx), ("re mutex not initialized"));
1917 mtx_destroy(&sc->rl_mtx);

Completed in 30 milliseconds