Lines Matching refs:scsi_cmnd
134 struct scsi_cmnd *current_req;
150 struct scsi_cmnd *request_q;
151 struct scsi_cmnd *request_qtail;
155 struct scsi_cmnd *current_req; /* req we're currently working on */
188 static void set_dma_cmds(struct mesh_state *ms, struct scsi_cmnd *cmd);
347 static void mesh_completed(struct mesh_state *ms, struct scsi_cmnd *cmd) in mesh_completed()
404 static void mesh_start_cmd(struct mesh_state *ms, struct scsi_cmnd *cmd) in mesh_start_cmd()
559 struct scsi_cmnd *cmd, *prev, *next; in mesh_start()
569 for (cmd = ms->request_q; ; cmd = (struct scsi_cmnd *) cmd->host_scribble) { in mesh_start()
576 next = (struct scsi_cmnd *) cmd->host_scribble; in mesh_start()
590 struct scsi_cmnd *cmd; in mesh_done()
683 struct scsi_cmnd *cmd = ms->current_req; in start_phase()
858 struct scsi_cmnd *cmd; in reselected()
989 struct scsi_cmnd *cmd; in handle_reset()
1004 ms->request_q = (struct scsi_cmnd *) cmd->host_scribble; in handle_reset()
1159 struct scsi_cmnd *cmd = ms->current_req; in handle_msgin()
1257 static void set_dma_cmds(struct mesh_state *ms, struct scsi_cmnd *cmd) in set_dma_cmds()
1322 struct scsi_cmnd *cmd = ms->current_req; in halt_dma()
1445 struct scsi_cmnd *cmd = ms->current_req; in cmd_complete()
1628 static int mesh_queue_lck(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)) in mesh_queue_lck() argument
1686 static int mesh_abort(struct scsi_cmnd *cmd) in mesh_abort()
1703 static int mesh_host_reset(struct scsi_cmnd *cmd) in mesh_host_reset()