Searched refs:task_group (Results 1 – 9 of 9) sorted by relevance
| /linux/kernel/sched/ |
| H A D | autogroup.h | 16 struct task_group *tg; 23 extern void autogroup_free(struct task_group *tg); 25 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() 30 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg); 32 static inline struct task_group * 33 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() 44 extern int autogroup_path(struct task_group *tg, char *buf, int buflen); 49 static inline void autogroup_free(struct task_group *tg) { } in autogroup_free() 50 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() 55 static inline struct task_group * [all …]
|
| H A D | sched.h | 474 struct task_group { struct 508 struct task_group *parent; argument 544 typedef int (*tg_visitor)(struct task_group *, void *); argument 546 extern int walk_tg_tree_from(struct task_group *from, 560 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg() 562 return css ? container_of(css, struct task_group, css) : NULL; in css_tg() 565 extern int tg_nop(struct task_group *tg, void *data); 568 extern void free_fair_sched_group(struct task_group *tg); 569 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent); 570 extern void online_fair_sched_group(struct task_group *tg); [all …]
|
| H A D | autogroup.c | 44 void autogroup_free(struct task_group *tg) in autogroup_free() 90 struct task_group *tg; in autogroup_create() 131 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup() 287 int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
|
| H A D | core.c | 1468 int walk_tg_tree_from(struct task_group *from, in walk_tg_tree_from() 1471 struct task_group *parent, *child; in walk_tg_tree_from() 1499 int tg_nop(struct task_group *tg, void *data) in tg_nop() 1674 if (task_group_is_autogroup(task_group(p))) in uclamp_tg_restrict() 1676 if (task_group(p) == &root_task_group) in uclamp_tg_restrict() 1679 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict() 1680 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict() 1954 struct task_group *tg = &root_task_group; in uclamp_update_root_tg() 4769 struct task_group *tg; in sched_cgroup_fork() 4771 struct task_group, css); in sched_cgroup_fork() [all …]
|
| H A D | fair.c | 462 static int tg_is_idle(struct task_group *tg) in tg_is_idle() 510 static inline int tg_is_idle(struct task_group *tg) in tg_is_idle() 4208 struct task_group *tg = cfs_rq->tg; in calc_group_shares() 4429 struct task_group *tg; in clear_tg_offline_cfs_rqs() 5911 static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) in tg_cfs_bandwidth() 6002 return throttled_hierarchy(task_group(p)->cfs_rq[dst_cpu]); in lb_throttled_hierarchy() 6145 static int tg_unthrottle_up(struct task_group *tg, void *data) in tg_unthrottle_up() 6216 static int tg_throttle_down(struct task_group *tg, void *data) in tg_throttle_down() 6683 static void sync_throttle(struct task_group *tg, int cpu) in sync_throttle() 6879 struct task_group *tg; in update_runtime_enabled() [all …]
|
| H A D | debug.c | 751 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats() 801 static void task_group_path(struct task_group *tg, char *path, int plen) in task_group_path() 860 SEQ_printf_task_group_path(m, task_group(p), " %s") in print_task()
|
| H A D | syscalls.c | 616 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler() 617 !task_group_is_autogroup(task_group(p))) { in __sched_setscheduler()
|
| /linux/include/linux/sched/ |
| H A D | autogroup.h | 7 struct task_group; 29 extern struct task_group root_task_group;
|
| /linux/include/linux/ |
| H A D | sched.h | 88 struct task_group; 887 struct task_group *sched_task_group;
|