Home
last modified time | relevance | path

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

/linux-6.15/kernel/sched/
H A 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 …]
H A Dext.h83 int scx_tg_online(struct task_group *tg);
84 void scx_tg_offline(struct task_group *tg);
89 void scx_group_set_weight(struct task_group *tg, unsigned long cgrp_weight);
90 void scx_group_set_idle(struct task_group *tg, bool idle);
92 static inline int scx_tg_online(struct task_group *tg) { return 0; } in scx_tg_online()
93 static inline void scx_tg_offline(struct task_group *tg) {} in scx_tg_offline()
98 static inline void scx_group_set_weight(struct task_group *tg, unsigned long cgrp_weight) {} in scx_group_set_weight()
99 static inline void scx_group_set_idle(struct task_group *tg, bool idle) {} in scx_group_set_idle()
H A Dsched.h431 struct task_group { struct
470 struct task_group *parent; argument
531 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent);
536 static inline int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent) in alloc_fair_sched_group()
563 extern struct task_group *sched_create_group(struct task_group *parent);
565 struct task_group *parent);
598 extern int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent);
824 struct task_group *tg;
2129 static inline struct task_group *task_group(struct task_struct *p) in task_group() function
2138 struct task_group *tg = task_group(p); in set_task_rq()
[all …]
H A Dautogroup.c41 void autogroup_free(struct task_group *tg) in autogroup_free()
87 struct task_group *tg; in autogroup_create()
128 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()
H A Drt.c193 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()
241 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
310 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group()
312 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
496 typedef struct task_group *rt_rq_iter_t;
498 static inline struct task_group *next_task_group(struct task_group *tg) in next_task_group()
502 typeof(struct task_group), list); in next_task_group()
2606 rt_rq = task_group(p)->rt_rq[cpu]; in task_is_throttled_rt()
2683 struct task_group *tg;
[all …]
H A Dcore.c4798 struct task_group *tg; in sched_cgroup_fork()
4800 struct task_group, css); in sched_cgroup_fork()
8992 struct task_group *sched_create_group(struct task_group *parent) in sched_create_group()
8994 struct task_group *tg; in sched_create_group()
9016 void sched_online_group(struct task_group *tg, struct task_group *parent) in sched_online_group()
9072 struct task_group *tg; in sched_change_group()
9080 struct task_group, css); in sched_change_group()
9139 struct task_group *tg; in cpu_cgroup_css_alloc()
9328 struct task_group *tg; in cpu_uclamp_write()
9372 struct task_group *tg; in cpu_uclamp_print()
[all …]
H A Dfair.c457 static int tg_is_idle(struct task_group *tg) in tg_is_idle()
505 static inline int tg_is_idle(struct task_group *tg) in tg_is_idle()
3931 struct task_group *tg = cfs_rq->tg; in calc_group_shares()
4158 struct task_group *tg; in clear_tg_offline_cfs_rqs()
6631 struct task_group *tg; in update_runtime_enabled()
6650 struct task_group *tg; in unthrottle_offline_cfs_rqs()
9367 dst_cfs_rq = task_group(p)->cfs_rq[dest_cpu]; in task_is_ineligible_on_dst_cpu()
13085 cfs_rq = task_group(p)->cfs_rq[cpu]; in task_is_throttled_fair()
13339 void free_fair_sched_group(struct task_group *tg) in free_fair_sched_group()
13354 int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent) in alloc_fair_sched_group()
[all …]
H A Dext.c3594 static struct cgroup *tg_cgrp(struct task_group *tg) in tg_cgrp()
3798 return scx_ops_init_task(p, task_group(p), true); in scx_fork()
3939 int scx_tg_online(struct task_group *tg) in scx_tg_online()
3967 void scx_tg_offline(struct task_group *tg) in scx_tg_offline()
3993 struct cgroup *from = tg_cgrp(task_group(p)); in scx_cgroup_can_attach()
4041 p, p->scx.cgrp_moving_from, tg_cgrp(task_group(p))); in scx_cgroup_move_task()
4082 void scx_group_set_idle(struct task_group *tg, bool idle) in scx_group_set_idle()
4250 struct task_group *tg = css_tg(css); in scx_cgroup_exit()
4284 struct task_group *tg = css_tg(css); in scx_cgroup_init()
5471 ret = scx_ops_init_task(p, task_group(p), false); in scx_ops_enable()
[all …]
H A Ddebug.c654 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats()
706 static void task_group_path(struct task_group *tg, char *path, int plen) in task_group_path()
765 SEQ_printf_task_group_path(m, task_group(p), " %s") in print_task()
H A Dsyscalls.c638 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()
639 !task_group_is_autogroup(task_group(p))) { in __sched_setscheduler()
/linux-6.15/include/linux/sched/
H A Dautogroup.h7 struct task_group;
29 extern struct task_group root_task_group;
/linux-6.15/include/linux/
H A Dsched.h83 struct task_group;
882 struct task_group *sched_task_group;