Lines Matching defs:wcmd
8172 struct scsi_cmnd *wcmd;
8178 if (!(wcmd = np->waiting_list)) np->waiting_list = cmd;
8180 while (wcmd->next_wcmd)
8181 wcmd = (struct scsi_cmnd *) wcmd->next_wcmd;
8182 wcmd->next_wcmd = (char *) cmd;
8208 struct scsi_cmnd *waiting_list, *wcmd;
8216 while ((wcmd = waiting_list) != NULL) {
8217 waiting_list = (struct scsi_cmnd *) wcmd->next_wcmd;
8218 wcmd->next_wcmd = NULL;
8221 printk("%s: cmd %lx trying to requeue\n", ncr_name(np), (u_long) wcmd);
8223 sts = ncr_queue_command(np, wcmd);
8227 printk("%s: cmd %lx done forced sts=%d\n", ncr_name(np), (u_long) wcmd, sts);
8229 wcmd->result = sts << 16;
8230 ncr_queue_done_cmd(np, wcmd);