Lines Matching defs:se
453 struct sched_entity **se;
545 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq, struct sched_entity *se, int cpu,
574 extern void set_task_rq_fair(struct sched_entity *se, struct cfs_rq *prev, struct cfs_rq *next);
576 static inline void set_task_rq_fair(struct sched_entity *se, struct cfs_rq *prev, struct cfs_rq *next)
796 #define entity_is_task(se) (!se->my_q)
798 static inline void se_update_runnable(struct sched_entity *se)
800 if (!entity_is_task(se)) {
801 se->runnable_weight = se->my_q->h_nr_running;
805 static inline long se_runnable(struct sched_entity *se)
807 if (entity_is_task(se)) {
808 return !!se->on_rq;
810 return se->runnable_weight;
815 #define entity_is_task(se) 1
817 static inline void se_update_runnable(struct sched_entity *se)
821 static inline long se_runnable(struct sched_entity *se)
823 return !!se->on_rq;
831 static inline long se_weight(struct sched_entity *se)
833 return scale_load_down(se->load.weight);
1668 set_task_rq_fair(&p->se, p->se.cfs_rq, tg->cfs_rq[cpu]);
1669 p->se.cfs_rq = tg->cfs_rq[cpu];
1670 p->se.parent = tg->se[cpu];
2057 extern void init_entity_runnable_average(struct sched_entity *se);