Home
last modified time | relevance | path

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

/linux-5.19.10/include/scsi/
Dscsi.h124 #define host_byte(result) (((result) >> 16) & 0xff) macro
201 if (host_byte(status) == DID_NO_CONNECT) in scsi_status_is_good()
/linux-5.19.10/drivers/scsi/
Dscsi_bsg.c67 hdr->transport_status = host_byte(scmd->result); in scsi_bsg_sg_io_fn()
Dconstants.c411 enum scsi_host_status hb = host_byte(result); in scsi_hostbyte_string()
Dscsi_error.c762 if (host_byte(scmd->result) == DID_RESET) { in scsi_eh_completed_normally()
771 if (host_byte(scmd->result) != DID_OK) in scsi_eh_completed_normally()
1786 switch (host_byte(scmd->result)) { in scsi_noretry_cmd()
1849 switch (host_byte(scmd->result)) { in scsi_decide_disposition()
Dscsi_logging.c425 "hostbyte=0x%02x ", host_byte(cmd->result)); in scsi_print_result()
Dsd.c1546 if (retval < 0 || host_byte(retval)) { in sd_check_events()
1621 switch (host_byte(res)) { in sd_sync_cache()
1839 host_byte(scmd->result) != DID_TIME_OUT || in sd_eh_action()
3858 msg, host_byte(result), "DRIVER_OK"); in sd_print_result()
Dscsi_ioctl.c381 hdr->host_status = host_byte(scmd->result); in scsi_complete_sghdr_rq()
Desp_scsi.c899 struct scsi_cmnd *cmd, unsigned char host_byte) in esp_cmd_is_done() argument
909 set_host_byte(cmd, host_byte); in esp_cmd_is_done()
910 if (host_byte == DID_OK) in esp_cmd_is_done()
Daha152x.c641 unsigned char host_byte);
1301 unsigned char host_byte) in done() argument
1312 set_host_byte(DONE_SC, host_byte); in done()
Dvirtio_scsi.c357 } else if (result > 0 && host_byte(result) == DID_BAD_TARGET) { in virtscsi_rescan_hotunplug()
Dscsi_lib.c601 switch (host_byte(result)) { in scsi_result_to_blk_status()
709 if (host_byte(result) == DID_RESET) { in scsi_io_completion_action()
Dsg.c1354 srp->header.host_status = host_byte(result); in sg_rq_end_io()
Dst.c390 result, host_byte(result)); in st_chk_result()
/linux-5.19.10/drivers/scsi/sym53c8xx_2/
Dsym_glue.h237 return host_byte(cmd->result); in sym_get_cam_status()
/linux-5.19.10/block/
Dbsg-lib.c102 hdr->transport_status = host_byte(job->result); in bsg_transport_sg_io_fn()
/linux-5.19.10/drivers/scsi/smartpqi/
Dsmartpqi_init.c3104 u8 host_byte; in pqi_process_raid_io_error() local
3118 host_byte = DID_OK; in pqi_process_raid_io_error()
3129 host_byte = DID_SOFT_ERROR; in pqi_process_raid_io_error()
3133 host_byte = DID_ABORT; in pqi_process_raid_io_error()
3136 host_byte = DID_TIME_OUT; in pqi_process_raid_io_error()
3155 host_byte = DID_ERROR; in pqi_process_raid_io_error()
3181 host_byte = DID_NO_CONNECT; in pqi_process_raid_io_error()
3199 set_host_byte(scmd, host_byte); in pqi_process_raid_io_error()
3205 u8 host_byte; in pqi_process_aio_io_error() local
3216 host_byte = DID_OK; in pqi_process_aio_io_error()
[all …]
/linux-5.19.10/drivers/target/
Dtarget_core_pscsi.c1020 switch (host_byte(scmd->result)) { in pscsi_req_done()
/linux-5.19.10/drivers/scsi/device_handler/
Dscsi_dh_alua.c574 if (host_byte(retval) == DID_NO_CONNECT) in alua_rtpg()
/linux-5.19.10/drivers/scsi/libfc/
Dfc_fcp.c2028 if (host_byte(sc_cmd->result) == DID_TIME_OUT) in fc_io_compl()
/linux-5.19.10/drivers/xen/
Dxen-scsiback.c226 host_byte(errors)); in scsiback_print_status()
/linux-5.19.10/drivers/scsi/bnx2fc/
Dbnx2fc_io.c204 sc_cmd, host_byte(sc_cmd->result), sc_cmd->retries, in bnx2fc_scsi_done()
/linux-5.19.10/drivers/scsi/csiostor/
Dcsio_scsi.c1992 if (host_byte(cmnd->result) == DID_REQUEUE) { in csio_eh_abort_handler()
/linux-5.19.10/drivers/ufs/core/
Dufshcd.c5269 if ((host_byte(result) != DID_OK) && in ufshcd_transfer_rsp_status()
5270 (host_byte(result) != DID_REQUEUE) && !hba->silence_err_logs) in ufshcd_transfer_rsp_status()
/linux-5.19.10/Documentation/scsi/
Dscsi_mid_low_api.rst1177 host_byte() macros and related constants.