Lines Matching defs:dcd_state
177 static void *dcd_state;
281 if ((un = ddi_get_soft_state(dcd_state, instance)) == NULL) \
366 if ((e = ddi_soft_state_init(&dcd_state, sizeof (struct dcd_disk),
374 ddi_soft_state_fini(&dcd_state);
389 ddi_soft_state_fini(&dcd_state);
423 if (ddi_get_soft_state(dcd_state, instance) != NULL)
493 if (!(un = ddi_get_soft_state(dcd_state, instance)))
540 ddi_get_soft_state(dcd_state, instance))) {
658 ddi_soft_state_free(dcd_state, instance);
675 if (!(un = ddi_get_soft_state(dcd_state, instance)))
744 if (!(un = ddi_get_soft_state(dcd_state, instance)))
820 if (!(un = ddi_get_soft_state(dcd_state, instance)) ||
936 if (ddi_soft_state_zalloc(dcd_state, instance) != DDI_SUCCESS) {
941 un = ddi_get_soft_state(dcd_state, instance);
1614 if ((un = ddi_get_soft_state(dcd_state, instance)) == NULL)
1641 if ((un = ddi_get_soft_state(dcd_state, ddi_get_instance(dip))) == NULL)
1668 un = ddi_get_soft_state(dcd_state, instance);
1788 if ((un = ddi_get_soft_state(dcd_state,
2420 un = ddi_get_soft_state(dcd_state, DCDUNIT(bp->b_edev));
3500 struct dcd_disk *un = ddi_get_soft_state(dcd_state,
4479 un = ddi_get_soft_state(dcd_state, ddi_get_instance(devi));
4671 un = ddi_get_soft_state(dcd_state, ddi_get_instance(devi));