/dports/sysutils/ddpt/ddpt-0.95/lib/ |
H A D | sg_io_linux.c | 30 int scsi_status = (masked_status << 1) & 0x7e; in sg_print_masked_status() local 32 sg_print_scsi_status(scsi_status); in sg_print_masked_status() 108 scsi_status &= 0x7e; /*sanity */ in sg_linux_sense_print() 111 if (0 != scsi_status) { in sg_linux_sense_print() 116 sg_print_scsi_status(scsi_status); in sg_linux_sense_print() 187 int scsi_status = (masked_status << 1) & 0x7e; in sg_chk_n_print() local 207 int scsi_status = (masked_status << 1) & 0x7e; in sg_err_category() local 219 scsi_status &= 0x7e; in sg_err_category_new() 220 if ((0 == scsi_status) && (0 == host_status) && in sg_err_category_new() 223 if ((SAM_STAT_CHECK_CONDITION == scsi_status) || in sg_err_category_new() [all …]
|
H A D | sg_pt_freebsd.c | 62 int scsi_status; member 394 ptp->scsi_status = ccb->csio.scsi_status; in do_scsi_pt() 398 if ((SAM_STAT_CHECK_CONDITION == ptp->scsi_status) || in do_scsi_pt() 399 (SAM_STAT_COMMAND_TERMINATED == ptp->scsi_status)) { in do_scsi_pt() 423 else if ((SAM_STAT_CHECK_CONDITION == ptp->scsi_status) || in get_scsi_pt_result_category() 424 (SAM_STAT_COMMAND_TERMINATED == ptp->scsi_status)) in get_scsi_pt_result_category() 426 else if (ptp->scsi_status) in get_scsi_pt_result_category() 445 return ptp->scsi_status; in get_scsi_pt_status_response()
|
H A D | sg_pt_win32.c | 77 int scsi_status; member 528 psp->scsi_status = psp->swb_d.spt.ScsiStatus; in do_scsi_pt_direct() 529 if ((SAM_STAT_CHECK_CONDITION == psp->scsi_status) || in do_scsi_pt_direct() 530 (SAM_STAT_COMMAND_TERMINATED == psp->scsi_status)) in do_scsi_pt_direct() 658 psp->scsi_status = psp->swb_i.spt.ScsiStatus; in do_scsi_pt_indirect() 659 if ((SAM_STAT_CHECK_CONDITION == psp->scsi_status) || in do_scsi_pt_indirect() 660 (SAM_STAT_COMMAND_TERMINATED == psp->scsi_status)) in do_scsi_pt_indirect() 694 else if ((SAM_STAT_CHECK_CONDITION == psp->scsi_status) || in get_scsi_pt_result_category() 695 (SAM_STAT_COMMAND_TERMINATED == psp->scsi_status)) in get_scsi_pt_result_category() 697 else if (psp->scsi_status) in get_scsi_pt_result_category() [all …]
|
/dports/sysutils/sg3_utils/sg3_utils-1.42/lib/ |
H A D | sg_io_linux.c | 49 int scsi_status = (masked_status << 1) & 0x7e; in sg_print_masked_status() local 51 sg_print_scsi_status(scsi_status); in sg_print_masked_status() 125 scsi_status &= 0x7e; /*sanity */ in sg_linux_sense_print() 128 if (0 != scsi_status) { in sg_linux_sense_print() 133 sg_print_scsi_status(scsi_status); in sg_linux_sense_print() 204 int scsi_status = (masked_status << 1) & 0x7e; in sg_chk_n_print() local 224 int scsi_status = (masked_status << 1) & 0x7e; in sg_err_category() local 236 scsi_status &= 0x7e; in sg_err_category_new() 237 if ((0 == scsi_status) && (0 == host_status) && in sg_err_category_new() 240 if ((SAM_STAT_CHECK_CONDITION == scsi_status) || in sg_err_category_new() [all …]
|
H A D | sg_pt_freebsd.c | 63 int scsi_status; member 415 ptp->scsi_status = ccb->csio.scsi_status; in do_scsi_pt() 419 if ((SAM_STAT_CHECK_CONDITION == ptp->scsi_status) || in do_scsi_pt() 420 (SAM_STAT_COMMAND_TERMINATED == ptp->scsi_status)) { in do_scsi_pt() 444 else if ((SAM_STAT_CHECK_CONDITION == ptp->scsi_status) || in get_scsi_pt_result_category() 445 (SAM_STAT_COMMAND_TERMINATED == ptp->scsi_status)) in get_scsi_pt_result_category() 447 else if (ptp->scsi_status) in get_scsi_pt_result_category() 466 return ptp->scsi_status; in get_scsi_pt_status_response()
|
/dports/lang/micropython/micropython-1.17/ports/stm32/usbhost/Class/MSC/Src/ |
H A D | usbh_msc.c | 342 if( scsi_status == USBH_OK) in USBH_MSC_Process() 349 if( scsi_status == USBH_FAIL) in USBH_MSC_Process() 404 if(scsi_status == USBH_OK) in USBH_MSC_Process() 431 if( scsi_status == USBH_OK) in USBH_MSC_Process() 450 if( scsi_status == USBH_FAIL) in USBH_MSC_Process() 527 if(scsi_status == USBH_OK) in USBH_MSC_RdWrProcess() 532 else if( scsi_status == USBH_FAIL) in USBH_MSC_RdWrProcess() 549 if(scsi_status == USBH_OK) in USBH_MSC_RdWrProcess() 554 else if( scsi_status == USBH_FAIL) in USBH_MSC_RdWrProcess() 571 if( scsi_status == USBH_OK) in USBH_MSC_RdWrProcess() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.dg/analyzer/ |
H A D | memset-CVE-2017-18549-1.c | 28 __le32 scsi_status; member 57 reply.scsi_status = 0; in aac_send_raw_srb() 66 __analyzer_eval (reply.scsi_status == 0); /* { dg-warning "TRUE" } */ in aac_send_raw_srb() 91 reply.scsi_status = 0; in aac_send_raw_srb_fixed() 100 __analyzer_eval (reply.scsi_status == 0); /* { dg-warning "TRUE" } */ in aac_send_raw_srb_fixed()
|
/dports/sysutils/smartmontools/smartmontools-7.2/ |
H A D | dev_areca.cpp | 189 if(ioctlreturn || iop.scsi_status) in arcmsr_command_handler() 243 if ( iop.scsi_status ) in arcmsr_command_handler() 245 pout("io_hdr.scsi_status with write buffer failed code = %x\n", iop.scsi_status); in arcmsr_command_handler() 613 int scsi_status = return_buff[5]; in arcmsr_scsi_pass_through() local 622 if(scsi_status == 0xE1 /* Underrun, actual data length < requested data length */) in arcmsr_scsi_pass_through() 625 scsi_status = 0x0; in arcmsr_scsi_pass_through() 628 if(scsi_status != 0x00 && scsi_status != SCSI_STATUS_CHECK_CONDITION) in arcmsr_scsi_pass_through() 633 if(scsi_status == SCSI_STATUS_CHECK_CONDITION) in arcmsr_scsi_pass_through() 636 iop->scsi_status = SCSI_STATUS_CHECK_CONDITION; in arcmsr_scsi_pass_through()
|
H A D | cciss.cpp | 112 iop->scsi_status = status & 0x7e; /* bits 0 and 7 used to be for vendors */ in cciss_io_interface() 114 iop->scsi_status = SCSI_STATUS_CHECK_CONDITION; in cciss_io_interface() 119 if ((SCSI_STATUS_CHECK_CONDITION == iop->scsi_status) && in cciss_io_interface() 132 if (SCSI_STATUS_CHECK_CONDITION == iop->scsi_status) { in cciss_io_interface() 139 if (iop->scsi_status > 0) in cciss_io_interface()
|
H A D | os_solaris.cpp | 356 iop->scsi_status = uscsi.uscsi_status; in do_scsi_cmnd_io() 364 if ((SCSI_STATUS_CHECK_CONDITION == iop->scsi_status) && in do_scsi_cmnd_io() 368 iop->scsi_status, iop->sensep[1] & 0xf, in do_scsi_cmnd_io() 372 iop->scsi_status, iop->sensep[2] & 0xf, in do_scsi_cmnd_io() 378 } else if (iop->scsi_status) in do_scsi_cmnd_io() 379 pout(" status=%x\n", iop->scsi_status); in do_scsi_cmnd_io()
|
/dports/devel/sunpromake/schily-2021-09-18/libscg/scg/ |
H A D | scgcmd.h | 33 #define scsi_status scg_status macro 143 struct scsi_status Scb; /* Status returnd by command */ 186 struct scsi_status Scb; /* Status returnd by command */ 244 #undef scsi_status
|
/dports/devel/smake/schily-2021-09-18/libscg/scg/ |
H A D | scgcmd.h | 33 #define scsi_status scg_status macro 143 struct scsi_status Scb; /* Status returnd by command */ 186 struct scsi_status Scb; /* Status returnd by command */ 244 #undef scsi_status
|
/dports/devel/sccs/schily-2021-09-18/libscg/scg/ |
H A D | scgcmd.h | 33 #define scsi_status scg_status macro 143 struct scsi_status Scb; /* Status returnd by command */ 186 struct scsi_status Scb; /* Status returnd by command */ 244 #undef scsi_status
|
/dports/devel/schilybase/schily-2021-09-18/libscg/scg/ |
H A D | scgcmd.h | 33 #define scsi_status scg_status macro 143 struct scsi_status Scb; /* Status returnd by command */ 186 struct scsi_status Scb; /* Status returnd by command */ 244 #undef scsi_status
|
/dports/net/rscsi/schily-2021-09-18/libscg/scg/ |
H A D | scgcmd.h | 33 #define scsi_status scg_status macro 143 struct scsi_status Scb; /* Status returnd by command */ 186 struct scsi_status Scb; /* Status returnd by command */ 244 #undef scsi_status
|
/dports/archivers/star/schily-2021-09-18/libscg/scg/ |
H A D | scgcmd.h | 33 #define scsi_status scg_status macro 143 struct scsi_status Scb; /* Status returnd by command */ 186 struct scsi_status Scb; /* Status returnd by command */ 244 #undef scsi_status
|
/dports/sysutils/cdrtools/schily-2021-09-18/libscg/scg/ |
H A D | scgcmd.h | 33 #define scsi_status scg_status macro 143 struct scsi_status Scb; /* Status returnd by command */ 186 struct scsi_status Scb; /* Status returnd by command */ 244 #undef scsi_status
|
/dports/editors/ved/schily-2021-09-18/libscg/scg/ |
H A D | scgcmd.h | 33 #define scsi_status scg_status macro 143 struct scsi_status Scb; /* Status returnd by command */ 186 struct scsi_status Scb; /* Status returnd by command */ 244 #undef scsi_status
|
/dports/sysutils/schilyutils/schily-2021-09-18/libscg/scg/ |
H A D | scgcmd.h | 33 #define scsi_status scg_status macro 143 struct scsi_status Scb; /* Status returnd by command */ 186 struct scsi_status Scb; /* Status returnd by command */ 244 #undef scsi_status
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/target/ |
H A D | target_core_xcopy.c | 589 se_cmd->scsi_status); in target_xcopy_issue_pt_cmd() 591 return (se_cmd->scsi_status) ? -EINVAL : 0; in target_xcopy_issue_pt_cmd() 624 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source() 633 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source() 669 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination() 675 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination() 786 if (ec_cmd->scsi_status == SAM_STAT_GOOD) { in target_xcopy_do_work() 789 ec_cmd->scsi_status = SAM_STAT_CHECK_CONDITION; in target_xcopy_do_work() 791 target_complete_cmd(ec_cmd, ec_cmd->scsi_status); in target_xcopy_do_work()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/target/ |
H A D | target_core_xcopy.c | 589 se_cmd->scsi_status); in target_xcopy_issue_pt_cmd() 591 return (se_cmd->scsi_status) ? -EINVAL : 0; in target_xcopy_issue_pt_cmd() 624 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source() 633 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source() 669 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination() 675 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination() 786 if (ec_cmd->scsi_status == SAM_STAT_GOOD) { in target_xcopy_do_work() 789 ec_cmd->scsi_status = SAM_STAT_CHECK_CONDITION; in target_xcopy_do_work() 791 target_complete_cmd(ec_cmd, ec_cmd->scsi_status); in target_xcopy_do_work()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/target/ |
H A D | target_core_xcopy.c | 589 se_cmd->scsi_status); in target_xcopy_issue_pt_cmd() 591 return (se_cmd->scsi_status) ? -EINVAL : 0; in target_xcopy_issue_pt_cmd() 624 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source() 633 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source() 669 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination() 675 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination() 786 if (ec_cmd->scsi_status == SAM_STAT_GOOD) { in target_xcopy_do_work() 789 ec_cmd->scsi_status = SAM_STAT_CHECK_CONDITION; in target_xcopy_do_work() 791 target_complete_cmd(ec_cmd, ec_cmd->scsi_status); in target_xcopy_do_work()
|
/dports/multimedia/libv4l/linux-5.13-rc2/include/trace/events/ |
H A D | target.h | 182 __field( unsigned char, scsi_status ) 196 __entry->scsi_status = cmd->scsi_status; 197 __entry->sense_length = cmd->scsi_status == SAM_STAT_CHECK_CONDITION ? 207 show_scsi_status_name(__entry->scsi_status),
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/trace/events/ |
H A D | target.h | 182 __field( unsigned char, scsi_status ) 196 __entry->scsi_status = cmd->scsi_status; 197 __entry->sense_length = cmd->scsi_status == SAM_STAT_CHECK_CONDITION ? 207 show_scsi_status_name(__entry->scsi_status),
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/trace/events/ |
H A D | target.h | 182 __field( unsigned char, scsi_status ) 196 __entry->scsi_status = cmd->scsi_status; 197 __entry->sense_length = cmd->scsi_status == SAM_STAT_CHECK_CONDITION ? 207 show_scsi_status_name(__entry->scsi_status),
|