Lines Matching refs:eventtab
82 struct event eventtab[EVENTMX]; variable
138 eventtab[p].type = NULLEVENT; in init()
180 if (eventtab[i].type == NULLEVENT) { in addevent()
181 eventtab[i].type = type; in addevent()
182 eventtab[i].proc = proc; in addevent()
183 eventtab[i].time = t; in addevent()
206 if ((eventtab[i].type != NULLEVENT) in nextevent()
207 && (eventtab[i].time < mintime)) { in nextevent()
209 mintime = eventtab[i].time; in nextevent()
214 rtrevent.type = eventtab[imin].type; in nextevent()
215 rtrevent.proc = eventtab[imin].proc; in nextevent()
216 rtrevent.time = eventtab[imin].time; in nextevent()
217 eventtab[imin].type = NULLEVENT; in nextevent()