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

/freebsd-10.2-release/sys/pci/
H A Dif_rlreg.h894 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.c659 mtx_init(&sc->rl_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
661 callout_init_mtx(&sc->rl_stat_callout, &sc->rl_mtx, 0);
874 KASSERT(mtx_initialized(&sc->rl_mtx), ("rl mutex not initialized"));
908 mtx_destroy(&sc->rl_mtx);
/freebsd-10.2-release/sys/dev/re/
H A Dif_re.c1217 mtx_init(&sc->rl_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
1219 callout_init_mtx(&sc->rl_stat_callout, &sc->rl_mtx, 0);
1755 KASSERT(mtx_initialized(&sc->rl_mtx), ("re mutex not initialized"));
1896 mtx_destroy(&sc->rl_mtx);

Completed in 38 milliseconds