Lines Matching defs:the_result
2240 unsigned int the_result;
2260 the_result = scsi_execute_cmd(sdkp->device, cmd,
2277 if (the_result)
2281 (!scsi_status_is_good(the_result) ||
2282 (scsi_status_is_check_condition(the_result) &&
2285 if (!scsi_status_is_check_condition(the_result)) {
2288 if(!spintime && !scsi_status_is_good(the_result)) {
2290 the_result);
2359 if (scsi_status_is_good(the_result))
2416 int the_result)
2455 int the_result;
2471 the_result = scsi_execute_cmd(sdp, cmd, REQ_OP_DRV_IN,
2478 if (the_result > 0) {
2498 } while (the_result && retries);
2500 if (the_result) {
2501 sd_print_result(sdkp, "Read Capacity(16) failed", the_result);
2502 read_capacity_error(sdkp, sdp, &sshdr, sense_valid, the_result);
2549 int the_result;
2559 the_result = scsi_execute_cmd(sdp, cmd, REQ_OP_DRV_IN, buffer,
2566 if (the_result > 0) {
2578 } while (the_result && retries);
2580 if (the_result) {
2581 sd_print_result(sdkp, "Read Capacity(10) failed", the_result);
2582 read_capacity_error(sdkp, sdp, &sshdr, sense_valid, the_result);