Lines Matching refs:current_req
134 struct scsi_cmnd *current_req;
155 struct scsi_cmnd *current_req; /* req we're currently working on */
327 if (tp->current_req == NULL)
330 t, tp->current_req, tp->data_goes_out, tp->saved_ptr);
410 ms->current_req = cmd;
412 ms->tgts[id].current_req = cmd;
561 if (ms->phase != idle || ms->current_req != NULL) {
572 if (ms->tgts[cmd->device->id].current_req == NULL)
593 cmd = ms->current_req;
594 ms->current_req = NULL;
595 tp->current_req = NULL;
683 struct scsi_cmnd *cmd = ms->current_req;
866 if ((cmd = ms->current_req) != NULL) {
873 tp->current_req = NULL;
893 ms->current_req = NULL;
955 tp->saved_ptr, tp->data_goes_out, tp->current_req);
957 ms->current_req = tp->current_req;
958 if (tp->current_req == NULL) {
994 if ((cmd = tp->current_req) != NULL) {
996 tp->current_req = NULL;
1002 ms->current_req = NULL;
1159 struct scsi_cmnd *cmd = ms->current_req;
1322 struct scsi_cmnd *cmd = ms->current_req;
1445 struct scsi_cmnd *cmd = ms->current_req;
1610 ms->current_req = NULL;
1929 ms->current_req = NULL;
1933 ms->tgts[tgt].current_req = NULL;