Lines Matching refs:timers
36 static Timer* timers = NULL; variable
66 if ( timers == NULL ) { in list_add()
68 timers = t; in list_add()
71 if (iperf_time_compare(&t->time, &timers->time) < 0) { in list_add()
74 t->next = timers; in list_add()
75 timers->prev = t; in list_add()
76 timers = t; in list_add()
79 for ( t2prev = timers, t2 = timers->next; t2 != NULL; in list_add()
103 timers = t->next; in list_remove()
163 if ( timers == NULL ) in tmr_timeout()
165 past = iperf_time_diff(&timers->time, &now, &diff); in tmr_timeout()
184 for ( t = timers; t != NULL; t = next ) { in tmr_run()
242 while ( timers != NULL ) in tmr_destroy()
243 tmr_cancel( timers ); in tmr_destroy()