Home
last modified time | relevance | path

Searched refs:task_group (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/kernel/sched/
Dauto_group.h13 struct task_group *tg;
20 extern void autogroup_free(struct task_group *tg);
22 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup()
27 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg);
29 static inline struct task_group *
30 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group()
40 extern int autogroup_path(struct task_group *tg, char *buf, int buflen);
45 static inline void autogroup_free(struct task_group *tg) { } in autogroup_free()
46 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup()
51 static inline struct task_group *
[all …]
Dsched.h240 struct task_group { struct
265 struct task_group *parent; argument
291 typedef int (*tg_visitor)(struct task_group *, void *); argument
293 extern int walk_tg_tree_from(struct task_group *from,
307 extern int tg_nop(struct task_group *tg, void *data);
309 extern void free_fair_sched_group(struct task_group *tg);
310 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent);
311 extern void unregister_fair_sched_group(struct task_group *tg, int cpu);
312 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
316 extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);
[all …]
Dauto_group.c22 void autogroup_free(struct task_group *tg) in autogroup_free()
68 struct task_group *tg; in autogroup_create()
110 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup()
242 int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
Dcore.c775 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()
[all …]
Drt.c140 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group()
158 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry()
185 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
253 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group()
255 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
457 typedef struct task_group *rt_rq_iter_t;
459 static inline struct task_group *next_task_group(struct task_group *tg) in next_task_group()
463 typeof(struct task_group), list); in next_task_group()
554 return container_of(rt_b, struct task_group, rt_bandwidth)->rt_rq[cpu]; in sched_rt_period_rt_rq()
Dfair.c1121 static long effective_load(struct task_group *tg, int cpu, long wl, long wg);
2362 static inline long calc_tg_weight(struct task_group *tg, struct cfs_rq *cfs_rq) in calc_tg_weight()
2378 static long calc_cfs_shares(struct cfs_rq *cfs_rq, struct task_group *tg) in calc_cfs_shares()
2397 static inline long calc_cfs_shares(struct cfs_rq *cfs_rq, struct task_group *tg) in calc_cfs_shares()
2422 struct task_group *tg; in update_cfs_shares()
3384 static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) in tg_cfs_bandwidth()
3401 struct task_group *tg = cfs_rq->tg; in assign_cfs_rq_runtime()
3512 static inline int throttled_lb_pair(struct task_group *tg, in throttled_lb_pair()
3525 static int tg_unthrottle_up(struct task_group *tg, void *data) in tg_unthrottle_up()
3542 static int tg_throttle_down(struct task_group *tg, void *data) in tg_throttle_down()
[all …]
Ddebug.c62 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats()
102 static char *task_group_path(struct task_group *tg) in task_group_path()
139 SEQ_printf(m, " %s", task_group_path(task_group(p))); in print_task()
/linux-4.4.14/include/linux/
Dinit_task.h133 extern struct task_group root_task_group;
Dsched.h191 struct task_group;
1404 struct task_group *sched_task_group;
3117 extern struct task_group root_task_group;