Lines Matching defs:arg
143 * @param arg unused argument
146 tcpip_tcp_timer(void *arg)
148 LWIP_UNUSED_ARG(arg);
183 sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg, const char *handler_name)
185 sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg)
198 timeout->arg = arg;
203 LWIP_DEBUGF(TIMERS_DEBUG, ("sys_timeout: %p abs_time=%"U32_F" handler=%s arg=%p\n",
204 (void *)timeout, abs_time, handler_name, (void *)arg));
228 * @param arg unused argument
234 lwip_cyclic_timer(void *arg)
238 const struct lwip_cyclic_timer *cyclic = (const struct lwip_cyclic_timer *)arg;
250 sys_timeout_abs((u32_t)(now + cyclic->interval_ms), lwip_cyclic_timer, arg, cyclic->handler_name);
252 sys_timeout_abs((u32_t)(now + cyclic->interval_ms), lwip_cyclic_timer, arg);
258 sys_timeout_abs(next_timeout_time, lwip_cyclic_timer, arg, cyclic->handler_name);
260 sys_timeout_abs(next_timeout_time, lwip_cyclic_timer, arg);
285 * @param arg argument to pass to the callback function
289 sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char *handler_name)
292 sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg)
304 sys_timeout_abs(next_timeout_time, handler, arg, handler_name);
306 sys_timeout_abs(next_timeout_time, handler, arg);
316 * @param arg callback argument that would be passed to handler
319 sys_untimeout(sys_timeout_handler handler, void *arg)
330 if ((t->h == handler) && (t->arg == arg)) {
366 void *arg;
382 arg = tmptimeout->arg;
386 LWIP_DEBUGF(TIMERS_DEBUG, ("sct calling h=%s t=%"U32_F" arg=%p\n",
387 tmptimeout->handler_name, sys_now() - tmptimeout->time, arg));
392 handler(arg);