Lines Matching refs:task_group
391 struct task_group { struct
424 struct task_group *parent; argument
460 typedef int (*tg_visitor)(struct task_group *, void *); argument
462 extern int walk_tg_tree_from(struct task_group *from,
476 extern int tg_nop(struct task_group *tg, void *data);
478 extern void free_fair_sched_group(struct task_group *tg);
479 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent);
480 extern void online_fair_sched_group(struct task_group *tg);
481 extern void unregister_fair_sched_group(struct task_group *tg);
482 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
491 extern void unregister_rt_sched_group(struct task_group *tg);
492 extern void free_rt_sched_group(struct task_group *tg);
493 extern int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent);
494 extern void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq,
497 extern int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us);
498 extern int sched_group_set_rt_period(struct task_group *tg, u64 rt_period_us);
499 extern long sched_group_rt_runtime(struct task_group *tg);
500 extern long sched_group_rt_period(struct task_group *tg);
501 extern int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk);
503 extern struct task_group *sched_create_group(struct task_group *parent);
504 extern void sched_online_group(struct task_group *tg,
505 struct task_group *parent);
506 extern void sched_destroy_group(struct task_group *tg);
507 extern void sched_release_group(struct task_group *tg);
512 extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);
514 extern int sched_group_set_idle(struct task_group *tg, long idle);
611 struct task_group *tg; /* group that "owns" this runqueue */
672 struct task_group *tg;
1872 static inline struct task_group *task_group(struct task_struct *p) in task_group() function
1881 struct task_group *tg = task_group(p); in set_task_rq()
1899 static inline struct task_group *task_group(struct task_struct *p) in task_group() function