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()
685 struct scsi_cmnd *cmd = ms->current_req; in start_phase()
868 if ((cmd = ms->current_req) != NULL) { in reselected()
875 tp->current_req = NULL; in reselected()
895 ms->current_req = NULL; in reselected()
957 tp->saved_ptr, tp->data_goes_out, tp->current_req); in reselected()
959 ms->current_req = tp->current_req; in reselected()
960 if (tp->current_req == NULL) { in reselected()
996 if ((cmd = tp->current_req) != NULL) { in handle_reset()
998 tp->current_req = NULL; in handle_reset()
1004 ms->current_req = NULL; in handle_reset()
1163 struct scsi_cmnd *cmd = ms->current_req; in handle_msgin()
1326 struct scsi_cmnd *cmd = ms->current_req; in halt_dma()
1450 struct scsi_cmnd *cmd = ms->current_req; in cmd_complete()
1615 ms->current_req = NULL; in cmd_complete()
1938 ms->current_req = NULL; in mesh_probe()
1942 ms->tgts[tgt].current_req = NULL; in mesh_probe()