Searched refs:sc_lock (Results 26 - 40 of 40) sorted by relevance

12

/freebsd-9.3-release/sys/dev/xen/netfront/
H A Dnetfront.c258 struct mtx sc_lock; member in struct:netfront_info
300 mtx_init(&(_sc)->sc_lock, #_name"_sc", "netfront softc lock", MTX_DEF)
308 #define XN_LOCK(_sc) mtx_lock(&(_sc)->sc_lock);
309 #define XN_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_lock);
311 #define XN_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_lock, MA_OWNED);
316 mtx_destroy(&(_sc)->sc_lock);
/freebsd-9.3-release/sys/dev/esp/
H A Desp_pci.c288 busdma_lock_mutex, &sc->sc_lock, &esc->sc_xferdmat);
H A Dncr53c9x.c248 callout_init_mtx(&sc->sc_watchdog, &sc->sc_lock, 0);
342 device_get_unit(sc->sc_dev), &sc->sc_lock, 1, NCR_TAG_DEPTH, devq);
395 callout_init_mtx(&ecb->ch, &sc->sc_lock, 0);
1243 * Should only be called when state == NCR_IDLE and with sc_lock held.
/freebsd-9.3-release/sys/geom/mirror/
H A Dg_mirror.h185 struct sx sc_lock; member in struct:g_mirror_softc
/freebsd-9.3-release/sys/geom/raid/
H A Dg_raid.h323 struct sx sc_lock; /* Main node lock. */ member in struct:g_raid_softc
H A Dmd_jmicron.c931 sx_xlock(&sc->sc_lock);
952 sx_xunlock(&sc->sc_lock);
H A Dmd_nvidia.c927 sx_xlock(&sc->sc_lock);
946 sx_xunlock(&sc->sc_lock);
H A Dmd_sii.c1020 sx_xlock(&sc->sc_lock);
1039 sx_xunlock(&sc->sc_lock);
H A Dmd_intel.c1485 sx_xlock(&sc->sc_lock);
1508 sx_xunlock(&sc->sc_lock);
H A Dmd_promise.c1184 sx_xlock(&sc->sc_lock);
1199 sx_xunlock(&sc->sc_lock);
H A Dmd_ddf.c2173 sx_xlock(&sc->sc_lock);
2186 sx_xunlock(&sc->sc_lock);
/freebsd-9.3-release/sys/geom/raid3/
H A Dg_raid3.h207 struct sx sc_lock; member in struct:g_raid3_softc
/freebsd-9.3-release/sys/sparc64/sbus/
H A Dlsi64854.c143 lockfuncarg = &nsc->sc_lock;
/freebsd-9.3-release/sys/dev/hme/
H A Dif_hme.c218 callout_init_mtx(&sc->sc_tick_ch, &sc->sc_lock, 0);
242 1, size, 0, busdma_lock_mutex, &sc->sc_lock, &sc->sc_cdmatag);
/freebsd-9.3-release/sys/dev/cxgbe/
H A Dt4_main.c575 mtx_init(&sc->sc_lock, sc->lockname, 0, MTX_DEF);
926 if (mtx_initialized(&sc->sc_lock)) {
930 mtx_destroy(&sc->sc_lock);
1031 mtx_sleep(&sc->flags, &sc->sc_lock, 0, "t4detach", 0);
2884 if (mtx_sleep(&sc->flags, &sc->sc_lock, pri, wmesg, 0)) {
7673 * in - the only guarantee is that sc->sc_lock is a valid lock.

Completed in 405 milliseconds

12