Lines Matching defs:wrk
79 Event_Queue *wrk;
122 Event_Queue *wrk;
141 MALLOC (wrk, sizeof (Event_Queue));
142 memset (wrk, 0, sizeof (Event_Queue));
144 wrk->priority = priority;
145 wrk->this = THIS;
146 wrk->listhead = evptrs[i].ev;
159 wrk->forward = ev->forward;
160 ev->forward = wrk;
165 wrk->forward = prev_queue_entry->forward;
166 prev_queue_entry->forward = wrk;
170 wrk->startlist = start_list;
174 start_list = wrk;
175 prev_list_entry = wrk;
176 wrk->startlist = start_list;
180 prev_list_entry->chain = wrk;
181 prev_list_entry = wrk;
190 wrk = start_list;
191 while (wrk)
193 Event_Queue *tmp = (Event_Queue *)wrk->listhead;
195 while (tmp->forward != wrk)
197 tmp->forward = wrk->forward;
198 wrk = wrk->chain;
202 wrk = start_list;
203 while (wrk)
207 if (wrk->is_continued && ! already_done)
210 retval = wrk->listhead;
213 insloc->ptype = wrk->who_continued.ptype;
214 insloc->pcopy = wrk->who_continued.pcopy;
217 tmp = wrk->chain;
218 FREE (wrk);
219 wrk = tmp;