Lines Matching refs:tg
465 extern int tg_nop(struct task_group *tg, void *data);
467 extern void free_fair_sched_group(struct task_group *tg);
468 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent);
469 extern void online_fair_sched_group(struct task_group *tg);
470 extern void unregister_fair_sched_group(struct task_group *tg);
471 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
480 extern void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq,
483 extern int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us);
484 extern int sched_group_set_rt_period(struct task_group *tg, u64 rt_period_us);
485 extern long sched_group_rt_runtime(struct task_group *tg);
486 extern long sched_group_rt_period(struct task_group *tg);
487 extern int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk);
490 extern void sched_online_group(struct task_group *tg,
492 extern void sched_destroy_group(struct task_group *tg);
493 extern void sched_release_group(struct task_group *tg);
498 extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);
500 extern int sched_group_set_idle(struct task_group *tg, long idle);
517 extern void unregister_rt_sched_group(struct task_group *tg);
518 extern void free_rt_sched_group(struct task_group *tg);
519 extern int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent);
640 struct task_group *tg; /* group that "owns" this runqueue */ member
705 struct task_group *tg; member
1977 struct task_group *tg = task_group(p); in set_task_rq() local
1981 set_task_rq_fair(&p->se, p->se.cfs_rq, tg->cfs_rq[cpu]); in set_task_rq()
1982 p->se.cfs_rq = tg->cfs_rq[cpu]; in set_task_rq()
1983 p->se.parent = tg->se[cpu]; in set_task_rq()
1984 p->se.depth = tg->se[cpu] ? tg->se[cpu]->depth + 1 : 0; in set_task_rq()
1988 p->rt.rt_rq = tg->rt_rq[cpu]; in set_task_rq()
1989 p->rt.parent = tg->rt_se[cpu]; in set_task_rq()