Home
last modified time | relevance | path

Searched defs:srcu_struct (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dsrcutiny.h16 struct srcu_struct { struct
17 short srcu_lock_nesting[2]; /* srcu_read_lock() nesting depth. */
18 unsigned short srcu_idx; /* Current reader array element in bit 0x2. */
19 unsigned short srcu_idx_max; /* Furthest future srcu_idx request. */
20 u8 srcu_gp_running; /* GP workqueue running? */
21 u8 srcu_gp_waiting; /* GP waiting for readers? */
22 struct swait_queue_head srcu_wq;
47 struct srcu_struct name = __SRCU_STRUCT_INIT(name, name) argument
Dsrcutree.h64 struct srcu_struct { struct
65 struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */
66 struct srcu_node *level[RCU_NUM_LVLS + 1];
68 struct mutex srcu_cb_mutex; /* Serialize CB preparation. */
69 spinlock_t __private lock; /* Protect counters */
70 struct mutex srcu_gp_mutex; /* Serialize GP work. */
71 unsigned int srcu_idx; /* Current rdr array element. */
72 unsigned long srcu_gp_seq; /* Grace-period seq #. */
73 unsigned long srcu_gp_seq_needed; /* Latest gp_seq needed. */
74 unsigned long srcu_gp_seq_needed_exp; /* Furthest future exp GP. */
[all …]
Dsrcu.h54 struct srcu_struct { }; struct