Home
last modified time | relevance | path

Searched refs:ipmi_requests_lock (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/ipmi/
H A Dipmivars.h130 struct mtx ipmi_requests_lock; member
204 #define IPMI_LOCK(sc) mtx_lock(&(sc)->ipmi_requests_lock)
205 #define IPMI_UNLOCK(sc) mtx_unlock(&(sc)->ipmi_requests_lock)
206 #define IPMI_LOCK_ASSERT(sc) mtx_assert(&(sc)->ipmi_requests_lock, MA_OWNED)
H A Dipmi.c236 msleep(&dev->ipmi_requests, &sc->ipmi_requests_lock, in ipmi_dtor()
589 cv_wait(&sc->ipmi_request_added, &sc->ipmi_requests_lock); in ipmi_dequeue_request()
843 mtx_init(&sc->ipmi_requests_lock, "ipmi requests", NULL, MTX_DEF); in ipmi_startup()
1032 msleep(sc->ipmi_kthread, &sc->ipmi_requests_lock, 0, in ipmi_detach()
1041 mtx_destroy(&sc->ipmi_requests_lock); in ipmi_detach()
H A Dipmi_ssif.c369 error = msleep(req, &sc->ipmi_requests_lock, 0, "ipmireq", 0); in ssif_driver_request()
H A Dipmi_kcs.c497 error = msleep(req, &sc->ipmi_requests_lock, 0, "ipmireq", 0); in kcs_driver_request_queue()