Lines Matching refs:timer
161 /* We need to restart the timer only if the list is not empty now */
168 /* start the timer to the timeout [msec] */
171 CL_DBG("__cl_event_wheel_callback: Restart timer in: "
173 cl_status = cl_timer_start(&p_event_wheel->timer, new_timeout);
176 "Failed to start timer\n");
193 cl_timer_construct(&(p_event_wheel->timer));
209 /* init the timer with timeout */
210 cl_status = cl_timer_init(&p_event_wheel->timer, __cl_event_wheel_callback, p_event_wheel); /* cb context */
275 /* destroy the timer */
276 cl_timer_destroy(&p_event_wheel->timer);
336 /* If the list is empty - need to start the timer */
339 * ++TBD Consider moving the timer manipulation behind the list manipulation.
346 /* stop the timer if it is running */
353 * is in race condition with this code. It sets timer.in_timer_cb
358 * cl_timer_stop(&p_event_wheel->timer);
365 to = 0xffffffff; /* max 32 bit timer */
370 /* start the timer to the timeout [msec] */
371 cl_status = cl_timer_start(&p_event_wheel->timer, to);
374 "Failed to start timer\n");