Lines Matching refs:core
243 u64 delta, now = rq_clock(rq->core); in __sched_core_account_forceidle()
250 WARN_ON_ONCE(!rq->core->core_forceidle_count); in __sched_core_account_forceidle()
252 if (rq->core->core_forceidle_start == 0) in __sched_core_account_forceidle()
255 delta = now - rq->core->core_forceidle_start; in __sched_core_account_forceidle()
259 rq->core->core_forceidle_start = now; in __sched_core_account_forceidle()
261 if (WARN_ON_ONCE(!rq->core->core_forceidle_occupation)) { in __sched_core_account_forceidle()
263 } else if (rq->core->core_forceidle_count > 1 || in __sched_core_account_forceidle()
264 rq->core->core_forceidle_occupation > 1) { in __sched_core_account_forceidle()
270 delta *= rq->core->core_forceidle_count; in __sched_core_account_forceidle()
271 delta = div_u64(delta, rq->core->core_forceidle_occupation); in __sched_core_account_forceidle()
291 if (!rq->core->core_forceidle_count) in __sched_core_tick()
294 if (rq != rq->core) in __sched_core_tick()
295 update_rq_clock(rq->core); in __sched_core_tick()