Lines Matching refs:WorkQ
81 static WORK *WorkQ; /* queue of things to be done */ variable
1675 for (n = 0, seqjump = 0; n < skip && WorkQ != NULL; seqjump++)
1677 if (WorkQ->w_next != NULL)
1679 if (WorkQ->w_host != NULL &&
1680 WorkQ->w_next->w_host != NULL)
1682 if (!SM_STRCASEEQ(WorkQ->w_host,
1683 WorkQ->w_next->w_host))
1688 if ((WorkQ->w_host != NULL &&
1689 WorkQ->w_next->w_host == NULL) ||
1690 (WorkQ->w_host == NULL &&
1691 WorkQ->w_next->w_host != NULL))
1695 WorkQ = WorkQ->w_next;
1750 while (WorkQ != NULL)
1775 w = WorkQ; /* assign current work item */
1792 if (WorkQ->w_next != NULL)
1794 if (WorkQ->w_host != NULL &&
1795 WorkQ->w_next->w_host != NULL)
1797 if (!SM_STRCASEEQ(WorkQ->w_host,
1798 WorkQ->w_next->w_host))
1801 WorkQ = WorkQ->w_next;
1805 if ((WorkQ->w_host != NULL &&
1806 WorkQ->w_next->w_host == NULL) ||
1807 (WorkQ->w_host == NULL &&
1808 WorkQ->w_next->w_host != NULL))
1811 WorkQ = WorkQ->w_next;
1815 WorkQ = WorkQ->w_next;
1821 for (n = 0; n < skip && WorkQ != NULL; n++)
1822 WorkQ = WorkQ->w_next;
2269 WorkQ = WorkQ->w_next;
2276 if (WorkQ == NULL)
3033 if (WorkQ != NULL)
3038 for (w = WorkQ; w != NULL; w = nw)
3046 WorkQ = NULL;
3186 w->w_next = WorkQ;
3187 WorkQ = w;
3206 for (w = WorkQ; w != NULL; w = w->w_next)
5021 for (w = WorkQ; w != NULL; w = w->w_next)