Lines Matching defs:instance
59 * formed by left-shifting instance by INST_MINOR_SHIFT and OR in a
762 int instance, i;
778 instance = ddi_get_instance(dip);
781 if (ddi_soft_state_zalloc(aac_softstatep, instance) != DDI_SUCCESS) {
785 softs = ddi_get_soft_state(aac_softstatep, instance);
788 softs->instance = instance;
892 INST2DEVCTL(instance), DDI_NT_SCSI_NEXUS, 0) != DDI_SUCCESS) {
898 if (ddi_create_minor_node(dip, "scsi", S_IFCHR, INST2SCSI(instance),
906 if (ddi_create_minor_node(dip, "aac", S_IFCHR, INST2AAC(instance),
965 ddi_soft_state_free(aac_softstatep, instance);
1542 * handle, for instance if a drive is pulled from an array
2787 * if there are they are probably left over from another instance of
6850 int instance;
6863 instance = MINOR2INST(minor0);
6864 if (instance >= AAC_MAX_ADAPTERS)
6867 softs = ddi_get_soft_state(aac_softstatep, instance);
6879 int instance;
6892 instance = MINOR2INST(minor0);
6893 if (instance >= AAC_MAX_ADAPTERS)
6905 int instance;
6918 instance = MINOR2INST(minor0);
6919 if (instance < AAC_MAX_ADAPTERS) {
6920 softs = ddi_get_soft_state(aac_softstatep, instance);
7519 softs->instance, tgt, lun);
7530 softs->instance, tgt, lun);
8048 softs->vendor_name, softs->instance,
8052 softs->vendor_name, softs->instance,