Home
last modified time | relevance | path

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

/linux/include/scsi/
H A Dscsi.h126 #define host_byte(result) (((result) >> 16) & 0xff) macro
207 if (host_byte(status) == DID_NO_CONNECT) in scsi_status_is_good()
/linux/drivers/scsi/
H A Dscsi_bsg.c67 hdr->transport_status = host_byte(scmd->result); in scsi_bsg_sg_io_fn()
H A Dconstants.c411 enum scsi_host_status hb = host_byte(result); in scsi_hostbyte_string()
H A Dscsi_error.c819 if (host_byte(scmd->result) == DID_RESET) { in scsi_eh_completed_normally()
828 if (host_byte(scmd->result) != DID_OK) in scsi_eh_completed_normally()
1852 switch (host_byte(scmd->result)) { in scsi_noretry_cmd()
1919 switch (host_byte(scmd->result)) { in scsi_decide_disposition()
H A Dscsi_lib.c228 if (host_byte(scmd->result) && in scsi_check_passthrough()
229 host_byte(scmd->result) == host_byte(failure->result)) in scsi_check_passthrough()
706 switch (host_byte(result)) { in scsi_result_to_blk_status()
802 if (host_byte(result) == DID_RESET) { in scsi_io_completion_action()
H A Dscsi_logging.c424 "hostbyte=0x%02x ", host_byte(cmd->result)); in scsi_print_result()
H A Dsd.c1781 if (retval < 0 || host_byte(retval)) { in sd_check_events()
1868 switch (host_byte(res)) { in sd_sync_cache()
1933 switch (host_byte(result)) { in sd_scsi_to_pr_err()
2234 host_byte(scmd->result) != DID_TIME_OUT || in sd_eh_action()
4477 msg, host_byte(result), "DRIVER_OK"); in sd_print_result()
H A 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()
H A Dvirtio_scsi.c363 } else if (result > 0 && host_byte(result) == DID_BAD_TARGET) { in virtscsi_rescan_hotunplug()
H A Dscsi_debug.c373 unsigned char host_byte; member
1136 err->host_byte, err->driver_byte, in sdebug_error_show()
1196 &inject->host_byte, &inject->driver_byte, in sdebug_error_write()
9265 result = err->status_byte | err->host_byte << 16 | err->driver_byte << 24; in sdebug_fail_cmd()
9401 opcode, err.host_byte, err.driver_byte, in scsi_debug_queuecommand()
H A Dsg.c1348 srp->header.host_status = host_byte(result); in sg_rq_end_io()
H A Dst.c399 result, host_byte(result)); in st_chk_result()
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.h237 return host_byte(cmd->result); in sym_get_cam_status()
/linux/block/
H A Dbsg-lib.c102 hdr->transport_status = host_byte(job->result); in bsg_transport_sg_io_fn()
/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c3177 u8 host_byte; in pqi_process_raid_io_error() local
3191 host_byte = DID_OK; in pqi_process_raid_io_error()
3202 host_byte = DID_SOFT_ERROR; in pqi_process_raid_io_error()
3206 host_byte = DID_ABORT; in pqi_process_raid_io_error()
3209 host_byte = DID_TIME_OUT; in pqi_process_raid_io_error()
3228 host_byte = DID_ERROR; in pqi_process_raid_io_error()
3254 host_byte = DID_NO_CONNECT; in pqi_process_raid_io_error()
3274 host_byte == DID_OK && in pqi_process_raid_io_error()
3280 host_byte = DID_NO_CONNECT; in pqi_process_raid_io_error()
3286 set_host_byte(scmd, host_byte); in pqi_process_raid_io_error()
[all …]
/linux/Documentation/translations/zh_CN/scsi/
H A Dscsi_mid_low_api.rst1056 status_byte()与host_byte()宏以及其相关常量。
/linux/drivers/scsi/device_handler/
H A Dscsi_dh_alua.c595 if (host_byte(retval) == DID_NO_CONNECT) in alua_rtpg()
/linux/drivers/xen/
H A Dxen-scsiback.c226 host_byte(errors)); in scsiback_print_status()
/linux/drivers/scsi/libfc/
H A Dfc_fcp.c2034 if (host_byte(sc_cmd->result) == DID_TIME_OUT) in fc_io_compl()
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c204 sc_cmd, host_byte(sc_cmd->result), sc_cmd->retries, in bnx2fc_scsi_done()
/linux/drivers/scsi/csiostor/
H A Dcsio_scsi.c1992 if (host_byte(cmnd->result) == DID_REQUEUE) { in csio_eh_abort_handler()
/linux/drivers/ufs/core/
H A Dufshcd.c5524 if ((host_byte(result) != DID_OK) && in ufshcd_transfer_rsp_status()
5525 (host_byte(result) != DID_REQUEUE) && !hba->silence_err_logs) { in ufshcd_transfer_rsp_status()