Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/sched/
Dautogroup.h11 struct task_group *tg;
18 extern void autogroup_free(struct task_group *tg);
20 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup()
25 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg);
27 static inline struct task_group *
28 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group()
38 extern int autogroup_path(struct task_group *tg, char *buf, int buflen);
43 static inline void autogroup_free(struct task_group *tg) { } in autogroup_free()
44 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup()
49 static inline struct task_group *
[all …]
Dsched.h355 struct task_group { struct
385 struct task_group *parent; argument
411 typedef int (*tg_visitor)(struct task_group *, void *); argument
413 extern int walk_tg_tree_from(struct task_group *from,
427 extern int tg_nop(struct task_group *tg, void *data);
429 extern void free_fair_sched_group(struct task_group *tg);
430 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent);
431 extern void online_fair_sched_group(struct task_group *tg);
432 extern void unregister_fair_sched_group(struct task_group *tg);
433 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
[all …]
Dautogroup.c20 void autogroup_free(struct task_group *tg) in autogroup_free()
66 struct task_group *tg; in autogroup_create()
107 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup()
263 int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
Drt.c137 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group()
155 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry()
182 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
250 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group()
252 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
454 typedef struct task_group *rt_rq_iter_t;
456 static inline struct task_group *next_task_group(struct task_group *tg) in next_task_group()
460 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()
2416 static inline int tg_has_rt_tasks(struct task_group *tg) in tg_has_rt_tasks()
[all …]
Dcore.c656 int walk_tg_tree_from(struct task_group *from, in walk_tg_tree_from()
659 struct task_group *parent, *child; in walk_tg_tree_from()
687 int tg_nop(struct task_group *tg, void *data) in tg_nop()
4261 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()
4262 !task_group_is_autogroup(task_group(p))) { in __sched_setscheduler()
5900 struct task_group root_task_group;
5965 task_group_cache = KMEM_CACHE(task_group, 0); in sched_init()
6240 static void sched_free_group(struct task_group *tg) in sched_free_group()
6249 struct task_group *sched_create_group(struct task_group *parent) in sched_create_group()
6251 struct task_group *tg; in sched_create_group()
[all …]
Dfair.c2924 struct task_group *tg = cfs_rq->tg; in calc_group_shares()
4270 static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) in tg_cfs_bandwidth()
4287 struct task_group *tg = cfs_rq->tg; in assign_cfs_rq_runtime()
4399 static inline int throttled_lb_pair(struct task_group *tg, in throttled_lb_pair()
4411 static int tg_unthrottle_up(struct task_group *tg, void *data) in tg_unthrottle_up()
4426 static int tg_throttle_down(struct task_group *tg, void *data) in tg_throttle_down()
4804 static void sync_throttle(struct task_group *tg, int cpu) in sync_throttle()
4930 struct task_group *tg; in update_runtime_enabled()
4949 struct task_group *tg; in unthrottle_offline_cfs_rqs()
4986 static inline void sync_throttle(struct task_group *tg, int cpu) {} in sync_throttle()
[all …]
Ddebug.c388 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats()
435 static char *task_group_path(struct task_group *tg) in task_group_path()
469 SEQ_printf(m, " %s", task_group_path(task_group(p))); in print_task()
/Linux-v4.19/include/linux/sched/
Dautogroup.h7 struct task_group;
29 extern struct task_group root_task_group;
/Linux-v4.19/include/linux/
Dsched.h56 struct task_group;
648 struct task_group *sched_task_group;