Lines Matching refs:wait_lock
271 struct mtx *lock = &xfer->fc->wait_lock; in fw_xferwake()
284 struct mtx *lock = &xfer->fc->wait_lock; in fw_xferwait()
443 mtx_init(&fc->wait_lock, "fwwait", NULL, MTX_DEF); in firewire_attach()
517 mtx_lock(&fc->wait_lock); in firewire_detach()
520 if (msleep(fc->probe_thread, &fc->wait_lock, PWAIT, "fwthr", hz * 60)) in firewire_detach()
522 mtx_unlock(&fc->wait_lock); in firewire_detach()
548 mtx_destroy(&fc->wait_lock); in firewire_detach()
1745 mtx_lock(&fc->wait_lock); in fw_bus_probe_thread()
1748 mtx_unlock(&fc->wait_lock); in fw_bus_probe_thread()
1754 mtx_lock(&fc->wait_lock); in fw_bus_probe_thread()
1756 msleep((void *)fc, &fc->wait_lock, PWAIT|PCATCH, "-", 0); in fw_bus_probe_thread()
1758 mtx_unlock(&fc->wait_lock); in fw_bus_probe_thread()