Lines Matching refs:the_result

2048 	unsigned int the_result;  in sd_spinup_disk()  local
2065 the_result = scsi_execute_req(sdkp->device, cmd, in sd_spinup_disk()
2081 if (the_result) in sd_spinup_disk()
2085 (!scsi_status_is_good(the_result) || in sd_spinup_disk()
2086 (scsi_status_is_check_condition(the_result) && in sd_spinup_disk()
2089 if (!scsi_status_is_check_condition(the_result)) { in sd_spinup_disk()
2092 if(!spintime && !scsi_status_is_good(the_result)) { in sd_spinup_disk()
2094 the_result); in sd_spinup_disk()
2163 if (scsi_status_is_good(the_result)) in sd_spinup_disk()
2223 int the_result) in read_capacity_error() argument
2259 int the_result; in read_capacity_16() local
2275 the_result = scsi_execute_req(sdp, cmd, DMA_FROM_DEVICE, in read_capacity_16()
2282 if (the_result > 0) { in read_capacity_16()
2302 } while (the_result && retries); in read_capacity_16()
2304 if (the_result) { in read_capacity_16()
2305 sd_print_result(sdkp, "Read Capacity(16) failed", the_result); in read_capacity_16()
2306 read_capacity_error(sdkp, sdp, &sshdr, sense_valid, the_result); in read_capacity_16()
2350 int the_result; in read_capacity_10() local
2360 the_result = scsi_execute_req(sdp, cmd, DMA_FROM_DEVICE, in read_capacity_10()
2367 if (the_result > 0) { in read_capacity_10()
2379 } while (the_result && retries); in read_capacity_10()
2381 if (the_result) { in read_capacity_10()
2382 sd_print_result(sdkp, "Read Capacity(10) failed", the_result); in read_capacity_10()
2383 read_capacity_error(sdkp, sdp, &sshdr, sense_valid, the_result); in read_capacity_10()