/kernel/linux/linux-5.10/kernel/sched/ |
H A D | autogroup.h | 11 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...] |
H A D | sched.h | 468 struct task_group { struct 498 struct task_group *parent; 544 typedef int (*tg_visitor)(struct task_group *, void *); 546 extern int walk_tg_tree_from(struct task_group *from, 560 extern int tg_nop(struct task_group *tg, void *data); 562 extern void free_fair_sched_group(struct task_group *tg); 563 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent); 564 extern void online_fair_sched_group(struct task_group *tg); 565 extern void unregister_fair_sched_group(struct task_group *t 1697 static inline struct task_group *task_group(struct task_struct *p) task_group() function 1724 static inline struct task_group *task_group(struct task_struct *p) task_group() function [all...] |
H A D | autogroup.c | 20 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() 153 * this process can already run with task_group() == prev->tg or we can in autogroup_move_group() 262 int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
|
H A D | rt.c | 149 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group() 167 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry() 194 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group() 262 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group() 264 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group() 509 typedef struct task_group *rt_rq_iter_t; 511 static inline struct task_group *next_task_group(struct task_group *t [all...] |
H A D | core.c | 813 * Iterate task_group tree rooted at *from, calling @down when first entering a 818 int walk_tg_tree_from(struct task_group *from, in walk_tg_tree_from() 821 struct task_group *parent, *child; in walk_tg_tree_from() 849 int tg_nop(struct task_group *tg, void *data) in tg_nop() 1128 if (task_group_is_autogroup(task_group(p))) in uclamp_tg_restrict() 1130 if (task_group(p) == &root_task_group) in uclamp_tg_restrict() 1133 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict() 1134 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict() 1397 struct task_group *tg = &root_task_group; in uclamp_update_root_tg() 2076 * see task_group() in set_task_cpu() [all...] |
H A D | debug.c | 427 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats() 474 static void task_group_path(struct task_group *tg, char *path, int plen) in task_group_path() 528 SEQ_printf_task_group_path(m, task_group(p), " %s") in print_task()
|
H A D | fair.c | 3238 struct task_group *tg = cfs_rq->tg; in calc_group_shares() 4908 static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) in tg_cfs_bandwidth() 4997 static inline int throttled_lb_pair(struct task_group *tg, in throttled_lb_pair() 5009 static int tg_unthrottle_up(struct task_group *tg, void *data) in tg_unthrottle_up() 5027 static int tg_throttle_down(struct task_group *tg, void *data) in tg_throttle_down() 5244 * Responsible for refilling a task_group's bandwidth and unthrottling its 5444 static void sync_throttle(struct task_group *tg, int cpu) in sync_throttle() 5600 struct task_group *tg; in update_runtime_enabled() 5619 struct task_group *tg; in unthrottle_offline_cfs_rqs() 5657 static inline void sync_throttle(struct task_group *t in check_enqueue_throttle() [all...] |
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | autogroup.h | 14 struct task_group *tg; 21 extern void autogroup_free(struct task_group *tg); 23 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() 28 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg); 30 static inline struct task_group * 31 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() 42 extern int autogroup_path(struct task_group *tg, char *buf, int buflen); 47 static inline void autogroup_free(struct task_group *tg) { } in autogroup_free() 48 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() 53 static inline struct task_group * [all...] |
H A D | sched.h | 448 struct task_group { struct 481 struct task_group *parent; 527 typedef int (*tg_visitor)(struct task_group *, void *); 529 extern int walk_tg_tree_from(struct task_group *from, 543 extern int tg_nop(struct task_group *tg, void *data); 545 extern void free_fair_sched_group(struct task_group *tg); 546 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent); 547 extern void online_fair_sched_group(struct task_group *tg); 548 extern void unregister_fair_sched_group(struct task_group *t 2153 static inline struct task_group *task_group(struct task_struct *p) task_group() function 2181 static inline struct task_group *task_group(struct task_struct *p) task_group() function [all...] |
H A D | autogroup.c | 42 void autogroup_free(struct task_group *tg) in autogroup_free() 88 struct task_group *tg; in autogroup_create() 129 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup() 176 * this process can already run with task_group() == prev->tg or we can in autogroup_move_group() 285 int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
|
H A D | rt.c | 206 void unregister_rt_sched_group(struct task_group *tg) in unregister_rt_sched_group() 213 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group() 228 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry() 255 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group() 323 void unregister_rt_sched_group(struct task_group *tg) { } in unregister_rt_sched_group() 325 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group() 327 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group() 559 typedef struct task_group *rt_rq_iter_ [all...] |
H A D | core.c | 1269 * Iterate task_group tree rooted at *from, calling @down when first entering a 1274 int walk_tg_tree_from(struct task_group *from, in walk_tg_tree_from() 1277 struct task_group *parent, *child; in walk_tg_tree_from() 1305 int tg_nop(struct task_group *tg, void *data) in tg_nop() 1556 if (task_group_is_autogroup(task_group(p))) in uclamp_tg_restrict() 1558 if (task_group(p) == &root_task_group) in uclamp_tg_restrict() 1561 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict() 1562 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict() 1830 struct task_group *tg = &root_task_group; in uclamp_update_root_tg() 3450 * see task_group() in set_task_cpu() [all...] |
H A D | fair.c | 543 static int tg_is_idle(struct task_group *tg) in tg_is_idle() 591 static inline int tg_is_idle(struct task_group *tg) in tg_is_idle() 3948 struct task_group *tg = cfs_rq->tg; in calc_group_shares() 5636 static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) in tg_cfs_bandwidth() 5725 static inline int throttled_lb_pair(struct task_group *tg, in throttled_lb_pair() 5737 static int tg_unthrottle_up(struct task_group *tg, void *data) in tg_unthrottle_up() 5766 static int tg_throttle_down(struct task_group *tg, void *data) in tg_throttle_down() 6114 * Responsible for refilling a task_group's bandwidth and unthrottling its 6310 static void sync_throttle(struct task_group *tg, int cpu) in sync_throttle() 6502 struct task_group *t in update_runtime_enabled() [all...] |
H A D | debug.c | 492 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats() 544 static void task_group_path(struct task_group *tg, char *path, int plen) in task_group_path() 603 SEQ_printf_task_group_path(m, task_group(p), " %s") in print_task()
|
/kernel/linux/linux-5.10/include/linux/sched/ |
H A D | autogroup.h | 7 struct task_group; 29 extern struct task_group root_task_group;
|
/kernel/linux/linux-6.6/include/linux/sched/ |
H A D | autogroup.h | 7 struct task_group; 29 extern struct task_group root_task_group;
|
/kernel/linux/linux-5.10/kernel/sched/rtg/ |
H A D | rtg.c | 1007 struct task_group *tg; in uclamp_task_colocated() 1016 tg = container_of(css, struct task_group, css); in uclamp_task_colocated()
|
/kernel/linux/linux-6.6/kernel/sched/rtg/ |
H A D | rtg.c | 1008 struct task_group *tg; in uclamp_task_colocated() 1017 tg = container_of(css, struct task_group, css); in uclamp_task_colocated()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | sched.h | 70 struct task_group; 838 struct task_group *sched_task_group;
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | sched.h | 71 struct task_group; 924 struct task_group *sched_task_group;
|