Lines Matching refs:rq
21 struct rq *rq = cpu_rq(cpu); in show_schedstat() local
30 cpu, rq->yld_both_empty, in show_schedstat()
31 rq->yld_act_empty, rq->yld_exp_empty, rq->yld_count, in show_schedstat()
32 rq->sched_switch, rq->sched_count, rq->sched_goidle, in show_schedstat()
33 rq->ttwu_count, rq->ttwu_local, in show_schedstat()
34 rq->rq_cpu_time, in show_schedstat()
35 rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount); in show_schedstat()
112 rq_sched_info_arrive(struct rq *rq, unsigned long long delta) in rq_sched_info_arrive() argument
114 if (rq) { in rq_sched_info_arrive()
115 rq->rq_sched_info.run_delay += delta; in rq_sched_info_arrive()
116 rq->rq_sched_info.pcount++; in rq_sched_info_arrive()
124 rq_sched_info_depart(struct rq *rq, unsigned long long delta) in rq_sched_info_depart() argument
126 if (rq) in rq_sched_info_depart()
127 rq->rq_cpu_time += delta; in rq_sched_info_depart()
131 rq_sched_info_dequeued(struct rq *rq, unsigned long long delta) in rq_sched_info_dequeued() argument
133 if (rq) in rq_sched_info_dequeued()
134 rq->rq_sched_info.run_delay += delta; in rq_sched_info_dequeued()
136 # define schedstat_inc(rq, field) do { (rq)->field++; } while (0) argument
137 # define schedstat_add(rq, field, amt) do { (rq)->field += (amt); } while (0) argument
141 rq_sched_info_arrive(struct rq *rq, unsigned long long delta) in rq_sched_info_arrive() argument
144 rq_sched_info_dequeued(struct rq *rq, unsigned long long delta) in rq_sched_info_dequeued() argument
147 rq_sched_info_depart(struct rq *rq, unsigned long long delta) in rq_sched_info_depart() argument
149 # define schedstat_inc(rq, field) do { } while (0) argument
150 # define schedstat_add(rq, field, amt) do { } while (0) argument
254 struct rq *rq = task_rq(prev); in __sched_info_switch() local
261 if (prev != rq->idle) in __sched_info_switch()
264 if (next != rq->idle) in __sched_info_switch()