Lines Matching refs:tmp_cmd
244 struct scsi_cmnd *tmp_cmd; in aha1542_interrupt() local
324 tmp_cmd = aha1542->int_cmds[mbo]; in aha1542_interrupt()
326 if (!tmp_cmd || !tmp_cmd->scsi_done) { in aha1542_interrupt()
333 my_done = tmp_cmd->scsi_done; in aha1542_interrupt()
334 kfree(tmp_cmd->host_scribble); in aha1542_interrupt()
335 tmp_cmd->host_scribble = NULL; in aha1542_interrupt()
340 memcpy(tmp_cmd->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen], in aha1542_interrupt()
362 tmp_cmd->result = errstatus; in aha1542_interrupt()
365 my_done(tmp_cmd); in aha1542_interrupt()
888 struct scsi_cmnd *tmp_cmd; in aha1542_reset() local
889 tmp_cmd = aha1542->int_cmds[i]; in aha1542_reset()
891 if (tmp_cmd->device->soft_reset) { in aha1542_reset()
900 kfree(tmp_cmd->host_scribble); in aha1542_reset()
901 tmp_cmd->host_scribble = NULL; in aha1542_reset()