Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/sched/
H A Dautogroup.h11 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 Dsched.h389 struct task_group { struct
419 struct task_group *parent; argument
463 typedef int (*tg_visitor)(struct task_group *, void *);
465 extern int walk_tg_tree_from(struct task_group *from,
479 extern int tg_nop(struct task_group *tg, void *data);
481 extern void free_fair_sched_group(struct task_group *tg);
482 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent);
483 extern void online_fair_sched_group(struct task_group *tg);
484 extern void unregister_fair_sched_group(struct task_group *tg);
485 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
[all …]
H A Dautogroup.c20 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()
262 int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
H A Drt.c147 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group()
165 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry()
192 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
260 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group()
262 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
503 typedef struct task_group *rt_rq_iter_t;
505 static inline struct task_group *next_task_group(struct task_group *tg) in next_task_group()
509 typeof(struct task_group), list); in next_task_group()
603 return container_of(rt_b, struct task_group, rt_bandwidth)->rt_rq[cpu]; in sched_rt_period_rt_rq()
2593 static inline int tg_has_rt_tasks(struct task_group *tg) in tg_has_rt_tasks()
[all …]
H A Dcore.c847 int walk_tg_tree_from(struct task_group *from, in walk_tg_tree_from()
850 struct task_group *parent, *child; in walk_tg_tree_from()
878 int tg_nop(struct task_group *tg, void *data) in tg_nop()
1123 if (task_group_is_autogroup(task_group(p))) in uclamp_tg_restrict()
1125 if (task_group(p) == &root_task_group) in uclamp_tg_restrict()
1128 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict()
1129 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict()
1399 struct task_group *tg = &root_task_group; in uclamp_update_root_tg()
3547 struct task_group *tg; in sched_cgroup_fork()
3550 struct task_group, css); in sched_cgroup_fork()
[all …]
H A Dfair.c3221 struct task_group *tg = cfs_rq->tg; in calc_group_shares()
4683 static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) in tg_cfs_bandwidth()
4772 static inline int throttled_lb_pair(struct task_group *tg, in throttled_lb_pair()
4784 static int tg_unthrottle_up(struct task_group *tg, void *data) in tg_unthrottle_up()
4802 static int tg_throttle_down(struct task_group *tg, void *data) in tg_throttle_down()
5213 static void sync_throttle(struct task_group *tg, int cpu) in sync_throttle()
5368 struct task_group *tg; in update_runtime_enabled()
5387 struct task_group *tg; in unthrottle_offline_cfs_rqs()
5425 static inline void sync_throttle(struct task_group *tg, int cpu) {} in sync_throttle()
5438 static inline int throttled_lb_pair(struct task_group *tg, in throttled_lb_pair()
[all …]
H A Ddebug.c429 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats()
476 static void task_group_path(struct task_group *tg, char *path, int plen) in task_group_path()
530 SEQ_printf_task_group_path(m, task_group(p), " %s") in print_task()
/OK3568_Linux_fs/external/mpp/mpp/vproc/
H A Dmpp_dec_vproc.cpp77 HalTaskGroup task_group; member
599 HalTaskGroup tasks = ctx->task_group; in dec_vproc_thread()
752 ret = hal_task_group_init(&p->task_group, TASK_BUTT, 4, sizeof(HalDecVprocTask)); in dec_vproc_init()
759 cfg->task_group = p->task_group; in dec_vproc_init()
767 if (p->task_group) { in dec_vproc_init()
768 hal_task_group_deinit(p->task_group); in dec_vproc_init()
769 p->task_group = NULL; in dec_vproc_init()
789 if (p->task_group) { in dec_vproc_init()
790 hal_task_group_deinit(p->task_group); in dec_vproc_init()
791 p->task_group = NULL; in dec_vproc_init()
[all …]
/OK3568_Linux_fs/kernel/include/linux/sched/
H A Dautogroup.h7 struct task_group;
29 extern struct task_group root_task_group;
/OK3568_Linux_fs/external/mpp/mpp/vproc/inc/
H A Dmpp_dec_vproc.h24 HalTaskGroup task_group; member
/OK3568_Linux_fs/kernel/include/linux/
H A Dsched.h67 struct task_group;
711 struct task_group *sched_task_group;
/OK3568_Linux_fs/external/mpp/mpp/codec/
H A Dmpp_dec.cpp241 dec->vproc_tasks = cfg.task_group; in mpp_dec_put_frame()