Lines Matching refs:rcu_ctrlblk
31 struct rcu_ctrlblk { struct
39 static struct rcu_ctrlblk rcu_ctrlblk = { argument
40 .donetail = &rcu_ctrlblk.rcucblist,
41 .curtail = &rcu_ctrlblk.rcucblist,
57 if (rcu_ctrlblk.donetail != rcu_ctrlblk.curtail) { in rcu_qs()
58 rcu_ctrlblk.donetail = rcu_ctrlblk.curtail; in rcu_qs()
61 WRITE_ONCE(rcu_ctrlblk.gp_seq, rcu_ctrlblk.gp_seq + 1); in rcu_qs()
75 } else if (rcu_ctrlblk.donetail != rcu_ctrlblk.curtail) { in rcu_sched_clock_irq()
114 if (rcu_ctrlblk.donetail == &rcu_ctrlblk.rcucblist) { in rcu_process_callbacks()
119 list = rcu_ctrlblk.rcucblist; in rcu_process_callbacks()
120 rcu_ctrlblk.rcucblist = *rcu_ctrlblk.donetail; in rcu_process_callbacks()
121 *rcu_ctrlblk.donetail = NULL; in rcu_process_callbacks()
122 if (rcu_ctrlblk.curtail == rcu_ctrlblk.donetail) in rcu_process_callbacks()
123 rcu_ctrlblk.curtail = &rcu_ctrlblk.rcucblist; in rcu_process_callbacks()
124 rcu_ctrlblk.donetail = &rcu_ctrlblk.rcucblist; in rcu_process_callbacks()
172 *rcu_ctrlblk.curtail = head; in call_rcu()
173 rcu_ctrlblk.curtail = &head->next; in call_rcu()
189 return READ_ONCE(rcu_ctrlblk.gp_seq); in get_state_synchronize_rcu()
216 return READ_ONCE(rcu_ctrlblk.gp_seq) != oldstate; in poll_state_synchronize_rcu()