Lines Matching refs:wait_lock
268 struct mtx *lock = &xfer->fc->wait_lock; in fw_xferwake()
281 struct mtx *lock = &xfer->fc->wait_lock; in fw_xferwait()
440 mtx_init(&fc->wait_lock, "fwwait", NULL, MTX_DEF); in firewire_attach()
514 mtx_lock(&fc->wait_lock); in firewire_detach()
517 if (msleep(fc->probe_thread, &fc->wait_lock, PWAIT, "fwthr", hz * 60)) in firewire_detach()
519 mtx_unlock(&fc->wait_lock); in firewire_detach()
545 mtx_destroy(&fc->wait_lock); in firewire_detach()
1742 mtx_lock(&fc->wait_lock); in fw_bus_probe_thread()
1745 mtx_unlock(&fc->wait_lock); in fw_bus_probe_thread()
1751 mtx_lock(&fc->wait_lock); in fw_bus_probe_thread()
1753 msleep((void *)fc, &fc->wait_lock, PWAIT|PCATCH, "-", 0); in fw_bus_probe_thread()
1755 mtx_unlock(&fc->wait_lock); in fw_bus_probe_thread()