Lines Matching full:t
348 struct rt_timer *t; in rt_timer_start() local
352 t = rt_list_entry(p, struct rt_timer, row[row_lvl]); in rt_timer_start()
359 if ((t->timeout_tick - timer->timeout_tick) == 0) in rt_timer_start()
363 else if ((t->timeout_tick - timer->timeout_tick) < RT_TICK_MAX / 2) in rt_timer_start()
496 struct rt_timer *t; in rt_timer_check() local
509 t = rt_list_entry(rt_timer_list[RT_TIMER_SKIP_LIST_LEVEL - 1].next, in rt_timer_check()
516 if ((current_tick - t->timeout_tick) < RT_TICK_MAX / 2) in rt_timer_check()
518 RT_OBJECT_HOOK_CALL(rt_timer_enter_hook, (t)); in rt_timer_check()
521 _rt_timer_remove(t); in rt_timer_check()
524 t->timeout_func(t->parameter); in rt_timer_check()
529 RT_OBJECT_HOOK_CALL(rt_timer_exit_hook, (t)); in rt_timer_check()
532 if ((t->parent.flag & RT_TIMER_FLAG_PERIODIC) && in rt_timer_check()
533 (t->parent.flag & RT_TIMER_FLAG_ACTIVATED)) in rt_timer_check()
536 t->parent.flag &= ~RT_TIMER_FLAG_ACTIVATED; in rt_timer_check()
537 rt_timer_start(t); in rt_timer_check()
542 t->parent.flag &= ~RT_TIMER_FLAG_ACTIVATED; in rt_timer_check()
574 struct rt_timer *t; in rt_soft_timer_check() local
586 t = rt_list_entry(n, struct rt_timer, row[RT_TIMER_SKIP_LIST_LEVEL - 1]); in rt_soft_timer_check()
592 if ((current_tick - t->timeout_tick) < RT_TICK_MAX / 2) in rt_soft_timer_check()
594 RT_OBJECT_HOOK_CALL(rt_timer_enter_hook, (t)); in rt_soft_timer_check()
600 _rt_timer_remove(t); in rt_soft_timer_check()
605 t->timeout_func(t->parameter); in rt_soft_timer_check()
610 RT_OBJECT_HOOK_CALL(rt_timer_exit_hook, (t)); in rt_soft_timer_check()
616 if ((t->parent.flag & RT_TIMER_FLAG_PERIODIC) && in rt_soft_timer_check()
617 (t->parent.flag & RT_TIMER_FLAG_ACTIVATED)) in rt_soft_timer_check()
620 t->parent.flag &= ~RT_TIMER_FLAG_ACTIVATED; in rt_soft_timer_check()
621 rt_timer_start(t); in rt_soft_timer_check()
626 t->parent.flag &= ~RT_TIMER_FLAG_ACTIVATED; in rt_soft_timer_check()