Home
last modified time | relevance | path

Searched refs:task_rq (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/kernel/sched/
Dcore.c197 rq = task_rq(p); in __task_rq_lock()
199 if (likely(rq == task_rq(p) && !task_on_rq_migrating(p))) { in __task_rq_lock()
221 rq = task_rq(p); in task_rq_lock()
240 if (likely(rq == task_rq(p) && !task_on_rq_migrating(p))) { in task_rq_lock()
1881 if (task_rq(p) == rq) { in migration_cpu_stop()
1906 struct rq *rq = task_rq(p); in do_set_cpus_allowed()
2079 lockdep_is_held(&task_rq(p)->lock))); in set_task_cpu()
2108 src_rq = task_rq(p); in __migrate_swap_task()
2248 rq = task_rq(p); in wait_task_inactive()
2642 atomic_dec(&task_rq(p)->nr_iowait); in ttwu_do_activate()
[all …]
Dwalt.c477 struct rq *src_rq = task_rq(p); in fixup_busy_time()
503 update_task_ravg(task_rq(p)->curr, task_rq(p), in fixup_busy_time()
509 update_task_ravg(p, task_rq(p), TASK_MIGRATE, in fixup_busy_time()
1303 struct rq *rq = task_rq(p); in mark_task_starting()
Ddeadline.c37 struct rq *rq = task_rq(p); in dl_rq_of_se()
227 rq = task_rq(p); in dl_change_utilization()
985 struct rq *rq = task_rq(p); in start_dl_timer()
1736 rq = task_rq(p); in migrate_task_rq_dl()
1979 if (!cpudl_find(&task_rq(task)->rd->cpudl, task, later_mask)) in find_later_rq()
2329 rq = task_rq(p); in set_cpus_allowed_dl()
Drt.c252 return task_rq(p); in rq_of_rt_se()
1915 ret = cpupri_find_fitness(&task_rq(task)->rd->cpupri, in find_lowest_rq()
1920 ret = cpupri_find(&task_rq(task)->rd->cpupri, in find_lowest_rq()
Dfair.c487 return &task_rq(p)->cfs; in task_cfs_rq()
493 struct rq *rq = task_rq(p); in cfs_rq_of()
1142 (lockdep_is_held(&task_rq(p)->lock) && !READ_ONCE(p->on_cpu))); in deref_task_numa_group()
5643 SCHED_WARN_ON(task_rq(p) != rq); in hrtick_start_fair()
7146 lockdep_assert_held(&task_rq(p)->lock); in migrate_task_rq_fair()
8201 BUG_ON(task_rq(p) != rq); in attach_task()
11356 update_overutilized_status(task_rq(curr)); in task_tick_fair()
Dsched.h1231 #define task_rq(p) cpu_rq(task_cpu(p)) macro