Searched refs:sc_lock (Results 26 - 40 of 40) sorted by relevance
12
/freebsd-9.3-release/sys/dev/xen/netfront/ |
H A D | netfront.c | 258 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 D | esp_pci.c | 288 busdma_lock_mutex, &sc->sc_lock, &esc->sc_xferdmat);
|
H A D | ncr53c9x.c | 248 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 D | g_mirror.h | 185 struct sx sc_lock; member in struct:g_mirror_softc
|
/freebsd-9.3-release/sys/geom/raid/ |
H A D | g_raid.h | 323 struct sx sc_lock; /* Main node lock. */ member in struct:g_raid_softc
|
H A D | md_jmicron.c | 931 sx_xlock(&sc->sc_lock); 952 sx_xunlock(&sc->sc_lock);
|
H A D | md_nvidia.c | 927 sx_xlock(&sc->sc_lock); 946 sx_xunlock(&sc->sc_lock);
|
H A D | md_sii.c | 1020 sx_xlock(&sc->sc_lock); 1039 sx_xunlock(&sc->sc_lock);
|
H A D | md_intel.c | 1485 sx_xlock(&sc->sc_lock); 1508 sx_xunlock(&sc->sc_lock);
|
H A D | md_promise.c | 1184 sx_xlock(&sc->sc_lock); 1199 sx_xunlock(&sc->sc_lock);
|
H A D | md_ddf.c | 2173 sx_xlock(&sc->sc_lock); 2186 sx_xunlock(&sc->sc_lock);
|
/freebsd-9.3-release/sys/geom/raid3/ |
H A D | g_raid3.h | 207 struct sx sc_lock; member in struct:g_raid3_softc
|
/freebsd-9.3-release/sys/sparc64/sbus/ |
H A D | lsi64854.c | 143 lockfuncarg = &nsc->sc_lock;
|
/freebsd-9.3-release/sys/dev/hme/ |
H A D | if_hme.c | 218 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 D | t4_main.c | 575 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