Lines Matching refs:task_rq
74 rq = task_rq(p); in __task_rq_lock()
76 if (likely(rq == task_rq(p) && !task_on_rq_migrating(p))) { in __task_rq_lock()
98 rq = task_rq(p); in task_rq_lock()
116 if (likely(rq == task_rq(p) && !task_on_rq_migrating(p))) { in task_rq_lock()
987 if (task_rq(p) == rq) { in migration_cpu_stop()
1012 struct rq *rq = task_rq(p); in do_set_cpus_allowed()
1158 lockdep_is_held(&task_rq(p)->lock))); in set_task_cpu()
1186 src_rq = task_rq(p); in __migrate_swap_task()
1328 rq = task_rq(p); in wait_task_inactive()
2033 atomic_dec(&task_rq(p)->nr_iowait); in try_to_wake_up()
2046 atomic_dec(&task_rq(p)->nr_iowait); in try_to_wake_up()
2071 struct rq *rq = task_rq(p); in try_to_wake_up_local()
2984 struct sched_entity *curr = (&task_rq(p)->cfs)->curr; in prefetch_curr_exec_start()
4791 if (!cpumask_subset(task_rq(p)->rd->span, new_mask)) { in sched_setaffinity()
5055 p_rq = task_rq(p); in yield_to()
5066 if (task_rq(p) != p_rq) { in yield_to()
5463 if (dl_task(p) && !cpumask_intersects(task_rq(p)->rd->span, in task_can_attach()
5638 if (WARN_ON(task_rq(next) != rq || !task_on_rq_queued(next))) { in migrate_tasks()