Lines Matching refs:group
234 } group[BOOSTGROUPS_COUNT]; member
252 boost_max = bg->group[0].boost; in schedtune_cpu_update()
258 if (bg->group[idx].tasks == 0) in schedtune_cpu_update()
261 boost_max = max(boost_max, bg->group[idx].boost); in schedtune_cpu_update()
288 old_boost = bg->group[idx].boost; in schedtune_boostgroup_update()
291 bg->group[idx].boost = boost; in schedtune_boostgroup_update()
294 if (boost > cur_boost_max && bg->group[idx].tasks) { in schedtune_boostgroup_update()
320 int tasks = bg->group[idx].tasks + task_count; in schedtune_tasks_update()
323 bg->group[idx].tasks = max(0, tasks); in schedtune_tasks_update()
326 bg->group[idx].boost, bg->boost_max); in schedtune_tasks_update()
429 tasks = bg->group[src_bg].tasks - 1; in schedtune_can_attach()
430 bg->group[src_bg].tasks = max(0, tasks); in schedtune_can_attach()
431 bg->group[dst_bg].tasks += 1; in schedtune_can_attach()
437 if (bg->group[src_bg].tasks == 0 || bg->group[dst_bg].tasks == 1) in schedtune_can_attach()
648 bg->group[st->idx].boost = 0; in schedtune_boostgroup_init()
649 bg->group[st->idx].tasks = 0; in schedtune_boostgroup_init()