Lines Matching defs:instance
252 * template is copied for each vds instance and filled in with
399 * Soft state structure for a vds instance
424 struct vd *vd; /* vd instance task is for */
438 * Soft state structure for a virtual disk instance
5380 minor_t instance;
5397 instance = ddi_get_instance(dip);
5398 if ((vds = ddi_get_soft_state(vds_state, instance)) == NULL) {
5399 PR0("Could not get state for instance %u", instance);
5400 ddi_soft_state_free(vds_state, instance);
5425 ddi_soft_state_free(vds_state, instance);
6810 ldc_attr.instance = ddi_get_instance(vds->dip);
7376 minor_t instance = ddi_get_instance(dip);
7383 * notion of "instance", or unique identifier, for that node; OBP
7387 * "reg" property value to uniquely identify this device instance when
7398 /* Get the MD instance for later MDEG registration */
7402 if (ddi_soft_state_zalloc(vds_state, instance) != DDI_SUCCESS) {
7403 PRN("Could not allocate state for instance %u", instance);
7407 if ((vds = ddi_get_soft_state(vds_state, instance)) == NULL) {
7408 PRN("Could not get state for instance %u", instance);
7409 ddi_soft_state_free(vds_state, instance);
7451 PRN("failed to set \"%s\" property for instance %u",
7452 DDI_NO_AUTODETACH, instance);