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()
678 struct scsi_cmnd *cmd = ms->current_req; in start_phase()
861 if ((cmd = ms->current_req) != NULL) { in reselected()
868 tp->current_req = NULL; in reselected()
888 ms->current_req = NULL; in reselected()
950 tp->saved_ptr, tp->data_goes_out, tp->current_req); in reselected()
952 ms->current_req = tp->current_req; in reselected()
953 if (tp->current_req == NULL) { in reselected()
989 if ((cmd = tp->current_req) != NULL) { in handle_reset()
991 tp->current_req = NULL; in handle_reset()
997 ms->current_req = NULL; in handle_reset()
1156 struct scsi_cmnd *cmd = ms->current_req; in handle_msgin()
1319 struct scsi_cmnd *cmd = ms->current_req; in halt_dma()
1443 struct scsi_cmnd *cmd = ms->current_req; in cmd_complete()
1610 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()