Lines Matching +full:per +full:- +full:cpu
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Sleepable Read-Copy Update mechanism for mutual exclusion,
21 * Per-CPU structure feeding into leaf srcu_node, similar in function
25 /* Read-side state. */
26 unsigned long srcu_lock_count[2]; /* Locks per CPU. */
27 unsigned long srcu_unlock_count[2]; /* Unlocks per CPU. */
29 /* Update-side state. */
40 /* ->srcu_data_have_cbs[]. */
41 int cpu; member
52 /* is > ->srcu_gq_seq. */
57 int grplo; /* Least CPU for node. */
58 int grphi; /* Biggest CPU for node. */
62 * Per-SRCU-domain structure, similar in function to rcu_state.
72 unsigned long srcu_gp_seq; /* Grace-period seq #. */
76 struct srcu_data __percpu *sda; /* Per-CPU srcu_data array. */
90 /* Values for state variable (bottom bits of ->srcu_gp_seq). */
99 .srcu_gp_seq_needed = -1UL, \
106 * Do -not- call init_srcu_struct() nor cleanup_srcu_struct() on it.
109 * files, the per-CPU variable rules nevertheless require that the
121 * See include/linux/percpu-defs.h for the rules on per-CPU variables.