Searched refs:this_rq (Results 1 – 9 of 9) sorted by relevance
| /OK3568_Linux_fs/kernel/kernel/sched/ |
| H A D | loadavg.c | 80 long calc_load_fold_active(struct rq *this_rq, long adjust) in calc_load_fold_active() argument 84 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active() 85 nr_active += (long)this_rq->nr_uninterruptible; in calc_load_fold_active() 87 if (nr_active != this_rq->calc_load_active) { in calc_load_fold_active() 88 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active() 89 this_rq->calc_load_active = nr_active; in calc_load_fold_active() 253 calc_load_nohz_fold(this_rq()); in calc_load_nohz_start() 267 struct rq *this_rq = this_rq(); in calc_load_nohz_stop() local 272 this_rq->calc_load_update = READ_ONCE(calc_load_update); in calc_load_nohz_stop() 273 if (time_before(jiffies, this_rq->calc_load_update)) in calc_load_nohz_stop() [all …]
|
| H A D | sched.h | 102 extern void calc_global_load_tick(struct rq *this_rq); 103 extern long calc_load_fold_active(struct rq *this_rq, long adjust); 1132 #define this_rq() this_cpu_ptr(&runqueues) macro 1389 rq = this_rq(); in this_rq_lock_irq() 1861 void (*task_woken)(struct rq *this_rq, struct task_struct *task); 1879 void (*switched_from)(struct rq *this_rq, struct task_struct *task); 1880 void (*switched_to) (struct rq *this_rq, struct task_struct *task); 1881 void (*prio_changed) (struct rq *this_rq, struct task_struct *task, 2149 static inline int _double_lock_balance(struct rq *this_rq, struct rq *busiest) in _double_lock_balance() argument 2150 __releases(this_rq->lock) in _double_lock_balance() [all …]
|
| H A D | cputime.c | 232 struct rq *rq = this_rq(); in account_idle_time() 252 steal -= this_rq()->prev_steal_time; in steal_account_process_time() 255 this_rq()->prev_steal_time += steal; in steal_account_process_time() 395 } else if (p == this_rq()->idle) { in irqtime_account_process_tick() 402 trace_android_vh_irqtime_account_process_tick(p, this_rq(), user_tick, ticks); in irqtime_account_process_tick() 490 trace_android_vh_account_task_time(p, this_rq(), user_tick); in account_process_tick() 507 else if ((p != this_rq()->idle) || (irq_count() != HARDIRQ_OFFSET)) in account_process_tick()
|
| H A D | rt.c | 270 static void pull_rt_task(struct rq *this_rq); 432 static inline void pull_rt_task(struct rq *this_rq) in pull_rt_task() argument 591 return this_rq()->rd->span; in sched_rt_period_mask() 2202 rq = this_rq(); in rto_push_irq_work_func() 2231 static void pull_rt_task(struct rq *this_rq) in pull_rt_task() argument 2233 int this_cpu = this_rq->cpu, cpu; in pull_rt_task() 2237 int rt_overload_count = rt_overloaded(this_rq); in pull_rt_task() 2250 cpumask_test_cpu(this_rq->cpu, this_rq->rd->rto_mask)) in pull_rt_task() 2255 tell_cpu_to_push(this_rq); in pull_rt_task() 2260 for_each_cpu(cpu, this_rq->rd->rto_mask) { in pull_rt_task() [all …]
|
| H A D | fair.c | 3921 static int newidle_balance(struct rq *this_rq, struct rq_flags *rf); 6226 avg_idle = this_rq()->avg_idle / 512; in select_idle_cpu() 6340 this_rq()->nr_running <= 1 && in select_idle_sibling() 9825 static int load_balance(int this_cpu, struct rq *this_rq, in load_balance() argument 9839 .dst_rq = this_rq, in load_balance() 10555 SCHED_WARN_ON(rq != this_rq()); in nohz_balance_exit_idle() 10661 static bool _nohz_idle_balance(struct rq *this_rq, unsigned int flags, in _nohz_idle_balance() argument 10669 int this_cpu = this_rq->cpu; in _nohz_idle_balance() 10742 has_blocked_load |= this_rq->has_blocked_load; in _nohz_idle_balance() 10746 rebalance_domains(this_rq, CPU_IDLE); in _nohz_idle_balance() [all …]
|
| H A D | deadline.c | 2216 static void pull_dl_task(struct rq *this_rq) in pull_dl_task() argument 2218 int this_cpu = this_rq->cpu, cpu; in pull_dl_task() 2224 if (likely(!dl_overloaded(this_rq))) in pull_dl_task() 2233 for_each_cpu(cpu, this_rq->rd->dlo_mask) { in pull_dl_task() 2243 if (this_rq->dl.dl_nr_running && in pull_dl_task() 2244 dl_time_before(this_rq->dl.earliest_dl.curr, in pull_dl_task() 2249 double_lock_balance(this_rq, src_rq); in pull_dl_task() 2266 (!this_rq->dl.dl_nr_running || in pull_dl_task() 2268 this_rq->dl.earliest_dl.curr))) { in pull_dl_task() 2284 activate_task(this_rq, p, 0); in pull_dl_task() [all …]
|
| H A D | idle.c | 24 idle_set_state(this_rq(), idle_state); in sched_idle_set_state()
|
| H A D | core.c | 418 if (rq == this_rq()) in hrtick_start() 1908 struct rq *rq = this_rq(); in migration_cpu_stop() 2632 rq = this_rq(); in ttwu_stat() 2773 struct rq *rq = this_rq(); in sched_ttwu_pending() 3844 struct rq *rq = this_rq(); in finish_task_switch() 4577 schedstat_inc(this_rq()->sched_count); in schedule_debug() 6490 rq = this_rq(); in yield_to() 6967 BUG_ON(current != this_rq()->idle); in idle_task_exit() 7130 struct rq *rq = this_rq(); in drain_rq_cpu_stop()
|
| /OK3568_Linux_fs/kernel/include/trace/hooks/ |
| H A D | sched.h | 102 TP_PROTO(struct rq *this_rq, struct rq_flags *rf, 104 TP_ARGS(this_rq, rf, pulled_task, done), 1);
|