Lines Matching refs:timeout
123 /** The one and only timeout list */
188 struct sys_timeo *timeout, *t;
190 timeout = (struct sys_timeo *)memp_malloc(MEMP_SYS_TIMEOUT);
191 if (timeout == NULL) {
192 LWIP_ASSERT("sys_timeout: timeout != NULL, pool MEMP_SYS_TIMEOUT is empty", timeout != NULL);
196 timeout->next = NULL;
197 timeout->h = handler;
198 timeout->arg = arg;
199 timeout->time = abs_time;
202 timeout->handler_name = handler_name;
204 (void *)timeout, abs_time, handler_name, (void *)arg));
208 next_timeout = timeout;
211 if (TIME_LESS_THAN(timeout->time, next_timeout->time)) {
212 timeout->next = next_timeout;
213 next_timeout = timeout;
216 if ((t->next == NULL) || TIME_LESS_THAN(timeout->time, t->next->time)) {
217 timeout->next = t->next;
218 t->next = timeout;
278 * Create a one-shot timer (aka timeout). Timeouts are processed in the
311 * Go through timeout list (for this task only) and remove the first matching
312 * entry (subsequent entries remain untouched), even though the timeout has not
315 * @param handler callback function that would be called by the timeout
348 * tcpip_thread/sys_timeouts_mbox_fetch(). Uses sys_now() to call timeout
400 /** Rebase the timeout times to the current time.
424 /** Return the time left before the next timeout is due. If no timeouts are