Lines Matching defs:instance
1076 int instance, i, j;
1197 instance = ddi_get_instance(dip);
1202 if (ddi_soft_state_zalloc(mptsas_state, instance) != DDI_SUCCESS) {
1204 "mptsas%d: cannot allocate soft state", instance);
1208 mpt = ddi_get_soft_state(mptsas_state, instance);
1212 "mptsas%d: cannot get soft state", instance);
1220 mpt->m_instance = instance;
1222 /* Make a per-instance copy of the structures */
1652 ddi_soft_state_free(mptsas_state, instance);
2092 * Remove device instance from the global linked list
2312 int instance = mpt->m_instance;
2318 (void) sprintf(buf, "mptsas%d_cache", instance);
2333 (void) sprintf(buf, "mptsas%d_cache_frames", instance);
3003 * tran_tgt_init(9E) - target device instance initialization
3173 * tran_tgt_free(9E) - target device instance deallocation
3245 * If the instance lock is held by other thread, don't spin to wait
3246 * for it. Instead, queue the cmd and next time when the instance lock
3253 * the tx_waitq. An IO requesting thread that finds the instance
3256 * proceeds to spin for the instance mutex. This scheme ensures that
3262 * per instance mutex m_tx_waitq_mutex is introduced to protect the
5305 * this mpt instance by ioctl.
6758 * Record the event if its type is enabled in mpt instance by ioctl.
8210 * the instance waitq, so this function should not be invoked in the ISR,
9347 * mpt instance for active reset delays
15370 int instance = 0;
15622 instance = ddi_get_instance(mpt->m_dip);
15626 "target %d", instance, target));