Lines Matching refs:task_group

750 int walk_tg_tree_from(struct task_group *from,  in walk_tg_tree_from()
753 struct task_group *parent, *child; in walk_tg_tree_from()
781 int tg_nop(struct task_group *tg, void *data) in tg_nop()
3558 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()
3559 !task_group_is_autogroup(task_group(p))) { in __sched_setscheduler()
7100 struct task_group root_task_group;
7461 static void free_sched_group(struct task_group *tg) in free_sched_group()
7470 struct task_group *sched_create_group(struct task_group *parent) in sched_create_group()
7472 struct task_group *tg; in sched_create_group()
7491 void sched_online_group(struct task_group *tg, struct task_group *parent) in sched_online_group()
7510 free_sched_group(container_of(rhp, struct task_group, rcu)); in free_sched_group_rcu()
7514 void sched_destroy_group(struct task_group *tg) in sched_destroy_group()
7520 void sched_offline_group(struct task_group *tg) in sched_offline_group()
7542 struct task_group *tg; in sched_move_task()
7563 struct task_group, css); in sched_move_task()
7590 static inline int tg_has_rt_tasks(struct task_group *tg) in tg_has_rt_tasks()
7601 if (rt_task(p) && task_group(p) == tg) in tg_has_rt_tasks()
7609 struct task_group *tg;
7614 static int tg_rt_schedulable(struct task_group *tg, void *data) in tg_rt_schedulable()
7617 struct task_group *child; in tg_rt_schedulable()
7670 static int __rt_schedulable(struct task_group *tg, u64 period, u64 runtime) in __rt_schedulable()
7687 static int tg_set_rt_bandwidth(struct task_group *tg, in tg_set_rt_bandwidth()
7728 static int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us) in sched_group_set_rt_runtime()
7740 static long sched_group_rt_runtime(struct task_group *tg) in sched_group_rt_runtime()
7752 static int sched_group_set_rt_period(struct task_group *tg, long rt_period_us) in sched_group_set_rt_period()
7762 static long sched_group_rt_period(struct task_group *tg) in sched_group_rt_period()
7786 static int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk) in sched_rt_can_attach()
7958 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg()
7960 return css ? container_of(css, struct task_group, css) : NULL; in css_tg()
7966 struct task_group *parent = css_tg(parent_css); in cpu_cgroup_css_alloc()
7967 struct task_group *tg; in cpu_cgroup_css_alloc()
7983 struct task_group *tg = css_tg(css); in cpu_cgroup_css_online()
7984 struct task_group *parent = css_tg(css->parent); in cpu_cgroup_css_online()
7993 struct task_group *tg = css_tg(css); in cpu_cgroup_css_free()
8000 struct task_group *tg = css_tg(css); in cpu_cgroup_css_offline()
8062 struct task_group *tg = css_tg(css); in cpu_shares_read_u64()
8073 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 runtime);
8075 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota) in tg_set_cfs_bandwidth()
8150 int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us) in tg_set_cfs_quota()
8163 long tg_get_cfs_quota(struct task_group *tg) in tg_get_cfs_quota()
8176 int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period()
8186 long tg_get_cfs_period(struct task_group *tg) in tg_get_cfs_period()
8221 struct task_group *tg;
8229 static u64 normalize_cfs_quota(struct task_group *tg, in normalize_cfs_quota()
8249 static int tg_cfs_schedulable_down(struct task_group *tg, void *data) in tg_cfs_schedulable_down()
8277 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 quota) in __cfs_schedulable()
8300 struct task_group *tg = css_tg(seq_css(sf)); in cpu_stats_show()