Lines Matching refs:next_timeout
64 static struct sys_timeo *next_timeout; variable
286 if (next_timeout == NULL) { in sys_timeout_debug()
287 next_timeout = timeout; in sys_timeout_debug()
291 if (next_timeout->time > msecs) { in sys_timeout_debug()
292 next_timeout->time -= msecs; in sys_timeout_debug()
293 timeout->next = next_timeout; in sys_timeout_debug()
294 next_timeout = timeout; in sys_timeout_debug()
296 for(t = next_timeout; t != NULL; t = t->next) { in sys_timeout_debug()
325 if (next_timeout == NULL) { in sys_untimeout()
329 for (t = next_timeout, prev_t = NULL; t != NULL; prev_t = t, t = t->next) { in sys_untimeout()
334 next_timeout = t->next; in sys_untimeout()
360 if (next_timeout) { in sys_check_timeouts()
377 tmptimeout = next_timeout; in sys_check_timeouts()
383 next_timeout = tmptimeout->next; in sys_check_timeouts()
431 if (!next_timeout) { in sys_timeouts_mbox_fetch()
434 if (next_timeout->time > 0) { in sys_timeouts_mbox_fetch()
435 time_needed = sys_arch_mbox_fetch(mbox, msg, next_timeout->time); in sys_timeouts_mbox_fetch()
444 tmptimeout = next_timeout; in sys_timeouts_mbox_fetch()
445 next_timeout = tmptimeout->next; in sys_timeouts_mbox_fetch()
470 if (time_needed < next_timeout->time) { in sys_timeouts_mbox_fetch()
471 next_timeout->time -= time_needed; in sys_timeouts_mbox_fetch()
473 next_timeout->time = 0; in sys_timeouts_mbox_fetch()