Lines Matching defs:instance
317 uint_t instance;
322 instance = ddi_get_instance(dip);
332 instance, cmd);
344 instance, "portid", portid);
348 if (ddi_soft_state_zalloc(sghsc_state, instance) != DDI_SUCCESS)
351 sghsc = (sghsc_t *)ddi_get_soft_state(sghsc_state, instance);
354 sghsc->sghsc_instance = instance;
368 instance, sghsc->sghsc_node_id, sghsc->sghsc_board);
373 instance, sghsc->sghsc_node_id, sghsc->sghsc_board,
388 " / board %d", instance, sghsc->sghsc_num_slots,
397 instance, sghsc->sghsc_node_id, sghsc->sghsc_board, board_type));
406 instance, sghsc->sghsc_node_id, sghsc->sghsc_board));
413 " node %d / board %d", instance, sghsc->sghsc_node_id,
441 " for node %d", instance, sghsc->sghsc_node_id);
460 * Grossly bump up the instance counter. We may have holes inside.
476 instance, sghsc->sghsc_node_id));
479 ddi_soft_state_free(sghsc_state, instance);
491 int instance;
494 instance = ddi_get_instance(dip);
495 sghsc = (sghsc_t *)ddi_get_soft_state(sghsc_state, instance);
525 ddi_soft_state_free(sghsc_state, instance);
530 if (instance == (sghsc_maxinst - 1))
1444 int instance;
1447 for (instance = 0; instance < sghsc_maxinst; instance++) {
1448 sghsc = (sghsc_t *)ddi_get_soft_state(sghsc_state, instance);
1459 "node %d / board %d", instance, node_id, board);
1700 int instance;
1703 for (instance = 0; instance < sghsc_maxinst; instance++) {
1704 sghsc = (sghsc_t *)ddi_get_soft_state(sghsc_state, instance);
1712 "slot data corruption", instance);