Lines Matching refs:dm2s_t
121 void dm2s_start(queue_t *wq, dm2s_t *dm2sp);
124 void dm2s_receive(dm2s_t *dm2sp);
129 static void dm2s_cleanup(dm2s_t *dm2sp);
130 static int dm2s_mbox_init(dm2s_t *dm2sp);
131 static void dm2s_mbox_fini(dm2s_t *dm2sp);
206 if (ddi_soft_state_init(&dm2s_softstate, sizeof (dm2s_t), 1) != 0) {
248 dm2s_t *dm2sp;
267 dm2sp = (dm2s_t *)ddi_get_soft_state(dm2s_softstate, instance);
321 dm2s_t *dm2sp;
328 dm2sp = (dm2s_t *)ddi_get_soft_state(dm2s_softstate, minor);
356 dm2s_t *dm2sp;
363 dm2sp = (dm2s_t *)ddi_get_soft_state(dm2s_softstate, instance);
390 dm2s_t *dm2sp;
445 dm2s_t *dm2sp = (dm2s_t *)rq->q_ptr;
470 DTRACE_PROBE1(dm2s_rqtimeout__cancel, dm2s_t, dm2sp);
475 DTRACE_PROBE1(dm2s_wqtimeout__cancel, dm2s_t, dm2sp);
503 dm2s_t *dm2sp = (dm2s_t *)rq->q_ptr;
535 dm2s_t *dm2sp = (dm2s_t *)wq->q_ptr;
541 DTRACE_PROBE1(dm2s_wqtimeout__cancel, dm2s_t, dm2sp);
562 dm2s_t *dm2sp = (dm2s_t *)wq->q_ptr;
653 dm2s_cleanup(dm2s_t *dm2sp)
675 dm2s_mbox_init(dm2s_t *dm2sp)
776 dm2s_mbox_fini(dm2s_t *dm2sp)
800 dm2s_t *dm2sp = (dm2s_t *)arg;
874 DTRACE_PROBE1(dm2s_hangup, dm2s_t, dm2sp);
901 dm2s_start(queue_t *wq, dm2s_t *dm2sp)
924 dm2s_t, dm2sp);
939 DTRACE_PROBE1(dm2s_hangup, dm2s_t, dm2sp);
963 dm2s_receive(dm2s_t *dm2sp)
1003 dm2s_t, dm2sp);
1042 DTRACE_PROBE1(dm2s_hangup, dm2s_t, dm2sp);
1055 dm2s_t *dm2sp = (dm2s_t *)wq->q_ptr;
1078 DTRACE_PROBE2(dm2s_msg_too_big, dm2s_t, dm2sp, uint32_t, len);
1102 DTRACE_PROBE2(dm2s_retry_fail, dm2s_t, dm2sp, int, ret);
1107 DTRACE_PROBE2(dm2s_mb_busy, dm2s_t, dm2sp, int, ret);
1130 dm2s_t *dm2sp = (dm2s_t *)arg;
1150 dm2s_t *dm2sp = (dm2s_t *)arg;
1170 dm2s_t *dm2sp = (dm2s_t *)arg;