Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_sim.c50 struct scsi_extended_sense *sensep = rqbuf; in check_invalid_code() local
52 sensep->es_key = KEY_ILLEGAL_REQUEST; in check_invalid_code()
53 sensep->es_add_len = 6; in check_invalid_code()
54 sensep->es_code = CODE_FMT_FIXED_CURRENT; in check_invalid_code()
55 sensep->es_add_code = ASC_INVALID_OPCODE; in check_invalid_code()
56 sensep->es_qual_code = ASCQ_INVALID_OPCODE; in check_invalid_code()
/titanic_44/usr/src/uts/common/sys/scsi/impl/
H A Dservices.h70 uint8_t *sensep, struct scsi_asq_key_strings *asc_list,
76 struct scsi_extended_sense *sensep,
82 struct scsi_extended_sense *sensep);
/titanic_44/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c89 uint8_t *sensep; in scsi_poll() local
153 sensep = (uint8_t *)&arqstat->sts_sensedata; in scsi_poll()
155 sensep = NULL; in scsi_poll()
184 } else if ((sensep != NULL) && in scsi_poll()
185 (scsi_sense_key(sensep) == KEY_NOT_READY) && in scsi_poll()
186 (scsi_sense_asc(sensep) == 0x04) && in scsi_poll()
187 (scsi_sense_ascq(sensep) == 0x01)) { in scsi_poll()
1097 uint8_t *sensep, struct scsi_asq_key_strings *asc_list, in scsi_generic_errmsg() argument
1171 if (sensep) { in scsi_generic_errmsg()
1172 sense_key = scsi_sense_key(sensep); in scsi_generic_errmsg()
[all …]
H A Dscsi_watch.c988 result.sensep = rqsensep; in scsi_watch_request_intr()
H A Dscsi_hba.c5532 uint8_t *sensep; in scsi_hba_pkt_comp() local
5590 sensep = (uint8_t *)&(((struct scsi_arq_status *)(uintptr_t) in scsi_hba_pkt_comp()
5592 if (((scsi_sense_key(sensep) == KEY_UNIT_ATTENTION) && in scsi_hba_pkt_comp()
5593 (scsi_sense_asc(sensep) == 0x3f) && in scsi_hba_pkt_comp()
5594 (scsi_sense_ascq(sensep) == 0x0e)) || in scsi_hba_pkt_comp()
5596 ((scsi_sense_key(sensep) == KEY_UNIT_ATTENTION) && in scsi_hba_pkt_comp()
5597 (scsi_sense_asc(sensep) == 0x25) && in scsi_hba_pkt_comp()
5598 (scsi_sense_ascq(sensep) == 0x00))) { in scsi_hba_pkt_comp()
/titanic_44/usr/src/uts/common/io/scsi/targets/
H A Dst.c9384 struct scsi_extended_sense *sensep = resultp->sensep; in st_media_watch_cb() local
9400 *((char *)statusp), (void *)sensep, in st_media_watch_cb()
9410 if (sensep) { in st_media_watch_cb()
9413 sensep->es_key, sensep->es_add_code, sensep->es_qual_code); in st_media_watch_cb()
9432 switch (sensep->es_key) { in st_media_watch_cb()
9437 if (sensep->es_add_code == 0x28) { in st_media_watch_cb()
9443 if ((sensep->es_add_code == 0x04) && in st_media_watch_cb()
9444 (sensep->es_qual_code == 0x00)) { in st_media_watch_cb()
9454 switch (sensep->es_key) { in st_media_watch_cb()
9457 if ((sensep->es_add_code == 0x5a) && in st_media_watch_cb()
[all …]
H A Dsd.c5211 uint8_t *sensep; in sd_get_physical_geometry() local
5214 sensep = (uint8_t *)ssc->ssc_uscsi_cmd->uscsi_rqbuf; in sd_get_physical_geometry()
5219 scsi_sense_key(sensep) == KEY_ILLEGAL_REQUEST) { in sd_get_physical_geometry()
9638 uint8_t *sensep; in sd_get_write_cache_enabled() local
9641 sensep = (uint8_t *)ssc->ssc_uscsi_cmd->uscsi_rqbuf; in sd_get_write_cache_enabled()
9646 scsi_sense_key(sensep) == KEY_ILLEGAL_REQUEST) { in sd_get_write_cache_enabled()
12147 uchar_t *sensep; local
12164 sensep = (uint8_t *)ucmdp->uscsi_rqbuf;
12173 sensep = NULL;
12176 scsi_cmds, sensep, ssc->ssc_un->un_additional_codes, NULL);
[all …]
/titanic_44/usr/src/uts/common/sys/scsi/
H A Dscsi_watch.h35 struct scsi_extended_sense *sensep; member
/titanic_44/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c731 uint8_t *sensep; in scsi_test_ereport_post() local
735 sensep = (uint8_t *)&arqstat->sts_sensedata; in scsi_test_ereport_post()
736 key = scsi_sense_key(sensep); in scsi_test_ereport_post()
737 asc = scsi_sense_asc(sensep); in scsi_test_ereport_post()
738 ascq = scsi_sense_ascq(sensep); in scsi_test_ereport_post()
747 sensep, sizeof (arqstat->sts_sensedata)); in scsi_test_ereport_post()
/titanic_44/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c5548 struct scsi_extended_sense *sensep = in sf_cmd_callback() local
5555 if (sensep->es_key == in sf_cmd_callback()
5558 if (sensep->es_key == in sf_cmd_callback()
5560 sensep->es_add_code == 0x3f && in sf_cmd_callback()
5561 sensep->es_qual_code == 0x0e) { in sf_cmd_callback()
/titanic_44/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c3659 uint8_t *sensep = (uint8_t *)resultp->sensep; in vhci_efo_watch_cb() local
3697 rval = vlun->svl_fops->sfo_analyze_sense(svp->svp_psd, sensep, in vhci_efo_watch_cb()