Lines Matching defs:result
234 SCpnt->result = 0;
316 * (2) Call internal_cmnd to requeue the command. This will result in
328 * scsi_done, then unpredictable behavior will result.
338 int result = SCpnt->result;
344 if (result)
345 printk("Non-zero result in scsi_done %x %d:%d\n",
346 result, SCpnt->target, SCpnt->lun);
352 if (host_byte(result) == DID_ABORT && SCpnt->abort_reason)
353 SCpnt->result = result = (result & 0xff00ffff) |
363 printk("In scsi_done(host = %d, result = %06x)\n", host->host_no, result);
383 switch (host_byte(result)) {
385 if (status_byte(result) && (SCpnt->flags & WAS_SENSE))
403 switch (msg_byte(result)) {
405 switch (status_byte(result)) {
515 __LINE__, status_byte(result));
521 msg_byte(result));
561 if (msg_byte(result) == COMMAND_COMPLETE &&
562 status_byte(result) == RESERVATION_CONFLICT) {
582 if (msg_byte(result) == GOOD &&
583 status_byte(result) == CHECK_CONDITION) {
652 SCpnt->result = 0;
675 SCpnt->result = result | ((exit & 0xff) << 24);
689 SRpnt->sr_result = SRpnt->sr_command->result;
941 * If the result is SCSI_RESET_SUCCESS, SCSI_RESET_PENDING,