Lines Matching refs:the_result

2235 	unsigned int the_result;  in sd_spinup_disk()  local
2255 the_result = scsi_execute_cmd(sdkp->device, cmd, in sd_spinup_disk()
2272 if (the_result) in sd_spinup_disk()
2276 (!scsi_status_is_good(the_result) || in sd_spinup_disk()
2277 (scsi_status_is_check_condition(the_result) && in sd_spinup_disk()
2280 if (!scsi_status_is_check_condition(the_result)) { in sd_spinup_disk()
2283 if(!spintime && !scsi_status_is_good(the_result)) { in sd_spinup_disk()
2285 the_result); in sd_spinup_disk()
2354 if (scsi_status_is_good(the_result)) in sd_spinup_disk()
2411 int the_result) in read_capacity_error() argument
2450 int the_result; in read_capacity_16() local
2466 the_result = scsi_execute_cmd(sdp, cmd, REQ_OP_DRV_IN, in read_capacity_16()
2473 if (the_result > 0) { in read_capacity_16()
2493 } while (the_result && retries); in read_capacity_16()
2495 if (the_result) { in read_capacity_16()
2496 sd_print_result(sdkp, "Read Capacity(16) failed", the_result); in read_capacity_16()
2497 read_capacity_error(sdkp, sdp, &sshdr, sense_valid, the_result); in read_capacity_16()
2544 int the_result; in read_capacity_10() local
2554 the_result = scsi_execute_cmd(sdp, cmd, REQ_OP_DRV_IN, buffer, in read_capacity_10()
2561 if (the_result > 0) { in read_capacity_10()
2573 } while (the_result && retries); in read_capacity_10()
2575 if (the_result) { in read_capacity_10()
2576 sd_print_result(sdkp, "Read Capacity(10) failed", the_result); in read_capacity_10()
2577 read_capacity_error(sdkp, sdp, &sshdr, sense_valid, the_result); in read_capacity_10()