Lines Matching defs:task_group

393 struct task_group {
426 struct task_group *parent;
462 typedef int (*tg_visitor)(struct task_group *, void *);
464 extern int walk_tg_tree_from(struct task_group *from,
478 extern int tg_nop(struct task_group *tg, void *data);
481 extern void free_fair_sched_group(struct task_group *tg);
482 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent);
483 extern void online_fair_sched_group(struct task_group *tg);
484 extern void unregister_fair_sched_group(struct task_group *tg);
486 static inline void free_fair_sched_group(struct task_group *tg) { }
487 static inline int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
491 static inline void online_fair_sched_group(struct task_group *tg) { }
492 static inline void unregister_fair_sched_group(struct task_group *tg) { }
495 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
505 extern void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq,
508 extern int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us);
509 extern int sched_group_set_rt_period(struct task_group *tg, u64 rt_period_us);
510 extern long sched_group_rt_runtime(struct task_group *tg);
511 extern long sched_group_rt_period(struct task_group *tg);
512 extern int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk);
514 extern struct task_group *sched_create_group(struct task_group *parent);
515 extern void sched_online_group(struct task_group *tg,
516 struct task_group *parent);
517 extern void sched_destroy_group(struct task_group *tg);
518 extern void sched_release_group(struct task_group *tg);
523 extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);
525 extern int sched_group_set_idle(struct task_group *tg, long idle);
543 extern void unregister_rt_sched_group(struct task_group *tg);
544 extern void free_rt_sched_group(struct task_group *tg);
545 extern int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent);
668 struct task_group *tg; /* group that "owns" this runqueue */
670 /* Locally cached copy of our task_group's idle value */
734 struct task_group *tg;
2024 static inline struct task_group *task_group(struct task_struct *p)
2033 struct task_group *tg = task_group(p);
2052 static inline struct task_group *task_group(struct task_struct *p)