Lines Matching refs:task_group
3912 static struct cgroup *tg_cgrp(struct task_group *tg) in tg_cgrp()
3954 SCX_INIT_TASK_ARGS_CGROUP(cgrp ?: tg_cgrp(task_group(p))) in __scx_init_task()
4816 void scx_tg_init(struct task_group *tg) in scx_tg_init()
4841 static struct scx_sched *scx_tg_sched(struct task_group *tg) in scx_tg_sched()
4868 static struct scx_sched *scx_tg_knob_sched(struct task_group *tg) in scx_tg_knob_sched()
4878 int scx_tg_online(struct task_group *tg) in scx_tg_online()
4922 void scx_tg_offline(struct task_group *tg) in scx_tg_offline()
4957 struct cgroup *from = tg_cgrp(task_group(p)); in scx_cgroup_can_attach()
5024 tg_cgrp(task_group(p))); in scx_cgroup_move_task()
5047 void scx_group_set_weight(struct task_group *tg, unsigned long weight) in scx_group_set_weight()
5063 void scx_group_set_idle(struct task_group *tg, bool idle) in scx_group_set_idle()
5080 void scx_group_set_bandwidth(struct task_group *tg, in scx_group_set_bandwidth()
5311 struct task_group *tg = css_tg(css); in scx_cgroup_exit()
5333 struct task_group *tg = css_tg(css); in scx_cgroup_init()
10871 struct task_group *tg = p->sched_task_group; in scx_bpf_task_cgroup()