Lines Matching defs:instance
677 xdf_kstat_create(dev_info_t *dip, char *ks_module, int instance)
684 ks_module, instance, NULL, "disk",
2383 int instance;
2386 instance = ddi_get_instance(dip);
2388 if ((vdp = ddi_get_soft_state(xdf_ssp, instance)) == NULL)
3146 int instance = XDF_INST(getminor((dev_t)arg));
3151 if ((vbdp = ddi_get_soft_state(xdf_ssp, instance)) == NULL) {
3159 *rp = (void *)(uintptr_t)instance;
3218 int n, instance = ddi_get_instance(dip);
3271 if (ddi_soft_state_zalloc(xdf_ssp, instance) != DDI_SUCCESS)
3275 vdp = ddi_get_soft_state(xdf_ssp, instance);
3369 if (xdf_kstat_create(dip, "xdf", instance) != 0) {
3399 ddi_soft_state_free(xdf_ssp, instance);
3409 int instance = ddi_get_instance(dip);
3412 if ((vdp = ddi_get_soft_state(xdf_ssp, instance)) == NULL)
3441 int instance;
3458 instance = ddi_get_instance(dip);
3460 vdp = ddi_get_soft_state(xdf_ssp, instance);
3504 ddi_soft_state_free(xdf_ssp, instance);