Lines Matching refs:instance
488 int instance;
494 instance = ddi_get_instance(dip);
497 err = ddi_soft_state_zalloc(sgenv_statep, instance);
500 "structure for inst %d.", instance);
504 softsp = ddi_get_soft_state(sgenv_statep, instance);
506 ddi_soft_state_free(sgenv_statep, instance);
508 "structure for inst %d.", instance);
513 softsp->instance = instance;
524 ddi_soft_state_free(sgenv_statep, instance);
544 ddi_soft_state_free(sgenv_statep, instance);
549 instance, DDI_PSEUDO, NULL);
553 ddi_soft_state_free(sgenv_statep, instance);
567 ddi_soft_state_free(sgenv_statep, instance);
589 int instance;
595 instance = ddi_get_instance(dip);
597 softsp = ddi_get_soft_state(sgenv_statep, instance);
600 "structure for inst %d.", instance);
620 ddi_soft_state_free(sgenv_statep, instance);
641 int inst = softsp->instance;