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

/freebsd-12-stable/sys/dev/sf/
H A Dif_sfreg.h1094 struct mtx sf_mtx; member in struct:sf_softc
1101 #define SF_LOCK(_sc) mtx_lock(&(_sc)->sf_mtx)
1102 #define SF_UNLOCK(_sc) mtx_unlock(&(_sc)->sf_mtx)
1103 #define SF_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sf_mtx, MA_OWNED)
H A Dif_sf.c751 mtx_init(&sc->sf_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
753 callout_init_mtx(&sc->sf_co, &sc->sf_mtx, 0);
782 mtx_destroy(&sc->sf_mtx);
978 mtx_destroy(&sc->sf_mtx);
/freebsd-12-stable/sys/kern/
H A Dsys_generic.c150 * f - protected by sf_mtx
156 struct mtx *sf_mtx; /* Pointer to selinfo mtx. */ member in struct:selfd
1639 mtx_lock(sfp->sf_mtx);
1644 mtx_unlock(sfp->sf_mtx);
1699 sfp->sf_mtx = mtxp;

Completed in 107 milliseconds