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->barrier_sequence); in show_rcubarrier()
186 struct rcu_state *rsp = (struct rcu_state *)m->private; in show_rcuexp() local
189 rsp->expedited_sequence, in show_rcuexp()
190 atomic_long_read(&rsp->expedited_workdone0), in show_rcuexp()
191 atomic_long_read(&rsp->expedited_workdone1), in show_rcuexp()
192 atomic_long_read(&rsp->expedited_workdone2), in show_rcuexp()
193 atomic_long_read(&rsp->expedited_workdone3), in show_rcuexp()
194 atomic_long_read(&rsp->expedited_normal), in show_rcuexp()
195 atomic_read(&rsp->expedited_need_qs), in show_rcuexp()
196 rsp->expedited_sequence / 2); in show_rcuexp()
262 static void print_one_rcu_state(struct seq_file *m, struct rcu_state *rsp) in print_one_rcu_state() argument
268 gpnum = rsp->gpnum; in print_one_rcu_state()
270 ulong2long(rsp->completed), ulong2long(gpnum), in print_one_rcu_state()
271 rsp->gp_state, in print_one_rcu_state()
272 (long)(rsp->jiffies_force_qs - jiffies), in print_one_rcu_state()
275 rsp->n_force_qs, rsp->n_force_qs_ngp, in print_one_rcu_state()
276 rsp->n_force_qs - rsp->n_force_qs_ngp, in print_one_rcu_state()
277 READ_ONCE(rsp->n_force_qs_lh), rsp->qlen_lazy, rsp->qlen); in print_one_rcu_state()
278 for (rnp = &rsp->node[0]; rnp - &rsp->node[0] < rcu_num_nodes; rnp++) { in print_one_rcu_state()
295 struct rcu_state *rsp = (struct rcu_state *)m->private; in show_rcuhier() local
296 print_one_rcu_state(m, rsp); in show_rcuhier()
313 static void show_one_rcugp(struct seq_file *m, struct rcu_state *rsp) in show_one_rcugp() argument
320 struct rcu_node *rnp = &rsp->node[0]; in show_one_rcugp()
323 completed = READ_ONCE(rsp->completed); in show_one_rcugp()
324 gpnum = READ_ONCE(rsp->gpnum); in show_one_rcugp()
328 gpage = jiffies - rsp->gp_start; in show_one_rcugp()
329 gpmax = rsp->gp_max; in show_one_rcugp()
337 struct rcu_state *rsp = (struct rcu_state *)m->private; in show_rcugp() local
338 show_one_rcugp(m, rsp); in show_rcugp()
428 struct rcu_state *rsp; in rcutree_trace_init() local
436 for_each_rcu_flavor(rsp) { in rcutree_trace_init()
437 rspdir = debugfs_create_dir(rsp->name, rcudir); in rcutree_trace_init()
442 rspdir, rsp, &rcudata_fops); in rcutree_trace_init()
447 rspdir, rsp, &rcuexp_fops); in rcutree_trace_init()
452 rspdir, rsp, &rcu_pending_fops); in rcutree_trace_init()
457 rspdir, rsp, &rcubarrier_fops); in rcutree_trace_init()
462 if (rsp == &rcu_preempt_state) { in rcutree_trace_init()
471 rspdir, rsp, &rcugp_fops); in rcutree_trace_init()
476 rspdir, rsp, &rcuhier_fops); in rcutree_trace_init()