Lines Matching refs:task_group

775 int walk_tg_tree_from(struct task_group *from,  in walk_tg_tree_from()
778 struct task_group *parent, *child; in walk_tg_tree_from()
806 int tg_nop(struct task_group *tg, void *data) in tg_nop()
3926 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()
3927 !task_group_is_autogroup(task_group(p))) { in __sched_setscheduler()
7358 struct task_group root_task_group;
7697 static void sched_free_group(struct task_group *tg) in sched_free_group()
7706 struct task_group *sched_create_group(struct task_group *parent) in sched_create_group()
7708 struct task_group *tg; in sched_create_group()
7727 void sched_online_group(struct task_group *tg, struct task_group *parent) in sched_online_group()
7746 sched_free_group(container_of(rhp, struct task_group, rcu)); in sched_free_group_rcu()
7749 void sched_destroy_group(struct task_group *tg) in sched_destroy_group()
7755 void sched_offline_group(struct task_group *tg) in sched_offline_group()
7777 struct task_group *tg; in sched_move_task()
7798 struct task_group, css); in sched_move_task()
7825 static inline int tg_has_rt_tasks(struct task_group *tg) in tg_has_rt_tasks()
7836 if (rt_task(p) && task_group(p) == tg) in tg_has_rt_tasks()
7844 struct task_group *tg;
7849 static int tg_rt_schedulable(struct task_group *tg, void *data) in tg_rt_schedulable()
7852 struct task_group *child; in tg_rt_schedulable()
7905 static int __rt_schedulable(struct task_group *tg, u64 period, u64 runtime) in __rt_schedulable()
7922 static int tg_set_rt_bandwidth(struct task_group *tg, in tg_set_rt_bandwidth()
7963 static int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us) in sched_group_set_rt_runtime()
7975 static long sched_group_rt_runtime(struct task_group *tg) in sched_group_rt_runtime()
7987 static int sched_group_set_rt_period(struct task_group *tg, u64 rt_period_us) in sched_group_set_rt_period()
7997 static long sched_group_rt_period(struct task_group *tg) in sched_group_rt_period()
8021 static int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk) in sched_rt_can_attach()
8193 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg()
8195 return css ? container_of(css, struct task_group, css) : NULL; in css_tg()
8201 struct task_group *parent = css_tg(parent_css); in cpu_cgroup_css_alloc()
8202 struct task_group *tg; in cpu_cgroup_css_alloc()
8220 struct task_group *tg = css_tg(css); in cpu_cgroup_css_released()
8227 struct task_group *tg = css_tg(css); in cpu_cgroup_css_free()
8277 struct task_group *tg = css_tg(css); in cpu_shares_read_u64()
8288 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 runtime);
8290 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota) in tg_set_cfs_bandwidth()
8363 int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us) in tg_set_cfs_quota()
8376 long tg_get_cfs_quota(struct task_group *tg) in tg_get_cfs_quota()
8389 int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period()
8399 long tg_get_cfs_period(struct task_group *tg) in tg_get_cfs_period()
8434 struct task_group *tg;
8442 static u64 normalize_cfs_quota(struct task_group *tg, in normalize_cfs_quota()
8462 static int tg_cfs_schedulable_down(struct task_group *tg, void *data) in tg_cfs_schedulable_down()
8490 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 quota) in __cfs_schedulable()
8513 struct task_group *tg = css_tg(seq_css(sf)); in cpu_stats_show()