• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:errsts

960 	int power_cond, errsts, start;
962 if ((errsts = check_readiness(scp, 1, devip)))
963 return errsts;
991 int errsts;
993 if ((errsts = check_readiness(scp, 1, devip)))
994 return errsts;
1022 int errsts, k, alloc_len;
1024 if ((errsts = check_readiness(scp, 1, devip)))
1025 return errsts;
1297 int k, alloc_len, msense_6, offset, len, errsts, target_dev_id;
1302 if ((errsts = check_readiness(scp, 1, devip)))
1303 return errsts;
1460 int param_len, res, errsts, mpage;
1464 if ((errsts = check_readiness(scp, 1, devip)))
1465 return errsts;
1557 int ppc, sp, pcontrol, pcode, subpcode, alloc_len, errsts, len, n;
1561 if ((errsts = check_readiness(scp, 1, devip)))
1562 return errsts;
3527 int errsts = 0;
3591 errsts = check_condition_result;
3592 return schedule_resp(SCpnt, devip, done, errsts,
3600 errsts = resp_inquiry(SCpnt, target, devip);
3604 errsts = resp_requests(SCpnt, devip);
3608 errsts = resp_start_stop(SCpnt, devip);
3611 errsts = check_readiness(SCpnt, 1, devip);
3612 if (errsts)
3619 errsts = check_readiness(SCpnt, 1, devip);
3623 errsts = check_readiness(SCpnt, 0, devip);
3626 errsts = check_readiness(SCpnt, 1, devip);
3629 errsts = check_readiness(SCpnt, 1, devip);
3632 errsts = check_readiness(SCpnt, 1, devip);
3635 errsts = check_readiness(SCpnt, 1, devip);
3638 errsts = resp_readcap(SCpnt, devip);
3642 errsts = resp_readcap16(SCpnt, devip);
3648 errsts = check_condition_result;
3650 errsts = resp_get_lba_status(SCpnt, devip);
3654 errsts = check_condition_result;
3661 errsts = check_condition_result;
3664 errsts = resp_report_tgtpgs(SCpnt, devip);
3674 errsts = check_condition_result;
3686 errsts = check_readiness(SCpnt, 0, devip);
3687 if (errsts)
3692 errsts = resp_read(SCpnt, lba, num, devip, ei_lba);
3693 if (inj_recovered && (0 == errsts)) {
3696 errsts = check_condition_result;
3697 } else if (inj_transport && (0 == errsts)) {
3700 errsts = check_condition_result;
3701 } else if (inj_dif && (0 == errsts)) {
3703 errsts = illegal_condition_result;
3704 } else if (inj_dix && (0 == errsts)) {
3706 errsts = illegal_condition_result;
3711 errsts = resp_report_luns(SCpnt, devip);
3714 errsts = check_readiness(SCpnt, 0, devip);
3724 errsts = check_condition_result;
3736 errsts = check_readiness(SCpnt, 0, devip);
3737 if (errsts)
3742 errsts = resp_write(SCpnt, lba, num, devip, ei_lba);
3743 if (inj_recovered && (0 == errsts)) {
3746 errsts = check_condition_result;
3747 } else if (inj_dif && (0 == errsts)) {
3749 errsts = illegal_condition_result;
3750 } else if (inj_dix && (0 == errsts)) {
3752 errsts = illegal_condition_result;
3760 errsts = check_readiness(SCpnt, 0, devip);
3761 if (errsts)
3764 errsts = resp_write_same(SCpnt, lba, num, devip, ei_lba, unmap);
3767 errsts = check_readiness(SCpnt, 0, devip);
3768 if (errsts)
3774 errsts = check_condition_result;
3776 errsts = resp_unmap(SCpnt, devip);
3780 errsts = resp_mode_sense(SCpnt, target, devip);
3783 errsts = resp_mode_select(SCpnt, 1, devip);
3786 errsts = resp_mode_select(SCpnt, 0, devip);
3789 errsts = resp_log_sense(SCpnt, devip);
3793 errsts = check_readiness(SCpnt, 0, devip);
3796 errsts = check_readiness(SCpnt, 1, devip);
3802 errsts = check_condition_result;
3806 errsts = check_readiness(SCpnt, 0, devip);
3807 if (errsts)
3812 errsts = resp_read(SCpnt, lba, num, devip, ei_lba);
3813 if (errsts)
3815 errsts = resp_write(SCpnt, lba, num, devip, ei_lba);
3816 if (errsts)
3818 errsts = resp_xdwriteread(SCpnt, lba, num, devip);
3840 errsts = check_condition_result;
3847 errsts = check_readiness(SCpnt, 1, devip);
3848 if (errsts)
3851 errsts = check_condition_result;
3854 return schedule_resp(SCpnt, devip, done, errsts,