Lines Matching defs:rcu_state

308 struct rcu_state {  struct
309 struct rcu_node node[NUM_RCU_NODES]; /* Hierarchy. */
310 struct rcu_node *level[RCU_NUM_LVLS + 1];
313 int ncpus; /* # CPUs seen so far. */
314 int n_online_cpus; /* # CPUs online for RCU. */
318 unsigned long gp_seq ____cacheline_internodealigned_in_smp;
320 unsigned long gp_max; /* Maximum GP duration in */
322 struct task_struct *gp_kthread; /* Task for grace periods. */
323 struct swait_queue_head gp_wq; /* Where GP task waits. */
324 short gp_flags; /* Commands for GP task. */
325 short gp_state; /* GP kthread sleep state. */
326 unsigned long gp_wake_time; /* Last GP kthread wake. */
327 unsigned long gp_wake_seq; /* ->gp_seq at ^^^. */
328 unsigned long gp_seq_polled; /* GP seq for polled API. */
329 unsigned long gp_seq_polled_snap; /* ->gp_seq_polled at normal GP start. */
330 unsigned long gp_seq_polled_exp_snap; /* ->gp_seq_polled at expedited GP start. */
334 struct mutex barrier_mutex; /* Guards barrier fields. */
335 atomic_t barrier_cpu_count; /* # CPUs waiting on. */
336 struct completion barrier_completion; /* Wake at barrier end. */
337 unsigned long barrier_sequence; /* ++ at start and end of */
341 raw_spinlock_t barrier_lock; /* Protects ->barrier_seq_snap. */
343 struct mutex exp_mutex; /* Serialize expedited GP. */
344 struct mutex exp_wake_mutex; /* Serialize wakeup. */
345 unsigned long expedited_sequence; /* Take a ticket. */
346 atomic_t expedited_need_qs; /* # CPUs left to check in. */
347 struct swait_queue_head expedited_wq; /* Wait for check-ins. */
348 int ncpus_snap; /* # CPUs seen last time. */
349 u8 cbovld; /* Callback overload now? */
350 u8 cbovldnext; /* ^ ^ next time? */
352 unsigned long jiffies_force_qs; /* Time at which to invoke */
354 unsigned long jiffies_kick_kthreads; /* Time at which to kick */
356 unsigned long n_force_qs; /* Number of calls to */
381 /* Values for rcu_state structure's gp_flags field. */ argument