host_byte
hdr->transport_status = host_byte(job->result);
unsigned char host_byte)
set_host_byte(DONE_SC, host_byte);
unsigned char host_byte);
sc_cmd, host_byte(sc_cmd->result), sc_cmd->retries,
enum scsi_host_status hb = host_byte(result);
if (host_byte(cmnd->result) == DID_REQUEUE) {
if (host_byte(retval) == DID_NO_CONNECT)
struct scsi_cmnd *cmd, unsigned char host_byte)
set_host_byte(cmd, host_byte);
if (host_byte == DID_OK)
if (host_byte(sc_cmd->result) == DID_TIME_OUT)
hdr->transport_status = host_byte(scmd->result);
err->host_byte, err->driver_byte,
&inject->host_byte, &inject->driver_byte,
unsigned char host_byte;
result = err->status_byte | err->host_byte << 16 | err->driver_byte << 24;
opcode, err.host_byte, err.driver_byte,
switch (host_byte(scmd->result)) {
switch (host_byte(scmd->result)) {
if (host_byte(scmd->result) == DID_RESET) {
if (host_byte(scmd->result) != DID_OK)
hdr->host_status = host_byte(scmd->result);
if (host_byte(scmd->result) &&
host_byte(scmd->result) == host_byte(failure->result))
switch (host_byte(result)) {
if (host_byte(result) == DID_RESET) {
"hostbyte=0x%02x ", host_byte(cmd->result));
if (retval < 0 || host_byte(retval)) {
switch (host_byte(res)) {
switch (host_byte(result)) {
host_byte(scmd->result) != DID_TIME_OUT ||
msg, host_byte(result), "DRIVER_OK");
srp->header.host_status = host_byte(result);
u8 host_byte;
host_byte = DID_OK;
host_byte = DID_SOFT_ERROR;
host_byte = DID_ABORT;
host_byte = DID_TIME_OUT;
host_byte = DID_ERROR;
host_byte = DID_NO_CONNECT;
host_byte == DID_OK &&
host_byte = DID_NO_CONNECT;
set_host_byte(scmd, host_byte);
u8 host_byte;
host_byte = DID_OK;
host_byte = DID_SOFT_ERROR;
host_byte = DID_NO_CONNECT;
set_host_byte(scmd, host_byte);
if (host_byte(scmd->result) == DID_NO_CONNECT)
result, host_byte(result));
return host_byte(cmd->result);
} else if (result > 0 && host_byte(result) == DID_BAD_TARGET) {
switch (host_byte(scmd->result)) {
if ((host_byte(result) != DID_OK) &&
(host_byte(result) != DID_REQUEUE) && !hba->silence_err_logs) {
host_byte(errors));
if (host_byte(status) == DID_NO_CONNECT)