Lines Matching defs:srcu_struct
76 struct srcu_struct { struct
77 struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */
78 struct srcu_node *level[RCU_NUM_LVLS + 1];
80 struct mutex srcu_cb_mutex; /* Serialize CB preparation. */
81 raw_spinlock_t __private lock; /* Protect counters */
82 struct mutex srcu_gp_mutex; /* Serialize GP work. */
83 unsigned int srcu_idx; /* Current rdr array element. */
84 unsigned long srcu_gp_seq; /* Grace-period seq #. */
85 unsigned long srcu_gp_seq_needed; /* Latest gp_seq needed. */
86 unsigned long srcu_gp_seq_needed_exp; /* Furthest future exp GP. */
87 unsigned long srcu_last_gp_end; /* Last GP end timestamp (ns) */
88 struct srcu_data __percpu *sda; /* Per-CPU srcu_data array. */
89 unsigned long srcu_barrier_seq; /* srcu_barrier seq #. */
90 struct mutex srcu_barrier_mutex; /* Serialize barrier ops. */
91 struct completion srcu_barrier_completion;
93 atomic_t srcu_barrier_cpu_cnt; /* # CPUs not yet posting a */
117 * Do -not- call init_srcu_struct() nor cleanup_srcu_struct() on it. argument