Lines Matching refs:sc_lock
496 struct mtx sc_lock; member
657 mtx_lock(&xnb->sc_lock); in xnb_disconnect()
685 mtx_unlock(&xnb->sc_lock); in xnb_disconnect()
1056 mtx_unlock(&xnb->sc_lock); in xnb_shutdown()
1069 mtx_lock(&xnb->sc_lock); in xnb_shutdown()
1187 mtx_init(&xnb->sc_lock, "xnb_softc", "xen netback softc lock", MTX_DEF); in create_netdev()
1331 mtx_lock(&xnb->sc_lock); in xnb_detach()
1333 msleep(xnb, &xnb->sc_lock, /*wakeup prio unchanged*/0, in xnb_detach()
1336 mtx_unlock(&xnb->sc_lock); in xnb_detach()
1341 mtx_destroy(&xnb->sc_lock); in xnb_detach()
1400 mtx_lock(&xnb->sc_lock); in xnb_frontend_changed()
1402 mtx_unlock(&xnb->sc_lock); in xnb_frontend_changed()
2192 mtx_assert(&xnb->sc_lock, MA_OWNED); in xnb_stop()
2210 mtx_lock(&xnb->sc_lock); in xnb_ioctl()
2222 mtx_unlock(&xnb->sc_lock); in xnb_ioctl()
2226 mtx_lock(&xnb->sc_lock); in xnb_ioctl()
2240 mtx_unlock(&xnb->sc_lock); in xnb_ioctl()
2242 mtx_unlock(&xnb->sc_lock); in xnb_ioctl()
2250 mtx_lock(&xnb->sc_lock); in xnb_ioctl()
2288 mtx_unlock(&xnb->sc_lock); in xnb_ioctl()
2433 mtx_assert(&xnb->sc_lock, MA_OWNED); in xnb_ifinit_locked()
2450 mtx_lock(&xnb->sc_lock); in xnb_ifinit()
2452 mtx_unlock(&xnb->sc_lock); in xnb_ifinit()