Lines Matching refs:SCpnt1
861 Scsi_Cmnd *SCpnt1; in scsi_reset() local
893 SCpnt1 = host->host_queue; in scsi_reset()
894 while (SCpnt1) { in scsi_reset()
895 if (SCpnt1->request.rq_status != RQ_INACTIVE in scsi_reset()
896 && (SCpnt1->flags & (WAS_RESET | IS_RESETTING)) == 0) in scsi_reset()
898 SCpnt1 = SCpnt1->next; in scsi_reset()
900 if (SCpnt1 == NULL) { in scsi_reset()
938 SCpnt1 = SDpnt->device_queue; in scsi_reset()
939 while (SCpnt1) { in scsi_reset()
940 if (SCpnt1->request.rq_status != RQ_INACTIVE) { in scsi_reset()
942 if (!(SCpnt1->flags & IS_RESETTING) && in scsi_reset()
943 !(SCpnt1->internal_timeout & IN_ABORT)) in scsi_reset()
944 scsi_abort(SCpnt1, DID_RESET); in scsi_reset()
946 SCpnt1->flags |= (WAS_RESET | IS_RESETTING); in scsi_reset()
948 SCpnt1 = SCpnt1->next; in scsi_reset()
1044 SCpnt1 = SDpnt->device_queue; in scsi_reset()
1045 while (SCpnt1) { in scsi_reset()
1046 if (SCpnt1->request.rq_status != RQ_INACTIVE in scsi_reset()
1047 && SCpnt1 != SCpnt) in scsi_reset()
1048 scsi_request_sense(SCpnt1); in scsi_reset()
1049 SCpnt1 = SCpnt1->next; in scsi_reset()
1054 SCpnt1 = SDpnt->device_queue; in scsi_reset()
1055 while (SCpnt1) { in scsi_reset()
1056 if (SCpnt1->request.rq_status != RQ_INACTIVE in scsi_reset()
1057 && SCpnt1 != SCpnt in scsi_reset()
1058 && SCpnt1->channel == SCpnt->channel) in scsi_reset()
1060 SCpnt1 = SCpnt1->next; in scsi_reset()