Lines Matching refs:acmd
644 struct ahd_cmd *acmd; in ahd_linux_run_complete_queue() local
650 while ((acmd = TAILQ_FIRST(&ahd->platform_data->completeq)) != NULL) { in ahd_linux_run_complete_queue()
666 acmd, acmd_links.tqe); in ahd_linux_run_complete_queue()
667 cmd = &acmd_scsi_cmd(acmd); in ahd_linux_run_complete_queue()
676 return (acmd); in ahd_linux_run_complete_queue()
1265 struct ahd_cmd *acmd; local
1285 acmd = (struct ahd_cmd *)cmd;
1334 if (list_acmd == acmd)
2525 struct ahd_cmd *acmd; local
2533 while ((acmd = TAILQ_FIRST(busyq)) != NULL) {
2536 cmd = &acmd_scsi_cmd(acmd);
2537 TAILQ_REMOVE(busyq, acmd,
4028 struct ahd_cmd *acmd; local
4040 while ((acmd = TAILQ_FIRST(&dev->busyq)) != NULL
4056 cmd = &acmd_scsi_cmd(acmd);
4077 TAILQ_REMOVE(&dev->busyq, acmd, acmd_links.tqe);
4733 struct ahd_cmd *acmd; local
4860 acmd = (struct ahd_cmd *)cmd;
4863 < acmd_scsi_cmd(acmd).serial_number)
4866 TAILQ_INSERT_BEFORE(list_cmd, acmd, acmd_links.tqe);
4868 TAILQ_INSERT_TAIL(completeq, acmd, acmd_links.tqe);
5064 struct ahd_cmd *acmd; local
5073 TAILQ_FOREACH(acmd, &dev->busyq, acmd_links.tqe) {