Lines Matching refs:current_req
135 struct scsi_cmnd *current_req; member
156 struct scsi_cmnd *current_req; /* req we're currently working on */ member
328 if (tp->current_req == NULL) in mesh_dump_regs()
331 t, tp->current_req, tp->data_goes_out, tp->saved_ptr); in mesh_dump_regs()
411 ms->current_req = cmd; in mesh_start_cmd()
413 ms->tgts[id].current_req = cmd; in mesh_start_cmd()
562 if (ms->phase != idle || ms->current_req != NULL) { in mesh_start()
573 if (ms->tgts[cmd->device->id].current_req == NULL) in mesh_start()
594 cmd = ms->current_req; in mesh_done()
595 ms->current_req = NULL; in mesh_done()
596 tp->current_req = NULL; in mesh_done()
684 struct scsi_cmnd *cmd = ms->current_req; in start_phase()
867 if ((cmd = ms->current_req) != NULL) { in reselected()
874 tp->current_req = NULL; in reselected()
894 ms->current_req = NULL; in reselected()
956 tp->saved_ptr, tp->data_goes_out, tp->current_req); in reselected()
958 ms->current_req = tp->current_req; in reselected()
959 if (tp->current_req == NULL) { in reselected()
995 if ((cmd = tp->current_req) != NULL) { in handle_reset()
997 tp->current_req = NULL; in handle_reset()
1003 ms->current_req = NULL; in handle_reset()
1162 struct scsi_cmnd *cmd = ms->current_req; in handle_msgin()
1325 struct scsi_cmnd *cmd = ms->current_req; in halt_dma()
1449 struct scsi_cmnd *cmd = ms->current_req; in cmd_complete()
1614 ms->current_req = NULL; in cmd_complete()
1937 ms->current_req = NULL; in mesh_probe()
1941 ms->tgts[tgt].current_req = NULL; in mesh_probe()