Lines Matching defs:instance

384 	 * has worked  -- if this works, then we know that each instance
617 int instance;
625 instance = ddi_get_instance(dip);
646 if (ddi_soft_state_zalloc(vhci_softstate, instance) != DDI_SUCCESS) {
652 if ((vhci = ddi_get_soft_state(vhci_softstate, instance)) == NULL) {
655 ddi_soft_state_free(vhci_softstate, instance);
661 "vhci%d_cache", instance);
674 vhci->vhci_instance = instance;
712 * Attach this instance with the mpxio framework
723 * Attach this instance of the hba.
742 INST2DEVCTL(instance), DDI_NT_SCSI_NEXUS, 0) != DDI_SUCCESS) {
811 ddi_soft_state_free(vhci_softstate, instance);
820 int instance = ddi_get_instance(dip);
871 ddi_soft_state_free(vhci_softstate, instance);
880 * instance number.
889 int instance = MINOR2INST(getminor((dev_t)arg));
893 vhcip = ddi_get_soft_state(vhci_softstate, instance);
903 *result = (void *)(uintptr_t)instance;
959 "!tgt_init: called for %s (instance %d)\n",
1124 int instance, held;
1244 instance = ddi_get_instance(vhci->vhci_dip);
1268 "lbp %x", instance, rval, (void *)vlun,
1339 "reserved instance %d, new instance: %d, pip: 0x%p",
2305 * specific instance.
4952 * We need instance numbers to create a kstat name, return if we don't
4953 * have instance numbers assigned yet.
4963 * <client-driver><instance>.t<pid>.<pHCI-driver><instance>
4992 * the same <pid>. NOTE: a client with an instance
5407 int instance, held;
5436 instance = ddi_get_instance(vdip);
5503 "!vhci%d: ioctl %x (unsupported ioctl)", instance, cmd);
5511 VHCI_DEBUG(6, (CE_WARN, vdip, "!vhci%d: ioctl <%s>", instance, s));
7187 * At this point the client has attached and it's instance number is