Home
last modified time | relevance | path

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

/linux/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.h73 int scx_tg_online(struct task_group *tg);
74 void scx_tg_offline(struct task_group *tg);
79 void scx_group_set_weight(struct task_group *tg, unsigned long cgrp_weight);
80 void scx_group_set_idle(struct task_group *tg, bool idle);
82 static inline int scx_tg_online(struct task_group *tg) { return 0; } in scx_tg_online()
83 static inline void scx_tg_offline(struct task_group *tg) {} in scx_tg_offline()
88 static inline void scx_group_set_weight(struct task_group *tg, unsigned long cgrp_weight) {} in scx_group_set_weight()
89 static inline void scx_group_set_idle(struct task_group *tg, bool idle) {} in scx_group_set_idle()
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 Dcore.c1381 int walk_tg_tree_from(struct task_group *from, in walk_tg_tree_from()
1384 struct task_group *parent, *child; in walk_tg_tree_from()
1412 int tg_nop(struct task_group *tg, void *data) in tg_nop()
1587 if (task_group_is_autogroup(task_group(p))) in uclamp_tg_restrict()
1589 if (task_group(p) == &root_task_group) in uclamp_tg_restrict()
1592 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict()
1593 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict()
1866 struct task_group *tg = &root_task_group; in uclamp_update_root_tg()
4800 struct task_group *tg; in sched_cgroup_fork()
4802 struct task_group, css); in sched_cgroup_fork()
[all …]
H A Dext.c3913 static struct cgroup *tg_cgrp(struct task_group *tg) in tg_cgrp()
3970 static int scx_ops_init_task(struct task_struct *p, struct task_group *tg, bool fork) in scx_ops_init_task()
4114 return scx_ops_init_task(p, task_group(p), true); in scx_fork()
4257 static void scx_cgroup_warn_missing_weight(struct task_group *tg) in scx_cgroup_warn_missing_weight()
4271 static void scx_cgroup_warn_missing_idle(struct task_group *tg) in scx_cgroup_warn_missing_idle()
4284 int scx_tg_online(struct task_group *tg) in scx_tg_online()
4314 void scx_tg_offline(struct task_group *tg) in scx_tg_offline()
4340 struct cgroup *from = tg_cgrp(task_group(p)); in scx_cgroup_can_attach()
4388 p->scx.cgrp_moving_from, tg_cgrp(task_group(p))); in scx_cgroup_move_task()
4415 void scx_group_set_weight(struct task_group *tg, unsigned long weight) in scx_group_set_weight()
[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()
3917 struct task_group *tg = cfs_rq->tg; in calc_group_shares()
4144 struct task_group *tg; in clear_tg_offline_cfs_rqs()
5721 static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) in tg_cfs_bandwidth()
5810 static inline int throttled_lb_pair(struct task_group *tg, in throttled_lb_pair()
5822 static int tg_unthrottle_up(struct task_group *tg, void *data) in tg_unthrottle_up()
5851 static int tg_throttle_down(struct task_group *tg, void *data) in tg_throttle_down()
6431 static void sync_throttle(struct task_group *tg, int cpu) in sync_throttle()
6620 struct task_group *tg; in update_runtime_enabled()
[all …]
H A Ddebug.c652 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats()
704 static void task_group_path(struct task_group *tg, char *path, int plen) in task_group_path()
763 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/include/linux/sched/
H A Dautogroup.h7 struct task_group;
29 extern struct task_group root_task_group;
/linux/include/linux/
H A Dsched.h81 struct task_group;
860 struct task_group *sched_task_group;