/titanic_41/usr/src/uts/sun/io/dada/conf/ |
H A D | dcd_confsubr.c | 166 if (ident_pkt->pkt_reason == CMD_INCOMPLETE) { in dcd_hba_probe() 181 printf("Pkt reason %x, scsbp %x\n", ident_pkt->pkt_reason, in dcd_hba_probe() 187 if ((ident_pkt->pkt_reason == CMD_CMPLT) && in dcd_hba_probe() 196 if (ident_pkt->pkt_reason == CMD_INCOMPLETE) in dcd_hba_probe() 252 } else if (pkt->pkt_reason == CMD_INCOMPLETE && in dcd_test() 255 } else if (pkt->pkt_reason != CMD_CMPLT) { in dcd_test()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_isr.c | 237 sp->pkt->pkt_reason = in ql_isr_aif() 824 sp->pkt->pkt_reason = CS_COMPLETE; in ql_async_event() 1773 sp->pkt->pkt_reason = CS_BAD_PAYLOAD; in ql_error_entry() 1775 sp->pkt->pkt_reason = CS_QUEUE_FULL; in ql_error_entry() 1778 sp->pkt->pkt_reason = CS_UNKNOWN; in ql_error_entry() 1910 sp->pkt->pkt_reason = comp_status; in ql_status_entry() 2024 sp->pkt->pkt_reason = comp_status; in ql_24xx_status_entry() 2310 sp->pkt->pkt_reason = sts.comp_status; in ql_status_error() 2464 sp->pkt->pkt_reason = CS_COMPLETE; in ql_status_error() 2470 sp->pkt->pkt_reason = CS_FCP_RESPONSE_ERROR; in ql_status_error() [all …]
|
/titanic_41/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_transport.c | 278 scsi_pktp->pkt_reason = 0; in cpqary3_init_pkt() 1061 scsi_pktp->pkt_reason = CMD_TIMEOUT; in cpqary3_handle_flag_nointr() 1134 scsi_pktp->pkt_reason = CMD_CMPLT; in cpqary3_additional_cmd() 1215 scsi_pktp->pkt_reason = CMD_CMPLT; in cpqary3_oscmd_complete() 1242 scsi_pktp->pkt_reason = CMD_DATA_OVR; in cpqary3_oscmd_complete() 1249 scsi_pktp->pkt_reason = CMD_BADMSG; in cpqary3_oscmd_complete() 1255 scsi_pktp->pkt_reason = CMD_BADMSG; in cpqary3_oscmd_complete() 1262 scsi_pktp->pkt_reason = CMD_INCOMPLETE; in cpqary3_oscmd_complete() 1268 scsi_pktp->pkt_reason = CMD_ABORTED; in cpqary3_oscmd_complete() 1278 scsi_pktp->pkt_reason = CMD_TIMEOUT; in cpqary3_oscmd_complete() [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_hba.c | 402 pkt->pkt_reason = CMD_CMPLT; in smrt_fake_report_lun() 495 pkt->pkt_reason = CMD_CMPLT; in smrt_tran_start() 593 pkt->pkt_reason = CMD_CMPLT; in smrt_tran_start() 1005 if (pkt->pkt_reason != CMD_CMPLT) { in smrt_hba_complete() 1010 pkt->pkt_reason = CMD_RESET; in smrt_hba_complete() 1068 pkt->pkt_reason = CMD_DATA_OVR; in smrt_hba_complete() 1077 pkt->pkt_reason = CMD_BADMSG; in smrt_hba_complete() 1086 pkt->pkt_reason = CMD_BADMSG; in smrt_hba_complete() 1095 pkt->pkt_reason = CMD_INCOMPLETE; in smrt_hba_complete() 1104 pkt->pkt_reason = CMD_INCOMPLETE; in smrt_hba_complete() [all …]
|
/titanic_41/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | usb_ms_cbi.c | 238 pkt_reason = CMD_TRAN_ERR; in scsa2usb_cbi_transport() 282 (scsa2usbp->scsa2usb_cur_pkt->pkt_reason == CMD_CMPLT) && in scsa2usb_cbi_transport() 316 pkt->pkt_reason = CMD_TRAN_ERR; in scsa2usb_cbi_handle_error() 322 pkt->pkt_reason = CMD_TIMEOUT; in scsa2usb_cbi_handle_error() 329 pkt->pkt_reason = CMD_DEV_GONE; in scsa2usb_cbi_handle_error() 336 pkt->pkt_reason = CMD_TRAN_ERR; in scsa2usb_cbi_handle_error()
|
H A D | usb_ms_bulkonly.c | 270 pkt_reason = CMD_TRAN_ERR; in scsa2usb_bulk_only_transport() 319 (scsa2usbp->scsa2usb_cur_pkt->pkt_reason == CMD_CMPLT) && in scsa2usb_bulk_only_transport() 476 pkt->pkt_reason = CMD_TRAN_ERR; in scsa2usb_bulk_only_handle_error() 481 pkt->pkt_reason = CMD_TIMEOUT; in scsa2usb_bulk_only_handle_error() 487 pkt->pkt_reason = CMD_DEV_GONE; in scsa2usb_bulk_only_handle_error() 494 pkt->pkt_reason = CMD_TRAN_ERR; in scsa2usb_bulk_only_handle_error()
|
/titanic_41/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | atapi.c | 992 spktp->pkt_reason = 0; in atapi_tran_start() 1007 spktp->pkt_reason = CMD_TRAN_ERR; in atapi_tran_start() 1063 spktp->pkt_reason = CMD_TRAN_ERR; in atapi_complete() 1065 spktp->pkt_reason = CMD_RESET; in atapi_complete() 1068 spktp->pkt_reason = CMD_RESET; in atapi_complete() 1071 spktp->pkt_reason = CMD_ABORTED; in atapi_complete() 1074 spktp->pkt_reason = CMD_TIMEOUT; in atapi_complete() 1077 spktp->pkt_reason = CMD_CMPLT; in atapi_complete() 1089 spktp->pkt_reason = CMD_TRAN_ERR; in atapi_complete() 1107 "sts_chk = %d\n", spktp->pkt_reason, spktp->pkt_statistics, in atapi_complete()
|
/titanic_41/usr/src/uts/sun/io/scsi/adapters/ |
H A D | fas_callbacks.c | 146 if (sp->cmd_pkt->pkt_reason != CMD_CMPLT) { in fas_call_pkt_comp() 150 scsi_rname(sp->cmd_pkt->pkt_reason), in fas_call_pkt_comp() 189 (void *)sp, sp->cmd_pkt->pkt_reason); in fas_call_pkt_comp()
|
H A D | sf.c | 1471 cmd->cmd_pkt->pkt_reason = 0; in sf_scsi_init_pkt() 2535 pkt->pkt_reason = CMD_RESET; in sf_statec_callback() 2573 pkt->pkt_reason = CMD_RESET; in sf_statec_callback() 4618 pkt->pkt_reason = CMD_ABORTED; in sf_abort() 4640 pkt->pkt_reason = CMD_ABORTED; in sf_abort() 5048 pkt->pkt_reason = CMD_ABORTED; in sf_abort_all() 5051 pkt->pkt_reason = CMD_RESET; in sf_abort_all() 5105 pkt->pkt_reason = CMD_ABORTED; in sf_abort_all() 5109 pkt->pkt_reason = CMD_RESET; in sf_abort_all() 5274 cmd->cmd_pkt->pkt_reason = CMD_CMPLT; in sf_prepare_pkt() [all …]
|
/titanic_41/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | sbp2_driver.c | 763 pkt->pkt_reason = CMD_ABORTED; in scsa1394_sbp2_status_proc() 767 pkt->pkt_reason = CMD_RESET; in scsa1394_sbp2_status_proc() 772 pkt->pkt_reason = CMD_RESET; in scsa1394_sbp2_status_proc() 781 pkt->pkt_reason = CMD_TRAN_ERR; in scsa1394_sbp2_status_proc() 793 pkt->pkt_reason = CMD_ABORTED; in scsa1394_sbp2_status_proc() 802 pkt->pkt_reason = CMD_CMPLT; in scsa1394_sbp2_status_proc() 807 pkt->pkt_reason = CMD_TRAN_ERR; in scsa1394_sbp2_status_proc() 812 pkt->pkt_reason = CMD_TRAN_ERR; in scsa1394_sbp2_status_proc() 818 pkt->pkt_reason = CMD_TRAN_ERR; in scsa1394_sbp2_status_proc() 822 if (pkt->pkt_reason == CMD_TRAN_ERR) { in scsa1394_sbp2_status_proc() [all …]
|
H A D | hba.c | 1097 if (pkt->pkt_reason == CMD_INCOMPLETE) { in scsa1394_probe_g0_nodata() 1099 } else if ((pkt->pkt_reason == CMD_TRAN_ERR) && in scsa1394_probe_g0_nodata() 1120 } else if ((pkt->pkt_reason == CMD_INCOMPLETE) && in scsa1394_probe_tran() 1123 } else if (pkt->pkt_reason != CMD_CMPLT) { in scsa1394_probe_tran() 2016 pkt->pkt_reason = CMD_CMPLT; in scsa1394_prepare_pkt() 2276 pkt->pkt_reason = CMD_CMPLT; in scsa1394_cmd_fake_mode_sense() 2299 pkt->pkt_reason = CMD_CMPLT; in scsa1394_cmd_fake_inquiry() 2328 pkt->pkt_reason = CMD_DEV_GONE; in scsa1394_cmd_fake_comp() 2392 ASSERT(pkt->pkt_reason == CMD_CMPLT); in scsa1394_cmd_fake_comp() 2477 if ((pkt->pkt_reason == CMD_CMPLT) && in scsa1394_cmd_status_proc() [all …]
|
/titanic_41/usr/src/uts/sun/io/dada/impl/ |
H A D | dcd_subr.c | 101 if (pkt->pkt_reason == CMD_INCOMPLETE && pkt->pkt_state == 0) { in dcd_poll() 103 } else if (pkt->pkt_reason != CMD_CMPLT) { in dcd_poll()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei.c | 877 xch->xch_fpkt->pkt_reason); in fcoei_handle_comp_xch_list() 926 xch->xch_fpkt->pkt_reason = FC_REASON_ABORTED; in fcoei_xch_check() 933 xch->xch_fpkt->pkt_reason = FC_REASON_OFFLINE; in fcoei_xch_check() 1080 uint8_t pkt_state, uint8_t pkt_reason) in fcoei_complete_xch() argument 1093 xch, frm, pkt_state, pkt_reason); in fcoei_complete_xch() 1123 xch->xch_fpkt->pkt_reason = pkt_reason; in fcoei_complete_xch()
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/ |
H A D | tpgs.c | 315 switch (pkt->pkt_reason) { in std_path_activate() 350 pkt->pkt_reason, retry_cmd_cnt)); in std_path_activate() 357 "(pkt reason %x)", pkt->pkt_reason); in std_path_activate()
|
H A D | asym_sun.c | 300 switch (pkt->pkt_reason) { in purple_path_activate() 407 pkt->pkt_reason, retry_cmd_cnt)); in purple_path_activate() 414 "(pkt reason %x)", pkt->pkt_reason); in purple_path_activate()
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_scsa.c | 523 pkt->pkt_reason = CMD_INCOMPLETE; in pmcs_scsa_start() 613 pkt->pkt_reason = CMD_DEV_GONE; in pmcs_scsa_start() 734 pkt->pkt_reason = CMD_ABORTED; in pmcs_scsa_abort() 1905 CMD2PKT(sp)->pkt_reason = CMD_CMPLT; in pmcs_SAS_run() 2119 pkt->pkt_reason = CMD_TRAN_ERR; in pmcs_SAS_done() 2141 pkt->pkt_reason = CMD_TRAN_ERR; in pmcs_SAS_done() 2193 pkt->pkt_reason = CMD_TRAN_ERR; in pmcs_SAS_done() 2206 __func__, (void *)pkt, xp->target_num, pkt->pkt_reason, in pmcs_SAS_done() 2652 ASSERT(CMD2PKT(sp)->pkt_reason == CMD_TIMEOUT); in pmcs_SATA_done() 2710 __func__, (void *)pkt, xp->target_num, pkt->pkt_reason, in pmcs_SATA_done() [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 1471 tpkt->pkt_reason = pkt->pkt_reason; in vhci_scsi_start() 1996 vpkt->vpkt_tgt_pkt->pkt_reason = 0; in vhci_scsi_init_pkt() 2614 if ((new_pkt->pkt_reason == CMD_CMPLT) && in vhci_do_prout() 2700 tpkt->pkt_reason = CMD_TRAN_ERR; in vhci_run_cmd() 2715 tpkt->pkt_reason = CMD_TRAN_ERR; in vhci_run_cmd() 2756 tpkt->pkt_reason = CMD_TRAN_ERR; in vhci_run_cmd() 3137 vpkt->vpkt_tgt_pkt->pkt_reason = CMD_ABORTED; in vhci_do_prin() 3187 tpkt->pkt_reason = pkt->pkt_reason; in vhci_intr() 3208 (pkt->pkt_reason != CMD_CMPLT)) { in vhci_intr() 3212 if (pkt->pkt_reason != CMD_CMPLT || in vhci_intr() [all …]
|
/titanic_41/usr/src/uts/sun/sys/dada/ |
H A D | dada_pkt.h | 64 uint_t pkt_reason; /* reason or error stat */ member
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | emul64var.h | 179 if ((sp) && CMD2PKT(sp)->pkt_reason == CMD_CMPLT) \ 180 CMD2PKT(sp)->pkt_reason = (reason); \
|
/titanic_41/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 2431 "reason %x and Status %x\n", pkt->pkt_reason, SCBP_C(pkt)); in dcdintr() 2436 if ((pkt->pkt_reason == CMD_CMPLT) && (SCBP_C(pkt) == 0)) { in dcdintr() 2481 } else if (pkt->pkt_reason != CMD_CMPLT) { in dcdintr() 2502 if ((un->un_last_pkt_reason != pkt->pkt_reason) && in dcdintr() 2503 ((pkt->pkt_reason != CMD_CMPLT) || in dcdintr() 2505 un->un_last_pkt_reason = pkt->pkt_reason; in dcdintr() 2549 pkt->pkt_reason = 0; in dcdintr() 2687 switch (pkt->pkt_reason) { in dcd_handle_incomplete() 2719 if ((pkt->pkt_reason != CMD_RESET) && in dcd_handle_incomplete() 2720 (pkt->pkt_reason != CMD_ABORTED)) { in dcd_handle_incomplete() [all …]
|
/titanic_41/usr/src/uts/intel/io/amr/ |
H A D | amr.c | 759 pkt->pkt_reason = CMD_TIMEOUT; in amr_periodic() 1537 pkt->pkt_reason = CMD_CMPLT; in amr_tran_start() 1596 pkt->pkt_reason = CMD_CMPLT; in amr_tran_start() 1620 pkt->pkt_reason = CMD_CMPLT; in amr_tran_start() 1638 pkt->pkt_reason = CMD_CMPLT; in amr_tran_start() 1663 pkt->pkt_reason = CMD_CMPLT; in amr_tran_start() 1675 pkt->pkt_reason = CMD_INCOMPLETE; in amr_tran_start() 1874 pkt->pkt_reason = 0; in amr_tran_init_pkt() 2290 pkt->pkt_reason = CMD_CMPLT; in amr_call_pkt_comp() 2294 pkt->pkt_reason = CMD_INCOMPLETE; in amr_call_pkt_comp()
|
/titanic_41/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 2283 pkt->pkt_reason = 0; in sata_scsi_init_pkt() 2516 pkt->pkt_reason = CMD_DEV_GONE; in sata_scsi_start() 3208 spx->txlt_scsi_pkt->pkt_reason = CMD_TRAN_ERR; in sata_txlt_generic_pkt_info() 3229 spx->txlt_scsi_pkt->pkt_reason = CMD_INCOMPLETE; in sata_txlt_generic_pkt_info() 3241 spx->txlt_scsi_pkt->pkt_reason = CMD_DEV_GONE; in sata_txlt_generic_pkt_info() 3309 spx->txlt_scsi_pkt->pkt_reason = CMD_INCOMPLETE; in sata_txlt_generic_pkt_info() 3339 spx->txlt_scsi_pkt->pkt_reason = CMD_CMPLT; in sata_txlt_generic_pkt_info() 3463 scsipkt->pkt_reason = CMD_CMPLT; in sata_txlt_invalid_command() 3474 "Scsi_pkt completion reason %x\n", scsipkt->pkt_reason); in sata_txlt_invalid_command() 3510 scsipkt->pkt_reason = CMD_CMPLT; in sata_txlt_check_condition() [all …]
|
/titanic_41/usr/src/uts/common/sys/scsi/ |
H A D | scsi_pkt.h | 61 uchar_t pkt_reason; /* reason completion called */ member
|
/titanic_41/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_subr.c | 133 *pkt->pkt_scbp = pkt->pkt_reason = pkt->pkt_state = 0; in scsi_poll() 148 if ((pkt->pkt_reason == CMD_CMPLT) && in scsi_poll() 158 if ((pkt->pkt_reason == CMD_CMPLT) && in scsi_poll() 164 } else if (pkt->pkt_reason == CMD_DEV_GONE) { in scsi_poll() 168 } else if ((pkt->pkt_reason == CMD_INCOMPLETE) && in scsi_poll() 173 } else if ((pkt->pkt_reason == CMD_CMPLT) && in scsi_poll() 178 } else if ((pkt->pkt_reason == CMD_CMPLT) && in scsi_poll()
|
/titanic_41/usr/src/uts/common/io/mega_sas/ |
H A D | megaraid_sas.c | 1201 pkt->pkt_reason = 0; in megasas_tran_init_pkt() 1256 pkt->pkt_reason = CMD_CMPLT; in megasas_tran_start() 1270 pkt->pkt_reason = CMD_CMPLT; in megasas_tran_start() 1301 pkt->pkt_reason = CMD_CMPLT; in megasas_tran_start() 1312 pkt->pkt_reason = CMD_CMPLT; in megasas_tran_start() 1319 pkt->pkt_reason = CMD_DEV_GONE; in megasas_tran_start() 2784 pkt->pkt_reason = CMD_CMPLT; in megasas_softintr() 2834 pkt->pkt_reason = CMD_TRAN_ERR; in megasas_softintr() 2840 pkt->pkt_reason = CMD_CMPLT; in megasas_softintr() 2872 pkt->pkt_reason = CMD_DEV_GONE; in megasas_softintr() [all …]
|