Lines Matching refs:the_result
2162 unsigned int the_result;
2177 the_result = scsi_execute_req(sdkp->device, cmd,
2190 if (the_result)
2194 (!scsi_status_is_good(the_result) ||
2195 ((driver_byte(the_result) == DRIVER_SENSE) &&
2198 if (driver_byte(the_result) != DRIVER_SENSE) {
2201 if(!spintime && !scsi_status_is_good(the_result)) {
2203 the_result);
2272 if (scsi_status_is_good(the_result))
2324 int the_result)
2326 if (driver_byte(the_result) == DRIVER_SENSE)
2360 int the_result;
2376 the_result = scsi_execute_req(sdp, cmd, DMA_FROM_DEVICE,
2383 if (the_result) {
2403 } while (the_result && retries);
2405 if (the_result) {
2406 sd_print_result(sdkp, "Read Capacity(16) failed", the_result);
2407 read_capacity_error(sdkp, sdp, &sshdr, sense_valid, the_result);
2451 int the_result;
2461 the_result = scsi_execute_req(sdp, cmd, DMA_FROM_DEVICE,
2468 if (the_result) {
2480 } while (the_result && retries);
2482 if (the_result) {
2483 sd_print_result(sdkp, "Read Capacity(10) failed", the_result);
2484 read_capacity_error(sdkp, sdp, &sshdr, sense_valid, the_result);