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()
402 ms->current_req = cmd; in mesh_start_cmd()
404 ms->tgts[id].current_req = cmd; in mesh_start_cmd()
553 if (ms->phase != idle || ms->current_req != NULL) { in mesh_start()
564 if (ms->tgts[cmd->device->id].current_req == NULL) in mesh_start()
585 cmd = ms->current_req; in mesh_done()
586 ms->current_req = NULL; in mesh_done()
587 tp->current_req = NULL; in mesh_done()
676 struct scsi_cmnd *cmd = ms->current_req; in start_phase()
859 if ((cmd = ms->current_req) != NULL) { in reselected()
866 tp->current_req = NULL; in reselected()
886 ms->current_req = NULL; in reselected()
948 tp->saved_ptr, tp->data_goes_out, tp->current_req); in reselected()
950 ms->current_req = tp->current_req; in reselected()
951 if (tp->current_req == NULL) { in reselected()
987 if ((cmd = tp->current_req) != NULL) { in handle_reset()
989 tp->current_req = NULL; in handle_reset()
995 ms->current_req = NULL; in handle_reset()
1154 struct scsi_cmnd *cmd = ms->current_req; in handle_msgin()
1317 struct scsi_cmnd *cmd = ms->current_req; in halt_dma()
1441 struct scsi_cmnd *cmd = ms->current_req; in cmd_complete()
1606 ms->current_req = NULL; in cmd_complete()
1928 ms->current_req = NULL; in mesh_probe()
1932 ms->tgts[tgt].current_req = NULL; in mesh_probe()