Lines Matching defs:tg
3569 static struct cgroup *tg_cgrp(struct task_group *tg) in tg_cgrp()
3582 #define SCX_INIT_TASK_ARGS_CGROUP(tg) .cgroup = tg_cgrp(tg), argument
3586 #define SCX_INIT_TASK_ARGS_CGROUP(tg) argument
3626 static int scx_ops_init_task(struct task_struct *p, struct task_group *tg, bool fork) in scx_ops_init_task()
3915 static void scx_cgroup_warn_missing_weight(struct task_group *tg) in scx_cgroup_warn_missing_weight()
3929 static void scx_cgroup_warn_missing_idle(struct task_group *tg) in scx_cgroup_warn_missing_idle()
3942 void scx_tg_init(struct task_group *tg) in scx_tg_init()
3947 int scx_tg_online(struct task_group *tg) in scx_tg_online()
3977 void scx_tg_offline(struct task_group *tg) in scx_tg_offline()
4078 void scx_group_set_weight(struct task_group *tg, unsigned long weight) in scx_group_set_weight()
4092 void scx_group_set_idle(struct task_group *tg, bool idle) in scx_group_set_idle()
4263 struct task_group *tg = css_tg(css); in scx_cgroup_exit() local
4300 struct task_group *tg = css_tg(css); in scx_cgroup_init() local
7304 struct task_group *tg = p->sched_task_group; in scx_bpf_task_cgroup() local