Lines Matching refs:scsi_req
16 scsi_req(rq)->result |= ERROR_RESET; in ide_ata_error()
29 scsi_req(rq)->result = ERROR_MAX; in ide_ata_error()
32 scsi_req(rq)->result |= ERROR_RECAL; in ide_ata_error()
43 if (scsi_req(rq)->result >= ERROR_MAX || blk_noretry_request(rq)) { in ide_ata_error()
49 scsi_req(rq)->result |= ERROR_RESET; in ide_ata_error()
51 if ((scsi_req(rq)->result & ERROR_RESET) == ERROR_RESET) { in ide_ata_error()
52 ++scsi_req(rq)->result; in ide_ata_error()
56 if ((scsi_req(rq)->result & ERROR_RECAL) == ERROR_RECAL) in ide_ata_error()
59 ++scsi_req(rq)->result; in ide_ata_error()
72 scsi_req(rq)->result |= ERROR_RESET; in ide_atapi_error()
81 if (scsi_req(rq)->result >= ERROR_MAX) { in ide_atapi_error()
84 if ((scsi_req(rq)->result & ERROR_RESET) == ERROR_RESET) { in ide_atapi_error()
85 ++scsi_req(rq)->result; in ide_atapi_error()
88 ++scsi_req(rq)->result; in ide_atapi_error()
134 scsi_req(rq)->result = 1; in ide_error()
138 scsi_req(rq)->result = err; in ide_error()
152 scsi_req(rq)->cmd[0] == REQ_DRIVE_RESET) { in ide_complete_drive_reset()
153 if (err <= 0 && scsi_req(rq)->result == 0) in ide_complete_drive_reset()
154 scsi_req(rq)->result = -EIO; in ide_complete_drive_reset()