Lines Matching refs:timeout
39 typedef struct timeout { struct
40 struct timeout *sip_timeout_next; argument
67 sip_timeout_t *timeout = NULL; in sip_run_to_functions() local
71 timeout = timeout_current_start; in sip_run_to_functions()
75 timeout_current_start = timeout->sip_timeout_next; in sip_run_to_functions()
77 timeout->sip_timeout_callback_func( in sip_run_to_functions()
78 timeout->sip_timeout_callback_func_arg); in sip_run_to_functions()
79 free(timeout); in sip_run_to_functions()
242 sip_timeout_t *timeout = NULL; in sip_schedule_to_functions() local
263 timeout = timeout_list; in sip_schedule_to_functions()
268 while (timeout != NULL && timeout->sip_timeout_val <= current_time) { in sip_schedule_to_functions()
269 last = timeout; in sip_schedule_to_functions()
270 timeout = timeout->sip_timeout_next; in sip_schedule_to_functions()
273 timeout = last; in sip_schedule_to_functions()
274 if (timeout != NULL) { in sip_schedule_to_functions()
277 timeout_current_end = timeout; in sip_schedule_to_functions()
280 timeout_current_end = timeout; in sip_schedule_to_functions()
283 timeout_list = timeout->sip_timeout_next; in sip_schedule_to_functions()
284 timeout->sip_timeout_next = NULL; in sip_schedule_to_functions()