Lines Matching defs:dip
138 * On a successful hold, store the dip in a ring buffer
145 * attach success: if (dip held on write side) associate queue with dip
146 * attach failure: if (dip held on write side) release hold on dip
230 dev_info_t *dip;
260 * ddi_assoc_queue_with_devi() will hold dip,
263 * dip is NULL means we didn't hold dip on read side.
267 dip = dsp->dr_dip[dsp->dr_nlast];
271 if (dip) {
272 ddi_assoc_queue_with_devi(q, dip);
273 ddi_release_devi(dip);
291 dip = dsp->dr_dip[dsp->dr_nlast];
296 * Release dip on attach failure
298 if (dip) {
299 ddi_release_devi(dip);
311 * Detect dl attach, hold the dip to prevent it from detaching
318 dev_info_t *dip;
348 dip = NULL;
351 dip = ddi_hold_devi_by_instance(dsp->dr_major,
356 dsp->dr_dip[dsp->dr_nfirst] = dip;