Home
last modified time | relevance | path

Searched refs:sg_state (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dsgen.c102 #define SGEN_DO_ERRSTATS(sg_state, x) \ argument
103 if (sg_state->sgen_kstats) { \
105 sp = (struct sgen_errstats *)sg_state->sgen_kstats->ks_data; \
572 sgen_state_t *sg_state; in sgen_do_attach() local
604 sg_state = ddi_get_soft_state(sgen_soft_state, instance); in sgen_do_attach()
605 sg_state->sgen_scsidev = scsidevp; in sgen_do_attach()
618 sg_state->sgen_diag = ddi_getprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, in sgen_do_attach()
621 if (sg_state->sgen_diag != -1) { in sgen_do_attach()
622 if (sg_state->sgen_diag < 0 || sg_state->sgen_diag > 3) in sgen_do_attach()
623 sg_state->sgen_diag = 0; in sgen_do_attach()
[all …]