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