Lines Matching refs:WorkQ
73 static WORK *WorkQ; /* queue of things to be done */ variable
1615 for (n = 0, seqjump = 0; n < skip && WorkQ != NULL; seqjump++)
1617 if (WorkQ->w_next != NULL)
1619 if (WorkQ->w_host != NULL &&
1620 WorkQ->w_next->w_host != NULL)
1622 if (sm_strcasecmp(WorkQ->w_host,
1623 WorkQ->w_next->w_host) != 0)
1628 if ((WorkQ->w_host != NULL &&
1629 WorkQ->w_next->w_host == NULL) ||
1630 (WorkQ->w_host == NULL &&
1631 WorkQ->w_next->w_host != NULL))
1635 WorkQ = WorkQ->w_next;
1690 while (WorkQ != NULL)
1715 w = WorkQ; /* assign current work item */
1732 if (WorkQ->w_next != NULL)
1734 if (WorkQ->w_host != NULL &&
1735 WorkQ->w_next->w_host != NULL)
1737 if (sm_strcasecmp(WorkQ->w_host,
1738 WorkQ->w_next->w_host)
1742 WorkQ = WorkQ->w_next;
1746 if ((WorkQ->w_host != NULL &&
1747 WorkQ->w_next->w_host == NULL) ||
1748 (WorkQ->w_host == NULL &&
1749 WorkQ->w_next->w_host != NULL))
1752 WorkQ = WorkQ->w_next;
1756 WorkQ = WorkQ->w_next;
1761 for (n = 0; n < skip && WorkQ != NULL; n++)
1762 WorkQ = WorkQ->w_next;
2202 WorkQ = WorkQ->w_next;
2209 if (WorkQ == NULL)
2961 if (WorkQ != NULL)
2966 for (w = WorkQ; w != NULL; w = nw)
2974 WorkQ = NULL;
3114 w->w_next = WorkQ;
3115 WorkQ = w;
3134 for (w = WorkQ; w != NULL; w = w->w_next)
4899 for (w = WorkQ; w != NULL; w = w->w_next)