Searched refs:task_group (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/kernel/sched/ |
D | auto_group.h | 13 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 …]
|
D | sched.h | 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); [all …]
|
D | auto_group.c | 24 void autogroup_free(struct task_group *tg) in autogroup_free() 70 struct task_group *tg; in autogroup_create() 112 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup() 244 int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
|
D | core.c | 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() [all …]
|
D | rt.c | 136 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group() 154 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry() 181 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group() 249 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group() 251 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group() 444 typedef struct task_group *rt_rq_iter_t; 446 static inline struct task_group *next_task_group(struct task_group *tg) in next_task_group() 450 typeof(struct task_group), list); in next_task_group() 541 return container_of(rt_b, struct task_group, rt_bandwidth)->rt_rq[cpu]; in sched_rt_period_rt_rq()
|
D | fair.c | 1115 static long effective_load(struct task_group *tg, int cpu, long wl, long wg); 2321 static inline long calc_tg_weight(struct task_group *tg, struct cfs_rq *cfs_rq) in calc_tg_weight() 2337 static long calc_cfs_shares(struct cfs_rq *cfs_rq, struct task_group *tg) in calc_cfs_shares() 2356 static inline long calc_cfs_shares(struct cfs_rq *cfs_rq, struct task_group *tg) in calc_cfs_shares() 2381 struct task_group *tg; in update_cfs_shares() 2625 struct task_group *tg = cfs_rq->tg; in __update_cfs_rq_tg_load_contrib() 2647 struct task_group *tg = cfs_rq->tg; in __update_tg_runnable_avg() 2664 struct task_group *tg = cfs_rq->tg; in __update_group_entity_contrib() 3451 static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) in tg_cfs_bandwidth() 3468 struct task_group *tg = cfs_rq->tg; in assign_cfs_rq_runtime() [all …]
|
D | debug.c | 62 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats() 111 static char *task_group_path(struct task_group *tg) in task_group_path() 146 SEQ_printf(m, " %s", task_group_path(task_group(p))); in print_task()
|
/linux-4.1.27/include/linux/ |
D | init_task.h | 132 extern struct task_group root_task_group;
|
D | sched.h | 184 struct task_group; 1317 struct task_group *sched_task_group; 3019 extern struct task_group root_task_group;
|