Lines Matching refs:WorkQ
73 static WORK *WorkQ; /* queue of things to be done */ variable
1637 for (n = 0, seqjump = 0; n < skip && WorkQ != NULL; seqjump++)
1639 if (WorkQ->w_next != NULL)
1641 if (WorkQ->w_host != NULL &&
1642 WorkQ->w_next->w_host != NULL)
1644 if (sm_strcasecmp(WorkQ->w_host,
1645 WorkQ->w_next->w_host) != 0)
1650 if ((WorkQ->w_host != NULL &&
1651 WorkQ->w_next->w_host == NULL) ||
1652 (WorkQ->w_host == NULL &&
1653 WorkQ->w_next->w_host != NULL))
1657 WorkQ = WorkQ->w_next;
1712 while (WorkQ != NULL)
1737 w = WorkQ; /* assign current work item */
1754 if (WorkQ->w_next != NULL)
1756 if (WorkQ->w_host != NULL &&
1757 WorkQ->w_next->w_host != NULL)
1759 if (sm_strcasecmp(WorkQ->w_host,
1760 WorkQ->w_next->w_host)
1764 WorkQ = WorkQ->w_next;
1768 if ((WorkQ->w_host != NULL &&
1769 WorkQ->w_next->w_host == NULL) ||
1770 (WorkQ->w_host == NULL &&
1771 WorkQ->w_next->w_host != NULL))
1774 WorkQ = WorkQ->w_next;
1778 WorkQ = WorkQ->w_next;
1783 for (n = 0; n < skip && WorkQ != NULL; n++)
1784 WorkQ = WorkQ->w_next;
2234 WorkQ = WorkQ->w_next;
2241 if (WorkQ == NULL)
2993 if (WorkQ != NULL)
2998 for (w = WorkQ; w != NULL; w = nw)
3006 WorkQ = NULL;
3146 w->w_next = WorkQ;
3147 WorkQ = w;
3166 for (w = WorkQ; w != NULL; w = w->w_next)
4956 for (w = WorkQ; w != NULL; w = w->w_next)