Lines Matching refs:result
713 if (host_byte(scmd->result) == DID_RESET) {
722 if (host_byte(scmd->result) != DID_OK)
728 if (msg_byte(scmd->result) != COMMAND_COMPLETE)
735 switch (status_byte(scmd->result)) {
777 "%s result: %x\n", __func__, scmd->result));
970 ses->result = scmd->result;
981 scmd->result = 0;
1034 scmd->result = ses->result;
1243 if (status_byte(scmd->result) != CHECK_CONDITION)
1260 "sense requested, result %x\n", scmd->result));
1266 * if the result was normal, then just pass it along to the
1741 switch (host_byte(scmd->result)) {
1751 if (msg_byte(scmd->result) == COMMAND_COMPLETE &&
1752 status_byte(scmd->result) == RESERVATION_CONFLICT)
1759 if (status_byte(scmd->result) != CHECK_CONDITION)
1793 * if the device is offline, then we clearly just pass the result back
1806 switch (host_byte(scmd->result)) {
1813 scmd->result &= 0xff00ffff;
1862 if (msg_byte(scmd->result) == COMMAND_COMPLETE &&
1863 status_byte(scmd->result) == RESERVATION_CONFLICT)
1894 if (msg_byte(scmd->result) != COMMAND_COMPLETE)
1900 switch (status_byte(scmd->result)) {
2114 * scsi_eh_get_sense), scmd->result is already
2117 if (!scmd->result)
2118 scmd->result |= (DRIVER_TIMEOUT << 24);