Lines Matching refs:wait_lock
284 struct mtx *lock = &xfer->fc->wait_lock; in fw_xferwake()
297 struct mtx *lock = &xfer->fc->wait_lock; in fw_xferwait()
458 mtx_init(&fc->wait_lock, "fwwait", NULL, MTX_DEF); in firewire_attach()
532 mtx_lock(&fc->wait_lock); in firewire_detach()
535 if (msleep(fc->probe_thread, &fc->wait_lock, PWAIT, "fwthr", hz * 60)) in firewire_detach()
537 mtx_unlock(&fc->wait_lock); in firewire_detach()
563 mtx_destroy(&fc->wait_lock); in firewire_detach()
1788 mtx_lock(&fc->wait_lock); in fw_bus_probe_thread()
1791 mtx_unlock(&fc->wait_lock); in fw_bus_probe_thread()
1797 mtx_lock(&fc->wait_lock); in fw_bus_probe_thread()
1799 msleep((void *)fc, &fc->wait_lock, PWAIT|PCATCH, "-", 0); in fw_bus_probe_thread()
1801 mtx_unlock(&fc->wait_lock); in fw_bus_probe_thread()