Lines Matching refs:task_group
3594 static struct cgroup *tg_cgrp(struct task_group *tg) in tg_cgrp()
3651 static int scx_ops_init_task(struct task_struct *p, struct task_group *tg, bool fork) in scx_ops_init_task()
3798 return scx_ops_init_task(p, task_group(p), true); in scx_fork()
3939 int scx_tg_online(struct task_group *tg) in scx_tg_online()
3967 void scx_tg_offline(struct task_group *tg) in scx_tg_offline()
3993 struct cgroup *from = tg_cgrp(task_group(p)); in scx_cgroup_can_attach()
4041 p, p->scx.cgrp_moving_from, tg_cgrp(task_group(p))); in scx_cgroup_move_task()
4068 void scx_group_set_weight(struct task_group *tg, unsigned long weight) in scx_group_set_weight()
4082 void scx_group_set_idle(struct task_group *tg, bool idle) in scx_group_set_idle()
4250 struct task_group *tg = css_tg(css); in scx_cgroup_exit()
4284 struct task_group *tg = css_tg(css); in scx_cgroup_init()
5471 ret = scx_ops_init_task(p, task_group(p), false); in scx_ops_enable()
7245 struct task_group *tg = p->sched_task_group; in scx_bpf_task_cgroup()