Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/sched/
Dautogroup.h14 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 …]
Dsched.h383 struct task_group { struct
416 struct task_group *parent; argument
452 typedef int (*tg_visitor)(struct task_group *, void *); argument
454 extern int walk_tg_tree_from(struct task_group *from,
468 extern int tg_nop(struct task_group *tg, void *data);
470 extern void free_fair_sched_group(struct task_group *tg);
471 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent);
472 extern void online_fair_sched_group(struct task_group *tg);
473 extern void unregister_fair_sched_group(struct task_group *tg);
474 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
[all …]
Dautogroup.c42 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()
284 int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
Drt.c192 void unregister_rt_sched_group(struct task_group *tg) in unregister_rt_sched_group()
199 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group()
214 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry()
241 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
309 void unregister_rt_sched_group(struct task_group *tg) { } in unregister_rt_sched_group()
311 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group()
313 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
544 typedef struct task_group *rt_rq_iter_t;
546 static inline struct task_group *next_task_group(struct task_group *tg) in next_task_group()
550 typeof(struct task_group), list); in next_task_group()
[all …]
Dcore.c1235 int walk_tg_tree_from(struct task_group *from, in walk_tg_tree_from()
1238 struct task_group *parent, *child; in walk_tg_tree_from()
1266 int tg_nop(struct task_group *tg, void *data) in tg_nop()
1474 if (task_group_is_autogroup(task_group(p))) in uclamp_tg_restrict()
1476 if (task_group(p) == &root_task_group) in uclamp_tg_restrict()
1479 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict()
1480 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict()
1748 struct task_group *tg = &root_task_group; in uclamp_update_root_tg()
4584 struct task_group *tg; in sched_cgroup_fork()
4586 struct task_group, css); in sched_cgroup_fork()
[all …]
Dfair.c492 static int tg_is_idle(struct task_group *tg) in tg_is_idle()
540 static inline int tg_is_idle(struct task_group *tg) in tg_is_idle()
3226 struct task_group *tg = cfs_rq->tg; in calc_group_shares()
4754 static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) in tg_cfs_bandwidth()
4843 static inline int throttled_lb_pair(struct task_group *tg, in throttled_lb_pair()
4855 static int tg_unthrottle_up(struct task_group *tg, void *data) in tg_unthrottle_up()
4873 static int tg_throttle_down(struct task_group *tg, void *data) in tg_throttle_down()
5310 static void sync_throttle(struct task_group *tg, int cpu) in sync_throttle()
5467 struct task_group *tg; in update_runtime_enabled()
5486 struct task_group *tg; in unthrottle_offline_cfs_rqs()
[all …]
Ddebug.c446 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats()
498 static void task_group_path(struct task_group *tg, char *path, int plen) in task_group_path()
553 SEQ_printf_task_group_path(m, task_group(p), " %s") in print_task()
/linux-5.19.10/include/linux/sched/
Dautogroup.h7 struct task_group;
29 extern struct task_group root_task_group;
/linux-5.19.10/include/linux/
Dsched.h69 struct task_group;
789 struct task_group *sched_task_group;