Searched refs:task_group (Results 1 – 9 of 9) sorted by relevance
/linux-3.4.99/kernel/sched/ |
D | auto_group.h | 8 struct task_group *tg; 15 extern void autogroup_free(struct task_group *tg); 17 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() 22 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg); 24 static inline struct task_group * 25 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() 35 extern int autogroup_path(struct task_group *tg, char *buf, int buflen); 40 static inline void autogroup_free(struct task_group *tg) { } in autogroup_free() 41 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() 46 static inline struct task_group * [all …]
|
D | sched.h | 104 struct task_group { struct 127 struct task_group *parent; argument 156 extern struct task_group root_task_group; argument 158 typedef int (*tg_visitor)(struct task_group *, void *); 160 extern int walk_tg_tree_from(struct task_group *from, 174 extern int tg_nop(struct task_group *tg, void *data); 176 extern void free_fair_sched_group(struct task_group *tg); 177 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent); 178 extern void unregister_fair_sched_group(struct task_group *tg, int cpu); 179 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq, [all …]
|
D | auto_group.c | 24 void autogroup_free(struct task_group *tg) in autogroup_free() 69 struct task_group *tg; in autogroup_create() 111 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup() 245 int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
|
D | fair.c | 810 struct task_group *tg = cfs_rq->tg; in update_cfs_rq_load_contribution() 870 static inline long calc_tg_weight(struct task_group *tg, struct cfs_rq *cfs_rq) in calc_tg_weight() 886 static long calc_cfs_shares(struct cfs_rq *cfs_rq, struct task_group *tg) in calc_cfs_shares() 917 static inline long calc_cfs_shares(struct cfs_rq *cfs_rq, struct task_group *tg) in calc_cfs_shares() 944 struct task_group *tg; in update_cfs_shares() 1448 static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) in tg_cfs_bandwidth() 1456 struct task_group *tg = cfs_rq->tg; in assign_cfs_rq_runtime() 1576 static inline int throttled_lb_pair(struct task_group *tg, in throttled_lb_pair() 1589 static int tg_unthrottle_up(struct task_group *tg, void *data) in tg_unthrottle_up() 1611 static int tg_throttle_down(struct task_group *tg, void *data) in tg_throttle_down() [all …]
|
D | core.c | 658 int walk_tg_tree_from(struct task_group *from, in walk_tg_tree_from() 661 struct task_group *parent, *child; in walk_tg_tree_from() 689 int tg_nop(struct task_group *tg, void *data) in tg_nop() 4367 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler() 4368 !task_group_is_autogroup(task_group(p))) { in __sched_setscheduler() 7117 struct task_group root_task_group; 7454 static void free_sched_group(struct task_group *tg) in free_sched_group() 7463 struct task_group *sched_create_group(struct task_group *parent) in sched_create_group() 7465 struct task_group *tg; in sched_create_group() 7499 free_sched_group(container_of(rhp, struct task_group, rcu)); in free_sched_group_rcu() [all …]
|
D | rt.c | 113 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group() 131 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry() 158 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group() 220 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group() 222 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group() 374 typedef struct task_group *rt_rq_iter_t; 376 static inline struct task_group *next_task_group(struct task_group *tg) in next_task_group() 380 typeof(struct task_group), list); in next_task_group() 479 return container_of(rt_b, struct task_group, rt_bandwidth)->rt_rq[cpu]; in sched_rt_period_rt_rq()
|
D | debug.c | 61 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats() 96 static char *task_group_path(struct task_group *tg) in task_group_path() 136 SEQ_printf(m, " %s", task_group_path(task_group(p))); in print_task()
|
/linux-3.4.99/include/linux/ |
D | sched.h | 153 struct task_group; 1289 struct task_group *sched_task_group; 2737 extern struct task_group root_task_group; 2739 extern struct task_group *sched_create_group(struct task_group *parent); 2740 extern void sched_destroy_group(struct task_group *tg); 2743 extern int sched_group_set_shares(struct task_group *tg, unsigned long shares); 2744 extern unsigned long sched_group_shares(struct task_group *tg); 2747 extern int sched_group_set_rt_runtime(struct task_group *tg, 2749 extern long sched_group_rt_runtime(struct task_group *tg); 2750 extern int sched_group_set_rt_period(struct task_group *tg, [all …]
|
D | init_task.h | 126 extern struct task_group root_task_group;
|