Lines Matching defs:wcmd
7983 struct scsi_cmnd *wcmd;
7989 if (!(wcmd = np->waiting_list)) np->waiting_list = cmd;
7991 while (wcmd->next_wcmd)
7992 wcmd = (struct scsi_cmnd *) wcmd->next_wcmd;
7993 wcmd->next_wcmd = (char *) cmd;
7999 struct scsi_cmnd *waiting_list, *wcmd;
8007 while ((wcmd = waiting_list) != NULL) {
8008 waiting_list = (struct scsi_cmnd *) wcmd->next_wcmd;
8009 wcmd->next_wcmd = NULL;
8012 printk("%s: cmd %lx trying to requeue\n", ncr_name(np), (u_long) wcmd);
8014 sts = ncr_queue_command(np, wcmd);
8018 printk("%s: cmd %lx done forced sts=%d\n", ncr_name(np), (u_long) wcmd, sts);
8020 set_host_byte(wcmd, sts);
8021 ncr_queue_done_cmd(np, wcmd);