Lines Matching defs:tg

539 extern int tg_nop(struct task_group *tg, void *data);
541 extern void free_fair_sched_group(struct task_group *tg);
542 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent);
543 extern void online_fair_sched_group(struct task_group *tg);
544 extern void unregister_fair_sched_group(struct task_group *tg);
545 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq, struct sched_entity *se, int cpu,
553 extern void free_rt_sched_group(struct task_group *tg);
554 extern int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent);
555 extern void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, struct sched_rt_entity *rt_se, int cpu,
557 extern int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us);
558 extern int sched_group_set_rt_period(struct task_group *tg, u64 rt_period_us);
559 extern long sched_group_rt_runtime(struct task_group *tg);
560 extern long sched_group_rt_period(struct task_group *tg);
561 extern int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk);
564 extern void sched_online_group(struct task_group *tg, struct task_group *parent);
565 extern void sched_destroy_group(struct task_group *tg);
566 extern void sched_offline_group(struct task_group *tg);
571 extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);
639 * h_load = weight * f(tg)
641 * Where f(tg) is the recursive weight fraction assigned to
663 struct task_group *tg; /* group that "owns" this runqueue */
728 struct task_group *tg;
1649 * The same is true for autogroup's p->signal->autogroup->tg, the autogroup
1664 struct task_group *tg = task_group(p);
1668 set_task_rq_fair(&p->se, p->se.cfs_rq, tg->cfs_rq[cpu]);
1669 p->se.cfs_rq = tg->cfs_rq[cpu];
1670 p->se.parent = tg->se[cpu];
1674 p->rt.rt_rq = tg->rt_rq[cpu];
1675 p->rt.parent = tg->rt_se[cpu];