Lines Matching refs:rsp
64 struct rcu_state *rsp = (struct rcu_state *)m->private; in r_start() local
67 return per_cpu_ptr(rsp->rda, *pos); in r_start()
83 struct rcu_state *rsp = (struct rcu_state *)m->private; in show_rcubarrier() local
85 atomic_read(&rsp->barrier_cpu_count), in show_rcubarrier()
86 rsp->n_barrier_done); in show_rcubarrier()
186 struct rcu_state *rsp = (struct rcu_state *)m->private; in show_rcuexp() local
189 atomic_long_read(&rsp->expedited_start), in show_rcuexp()
190 atomic_long_read(&rsp->expedited_done), in show_rcuexp()
191 atomic_long_read(&rsp->expedited_wrap), in show_rcuexp()
192 atomic_long_read(&rsp->expedited_tryfail), in show_rcuexp()
193 atomic_long_read(&rsp->expedited_workdone1), in show_rcuexp()
194 atomic_long_read(&rsp->expedited_workdone2), in show_rcuexp()
195 atomic_long_read(&rsp->expedited_normal), in show_rcuexp()
196 atomic_long_read(&rsp->expedited_stoppedcpus), in show_rcuexp()
197 atomic_long_read(&rsp->expedited_done_tries), in show_rcuexp()
198 atomic_long_read(&rsp->expedited_done_lost), in show_rcuexp()
199 atomic_long_read(&rsp->expedited_done_exit)); in show_rcuexp()
265 static void print_one_rcu_state(struct seq_file *m, struct rcu_state *rsp) in print_one_rcu_state() argument
271 gpnum = rsp->gpnum; in print_one_rcu_state()
273 ulong2long(rsp->completed), ulong2long(gpnum), in print_one_rcu_state()
274 rsp->fqs_state, in print_one_rcu_state()
275 (long)(rsp->jiffies_force_qs - jiffies), in print_one_rcu_state()
278 rsp->n_force_qs, rsp->n_force_qs_ngp, in print_one_rcu_state()
279 rsp->n_force_qs - rsp->n_force_qs_ngp, in print_one_rcu_state()
280 ACCESS_ONCE(rsp->n_force_qs_lh), rsp->qlen_lazy, rsp->qlen); in print_one_rcu_state()
281 for (rnp = &rsp->node[0]; rnp - &rsp->node[0] < rcu_num_nodes; rnp++) { in print_one_rcu_state()
298 struct rcu_state *rsp = (struct rcu_state *)m->private; in show_rcuhier() local
299 print_one_rcu_state(m, rsp); in show_rcuhier()
316 static void show_one_rcugp(struct seq_file *m, struct rcu_state *rsp) in show_one_rcugp() argument
323 struct rcu_node *rnp = &rsp->node[0]; in show_one_rcugp()
326 completed = ACCESS_ONCE(rsp->completed); in show_one_rcugp()
327 gpnum = ACCESS_ONCE(rsp->gpnum); in show_one_rcugp()
331 gpage = jiffies - rsp->gp_start; in show_one_rcugp()
332 gpmax = rsp->gp_max; in show_one_rcugp()
340 struct rcu_state *rsp = (struct rcu_state *)m->private; in show_rcugp() local
341 show_one_rcugp(m, rsp); in show_rcugp()
431 struct rcu_state *rsp; in rcutree_trace_init() local
439 for_each_rcu_flavor(rsp) { in rcutree_trace_init()
440 rspdir = debugfs_create_dir(rsp->name, rcudir); in rcutree_trace_init()
445 rspdir, rsp, &rcudata_fops); in rcutree_trace_init()
450 rspdir, rsp, &rcuexp_fops); in rcutree_trace_init()
455 rspdir, rsp, &rcu_pending_fops); in rcutree_trace_init()
460 rspdir, rsp, &rcubarrier_fops); in rcutree_trace_init()
465 if (rsp == &rcu_preempt_state) { in rcutree_trace_init()
474 rspdir, rsp, &rcugp_fops); in rcutree_trace_init()
479 rspdir, rsp, &rcuhier_fops); in rcutree_trace_init()