Lines Matching refs:the_result
2401 unsigned int the_result; in sd_spinup_disk() local
2441 the_result = scsi_execute_cmd(sdkp->device, cmd, REQ_OP_DRV_IN, in sd_spinup_disk()
2446 if (the_result > 0) { in sd_spinup_disk()
2461 if (!scsi_status_is_check_condition(the_result)) { in sd_spinup_disk()
2464 if(!spintime && !scsi_status_is_good(the_result)) { in sd_spinup_disk()
2466 the_result); in sd_spinup_disk()
2541 if (scsi_status_is_good(the_result)) in sd_spinup_disk()
2600 int the_result) in read_capacity_error() argument
2639 int the_result; in read_capacity_16() local
2655 the_result = scsi_execute_cmd(sdp, cmd, REQ_OP_DRV_IN, in read_capacity_16()
2658 if (the_result > 0) { in read_capacity_16()
2681 } while (the_result && retries); in read_capacity_16()
2683 if (the_result) { in read_capacity_16()
2684 sd_print_result(sdkp, "Read Capacity(16) failed", the_result); in read_capacity_16()
2685 read_capacity_error(sdkp, sdp, &sshdr, sense_valid, the_result); in read_capacity_16()
2760 int the_result; in read_capacity_10() local
2766 the_result = scsi_execute_cmd(sdp, cmd, REQ_OP_DRV_IN, buffer, in read_capacity_10()
2770 if (the_result > 0) { in read_capacity_10()
2777 if (the_result) { in read_capacity_10()
2778 sd_print_result(sdkp, "Read Capacity(10) failed", the_result); in read_capacity_10()
2779 read_capacity_error(sdkp, sdp, &sshdr, sense_valid, the_result); in read_capacity_10()