Lines Matching refs:SmEventQueue
63 static SM_EVENT *volatile SmEventQueue; /* head of event queue */ variable
128 for (evp = (SM_EVENT **) (&SmEventQueue);
182 timersub(&SmEventQueue->ev_time, &now, &itime.it_value);
191 intvl = SmEventQueue->ev_time - now;
233 for (evp = (SM_EVENT **) (&SmEventQueue);
255 if (SmEventQueue != NULL)
304 if (SmEventQueue == NULL) in sm_clear_events()
312 for (ev = SmEventQueue; ev->ev_link != NULL; ev = ev->ev_link) in sm_clear_events()
317 SmFreeEventList = SmEventQueue; in sm_clear_events()
318 SmEventQueue = NULL; in sm_clear_events()
421 while ((ev = SmEventQueue) != NULL &&
435 ev = SmEventQueue;
436 SmEventQueue = SmEventQueue->ev_link;
448 if (SmEventQueue != NULL)
451 if (timercmp(&SmEventQueue->ev_time, &now, >))
453 timersub(&SmEventQueue->ev_time, &now,
473 if (SmEventQueue->ev_time > now)
474 (void) alarm((unsigned) (SmEventQueue->ev_time
496 if (SmEventQueue != NULL)
499 timersub(&SmEventQueue->ev_time, &now, &clr.it_value);
508 (void) alarm((unsigned) (SmEventQueue->ev_time - now));