Lines Matching refs:task_of
258 static inline struct task_struct *task_of(struct sched_entity *se) in task_of() function
409 static inline struct task_struct *task_of(struct sched_entity *se) in task_of() function
430 struct task_struct *p = task_of(se); in cfs_rq_of()
767 struct task_struct *p = task_of(se); in post_init_entity_util_avg()
827 struct task_struct *curtask = task_of(curr); in update_curr()
853 if (entity_is_task(se) && task_on_rq_migrating(task_of(se)) && in update_stats_wait_start()
872 p = task_of(se); in update_stats_wait_end()
905 tsk = task_of(se); in update_stats_enqueue_sleeper()
995 struct task_struct *tsk = task_of(se); in update_stats_dequeue()
2700 account_numa_enqueue(rq, task_of(se)); in account_entity_enqueue()
2715 account_numa_dequeue(rq_of(cfs_rq), task_of(se)); in account_entity_dequeue()
6484 if (entity_is_task(se) && unlikely(task_of(se)->policy == SCHED_IDLE)) in set_last_buddy()
6496 if (entity_is_task(se) && unlikely(task_of(se)->policy == SCHED_IDLE)) in set_next_buddy()
6657 p = task_of(se); in pick_next_task_fair()
6697 p = task_of(se); in pick_next_task_fair()