Lines Matching refs:se

368 	struct sched_entity	**se;  member
455 struct sched_entity *se, int cpu,
487 extern void set_task_rq_fair(struct sched_entity *se,
490 static inline void set_task_rq_fair(struct sched_entity *se, in set_task_rq_fair() argument
770 #define entity_is_task(se) (!se->my_q) argument
772 static inline void se_update_runnable(struct sched_entity *se) in se_update_runnable() argument
774 if (!entity_is_task(se)) in se_update_runnable()
775 se->runnable_weight = se->my_q->h_nr_running; in se_update_runnable()
778 static inline long se_runnable(struct sched_entity *se) in se_runnable() argument
780 if (entity_is_task(se)) in se_runnable()
781 return !!se->on_rq; in se_runnable()
783 return se->runnable_weight; in se_runnable()
787 #define entity_is_task(se) 1 argument
789 static inline void se_update_runnable(struct sched_entity *se) {} in se_update_runnable() argument
791 static inline long se_runnable(struct sched_entity *se) in se_runnable() argument
793 return !!se->on_rq; in se_runnable()
801 static inline long se_weight(struct sched_entity *se) in se_weight() argument
803 return scale_load_down(se->load.weight); in se_weight()
1420 static inline struct task_struct *task_of(struct sched_entity *se) in task_of() argument
1422 SCHED_WARN_ON(!entity_is_task(se)); in task_of()
1423 return container_of(se, struct task_struct, se); in task_of()
1428 return p->se.cfs_rq; in task_cfs_rq()
1432 static inline struct cfs_rq *cfs_rq_of(const struct sched_entity *se) in cfs_rq_of() argument
1434 return se->cfs_rq; in cfs_rq_of()
1445 #define task_of(_se) container_of(_se, struct task_struct, se)
1452 static inline struct cfs_rq *cfs_rq_of(const struct sched_entity *se) in cfs_rq_of() argument
1454 const struct task_struct *p = task_of(se); in cfs_rq_of()
2014 set_task_rq_fair(&p->se, p->se.cfs_rq, tg->cfs_rq[cpu]); in set_task_rq()
2015 p->se.cfs_rq = tg->cfs_rq[cpu]; in set_task_rq()
2016 p->se.parent = tg->se[cpu]; in set_task_rq()
2017 p->se.depth = tg->se[cpu] ? tg->se[cpu]->depth + 1 : 0; in set_task_rq()
2454 extern void init_entity_runnable_average(struct sched_entity *se);
3286 curr->se.sum_exec_runtime += delta_exec; in update_current_exec_runtime()
3289 curr->se.exec_start = now; in update_current_exec_runtime()
3529 extern int entity_eligible(struct cfs_rq *cfs_rq, struct sched_entity *se);