Lines Matching refs:dp
191 ipmi_device_t *dp;
194 if ((dp = lookup_ipmidev_by_dev(dev)) == NULL)
203 if (req->ir_owner == dp) {
210 dp->ipmi_status |= IPMI_CLOSING;
211 while (dp->ipmi_status & IPMI_BUSY)
212 cv_wait(&dp->ipmi_cv, &sc->ipmi_lock);
216 while ((req = TAILQ_FIRST(&dp->ipmi_completed_requests)) != NULL) {
217 TAILQ_REMOVE(&dp->ipmi_completed_requests, req, ir_link);
222 list_remove(&dev_list, dp);
225 cv_destroy(&dp->ipmi_cv);
226 kmem_free(dp->ipmi_pollhead, sizeof (pollhead_t));
227 kmem_free(dp, sizeof (ipmi_device_t));