• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/

Lines Matching defs:task_group

259 struct task_group {
280 struct task_group *parent;
320 struct task_group init_task_group;
358 struct task_group *tg; /* group that "owns" this runqueue */
416 struct task_group *tg;
625 static inline struct task_group *task_group(struct task_struct *p)
631 return container_of(css, struct task_group, css);
638 p->se.cfs_rq = task_group(p)->cfs_rq[cpu];
639 p->se.parent = task_group(p)->se[cpu];
643 p->rt.rt_rq = task_group(p)->rt_rq[cpu];
644 p->rt.parent = task_group(p)->rt_se[cpu];
651 static inline struct task_group *task_group(struct task_struct *p)
1456 typedef int (*tg_visitor)(struct task_group *, void *);
1464 struct task_group *parent, *child;
1494 static int tg_nop(struct task_group *tg, void *data)
1569 static void update_group_shares_cpu(struct task_group *tg, int cpu,
1609 static int tg_shares_up(struct task_group *tg, void *data)
1662 static int tg_load_down(struct task_group *tg, void *data)
4820 task_group(p)->rt_bandwidth.rt_runtime == 0) {
5492 * lockdep check in task_group() will fail.
7800 static void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
7829 static void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq,
8192 static void free_fair_sched_group(struct task_group *tg)
8208 int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
8248 static inline void register_fair_sched_group(struct task_group *tg, int cpu)
8254 static inline void unregister_fair_sched_group(struct task_group *tg, int cpu)
8259 static inline void free_fair_sched_group(struct task_group *tg)
8264 int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
8269 static inline void register_fair_sched_group(struct task_group *tg, int cpu)
8273 static inline void unregister_fair_sched_group(struct task_group *tg, int cpu)
8279 static void free_rt_sched_group(struct task_group *tg)
8297 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent)
8338 static inline void register_rt_sched_group(struct task_group *tg, int cpu)
8344 static inline void unregister_rt_sched_group(struct task_group *tg, int cpu)
8349 static inline void free_rt_sched_group(struct task_group *tg)
8354 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent)
8359 static inline void register_rt_sched_group(struct task_group *tg, int cpu)
8363 static inline void unregister_rt_sched_group(struct task_group *tg, int cpu)
8369 static void free_sched_group(struct task_group *tg)
8377 struct task_group *sched_create_group(struct task_group *parent)
8379 struct task_group *tg;
8418 free_sched_group(container_of(rhp, struct task_group, rcu));
8422 void sched_destroy_group(struct task_group *tg)
8507 int sched_group_set_shares(struct task_group *tg, unsigned long shares)
8563 unsigned long sched_group_shares(struct task_group *tg)
8584 static inline int tg_has_rt_tasks(struct task_group *tg)
8597 struct task_group *tg;
8602 static int tg_schedulable(struct task_group *tg, void *data)
8605 struct task_group *child;
8658 static int __rt_schedulable(struct task_group *tg, u64 period, u64 runtime)
8669 static int tg_set_bandwidth(struct task_group *tg,
8699 int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us)
8711 long sched_group_rt_runtime(struct task_group *tg)
8723 int sched_group_set_rt_period(struct task_group *tg, long rt_period_us)
8736 long sched_group_rt_period(struct task_group *tg)
8771 int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk)
8842 /* return corresponding task_group object of a cgroup */
8843 static inline struct task_group *cgroup_tg(struct cgroup *cgrp)
8846 struct task_group, css);
8852 struct task_group *tg, *parent;
8870 struct task_group *tg = cgroup_tg(cgrp);
8936 struct task_group *tg = cgroup_tg(cgrp);