Lines Matching refs:task_group
229 struct task_group { struct
255 struct task_group *parent; argument
281 typedef int (*tg_visitor)(struct task_group *, void *); argument
283 extern int walk_tg_tree_from(struct task_group *from,
297 extern int tg_nop(struct task_group *tg, void *data);
299 extern void free_fair_sched_group(struct task_group *tg);
300 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent);
301 extern void unregister_fair_sched_group(struct task_group *tg, int cpu);
302 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
306 extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);
312 extern void free_rt_sched_group(struct task_group *tg);
313 extern int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent);
314 extern void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq,
318 extern struct task_group *sched_create_group(struct task_group *parent);
319 extern void sched_online_group(struct task_group *tg,
320 struct task_group *parent);
321 extern void sched_destroy_group(struct task_group *tg);
322 extern void sched_offline_group(struct task_group *tg);
327 extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);
408 struct task_group *tg; /* group that "owns" this runqueue */
469 struct task_group *tg;
906 static inline struct task_group *task_group(struct task_struct *p) in task_group() function
915 struct task_group *tg = task_group(p); in set_task_rq()
932 static inline struct task_group *task_group(struct task_struct *p) in task_group() function