Lines Matching refs:wait_lock
269 struct mtx *lock = &xfer->fc->wait_lock; in fw_xferwake()
282 struct mtx *lock = &xfer->fc->wait_lock; in fw_xferwait()
441 mtx_init(&fc->wait_lock, "fwwait", NULL, MTX_DEF); in firewire_attach()
515 mtx_lock(&fc->wait_lock); in firewire_detach()
518 if (msleep(fc->probe_thread, &fc->wait_lock, PWAIT, "fwthr", hz * 60)) in firewire_detach()
520 mtx_unlock(&fc->wait_lock); in firewire_detach()
546 mtx_destroy(&fc->wait_lock); in firewire_detach()
1743 mtx_lock(&fc->wait_lock); in fw_bus_probe_thread()
1746 mtx_unlock(&fc->wait_lock); in fw_bus_probe_thread()
1752 mtx_lock(&fc->wait_lock); in fw_bus_probe_thread()
1754 msleep((void *)fc, &fc->wait_lock, PWAIT|PCATCH, "-", 0); in fw_bus_probe_thread()
1756 mtx_unlock(&fc->wait_lock); in fw_bus_probe_thread()