• Home
  • Raw
  • Download

Lines Matching refs:iter

565 #define for_each_rt_rq(rt_rq, iter, rq)					\  argument
566 for (iter = container_of(&task_groups, typeof(*iter), list); \
567 (iter = next_task_group(iter)) && \
568 (rt_rq = iter->rt_rq[cpu_of(rq)]);)
672 #define for_each_rt_rq(rt_rq, iter, rq) \ argument
673 for ((void) iter, rt_rq = &rq->rt; rt_rq; rt_rq = NULL)
746 struct rt_rq *iter = sched_rt_period_rt_rq(rt_b, i); in do_balance_runtime() local
749 if (iter == rt_rq) in do_balance_runtime()
752 raw_spin_lock(&iter->rt_runtime_lock); in do_balance_runtime()
758 if (iter->rt_runtime == RUNTIME_INF) in do_balance_runtime()
765 diff = iter->rt_runtime - iter->rt_time; in do_balance_runtime()
770 iter->rt_runtime -= diff; in do_balance_runtime()
773 raw_spin_unlock(&iter->rt_runtime_lock); in do_balance_runtime()
778 raw_spin_unlock(&iter->rt_runtime_lock); in do_balance_runtime()
789 rt_rq_iter_t iter; in __disable_runtime() local
795 for_each_rt_rq(rt_rq, iter, rq) { in __disable_runtime()
823 struct rt_rq *iter = sched_rt_period_rt_rq(rt_b, i); in __disable_runtime() local
829 if (iter == rt_rq || iter->rt_runtime == RUNTIME_INF) in __disable_runtime()
832 raw_spin_lock(&iter->rt_runtime_lock); in __disable_runtime()
834 diff = min_t(s64, iter->rt_runtime, want); in __disable_runtime()
835 iter->rt_runtime -= diff; in __disable_runtime()
838 iter->rt_runtime -= want; in __disable_runtime()
841 raw_spin_unlock(&iter->rt_runtime_lock); in __disable_runtime()
870 rt_rq_iter_t iter; in __enable_runtime() local
879 for_each_rt_rq(rt_rq, iter, rq) { in __enable_runtime()
3167 rt_rq_iter_t iter; in print_rt_stats() local
3171 for_each_rt_rq(rt_rq, iter, cpu_rq(cpu)) in print_rt_stats()