Searched refs:rcu_state (Results 1 – 15 of 15) sorted by relevance
| /linux/kernel/rcu/ |
| A D | tree_stall.h | 178 WRITE_ONCE(rcu_state.gp_start, j); in record_gp_stall_check_time() 184 rcu_state.n_force_qs_gpstart = READ_ONCE(rcu_state.n_force_qs); in record_gp_stall_check_time() 209 rcu_state.name); in rcu_stall_kick_kthreads() 525 data_race(rcu_state.n_force_qs) - rcu_state.n_force_qs_gpstart, in print_cpu_stall_info() 542 rcu_state.name, j, in rcu_check_gp_kthread_starvation() 660 WRITE_ONCE(rcu_state.jiffies_stall, in print_other_cpu_stall() 715 WRITE_ONCE(rcu_state.jiffies_stall, in print_cpu_stall() 783 gs1 = READ_ONCE(rcu_state.gp_seq); in check_cpu_stall() 787 gps = READ_ONCE(rcu_state.gp_start); in check_cpu_stall() 789 gs2 = READ_ONCE(rcu_state.gp_seq); in check_cpu_stall() [all …]
|
| A D | tree.c | 83 static struct rcu_state rcu_state = { variable 1119 WRITE_ONCE(rcu_state.gp_wake_seq, READ_ONCE(rcu_state.gp_seq)); in rcu_gp_kthread_wake() 1984 WRITE_ONCE(rcu_state.n_force_qs, rcu_state.n_force_qs + 1); in rcu_gp_fqs() 2042 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_fqs_loop() 2065 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_fqs_loop() 2073 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_fqs_loop() 2084 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_fqs_loop() 2114 gp_duration = rcu_state.gp_end - rcu_state.gp_start; in rcu_gp_cleanup() 2228 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_kthread() 2242 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_kthread() [all …]
|
| A D | tree_exp.h | 22 rcu_seq_start(&rcu_state.expedited_sequence); in rcu_exp_gp_seq_start() 41 rcu_seq_end(&rcu_state.expedited_sequence); in rcu_exp_gp_seq_end() 55 s = rcu_seq_snap(&rcu_state.expedited_sequence); in rcu_exp_gp_seq_snap() 88 if (likely(ncpus == rcu_state.ncpus_snap)) in sync_exp_reset_tree_hotplug() 90 rcu_state.ncpus_snap = ncpus; in sync_exp_reset_tree_hotplug() 297 mutex_trylock(&rcu_state.exp_mutex)) in exp_funnel_lock() 329 mutex_lock(&rcu_state.exp_mutex); in exp_funnel_lock() 332 mutex_unlock(&rcu_state.exp_mutex); in exp_funnel_lock() 683 mutex_lock(&rcu_state.exp_wake_mutex); in rcu_exp_wait_wake() 699 mutex_unlock(&rcu_state.exp_wake_mutex); in rcu_exp_wait_wake() [all …]
|
| A D | tree_nocb.h | 68 rcu_state.nocb_is_setup = true; in rcu_nocb_setup() 1111 mutex_lock(&rcu_state.nocb_mutex); in rcu_nocb_cpu_deoffload() 1122 mutex_unlock(&rcu_state.nocb_mutex); in rcu_nocb_cpu_deoffload() 1180 mutex_lock(&rcu_state.nocb_mutex); in rcu_nocb_cpu_offload() 1191 mutex_unlock(&rcu_state.nocb_mutex); in rcu_nocb_cpu_offload() 1219 mutex_unlock(&rcu_state.nocb_mutex); in lazy_rcu_shrink_count() 1278 mutex_unlock(&rcu_state.nocb_mutex); in lazy_rcu_shrink_scan() 1309 rcu_state.nocb_is_setup = true; in rcu_init_nohz() 1312 if (!rcu_state.nocb_is_setup) in rcu_init_nohz() 1426 mutex_lock(&rcu_state.nocb_mutex); in rcu_spawn_cpu_nocb_kthread() [all …]
|
| A D | rcu.h | 379 #define rcu_first_leaf_node() (rcu_state.level[rcu_num_lvls - 1]) 385 #define rcu_is_last_leaf_node(rnp) ((rnp) == &rcu_state.node[rcu_num_nodes - 1]) 396 _rcu_for_each_node_breadth_first(&rcu_state, rnp) 408 (rnp) < &rcu_state.node[rcu_num_nodes]; (rnp)++)
|
| A D | tree_plugin.h | 28 !(lockdep_is_held(&rcu_state.barrier_mutex) || in rcu_rdp_is_offloaded() 31 lockdep_is_held(&rcu_state.nocb_mutex) || in rcu_rdp_is_offloaded() 348 trace_rcu_preempt_task(rcu_state.name, in rcu_note_context_switch() 416 if (IS_ENABLED(CONFIG_RCU_STRICT_GRACE_PERIOD) && rcu_state.gp_kthread) in __rcu_read_lock() 755 time_after(jiffies, rcu_state.gp_start + HZ)) in rcu_flavor_sched_clock_irq() 835 if (irqs_disabled() || preempt_count() || !rcu_state.gp_kthread) in rcu_read_unlock_strict() 1176 (!time_after(rnp->boost_time, jiffies) || rcu_state.cbovld || in rcu_initiate_boost() 1266 time_before(jiffies, READ_ONCE(rcu_state.gp_start) + HZ))) in rcu_nohz_full_cpu()
|
| A D | tree.h | 340 struct rcu_state { struct
|
| /linux/include/linux/ |
| A D | stackdepot.h | 73 unsigned long rcu_state; /* RCU cookie */ member
|
| /linux/Documentation/RCU/Design/Data-Structures/ |
| A D | Data-Structures.rst | 27 This diagram shows an enclosing ``rcu_state`` structure containing a tree 154 #. ``rcu_state``: This structure forms the interconnection between the 189 following sections give more details on the ``rcu_state``, ``rcu_node`` 192 The ``rcu_state`` Structure 195 The ``rcu_state`` structure is the base structure that represents the 202 A few of the ``rcu_state`` structure's fields are discussed, singly and 209 This portion of the ``rcu_state`` structure is declared as follows: 268 This portion of the ``rcu_state`` structure is declared as follows: 292 This portion of the ``rcu_state`` structure is declared as follows: 836 in the ``rcu_state`` and ``rcu_node`` structures. The [all …]
|
| /linux/net/sched/ |
| A D | sch_generic.c | 1589 cond_synchronize_rcu(miniq->rcu_state); in mini_qdisc_pair_swap() 1590 else if (!poll_state_synchronize_rcu(miniq->rcu_state)) in mini_qdisc_pair_swap() 1602 miniq_old->rcu_state = start_poll_synchronize_rcu(); in mini_qdisc_pair_swap() 1621 miniqp->miniq1.rcu_state = get_state_synchronize_rcu(); in mini_qdisc_pair_init() 1622 miniqp->miniq2.rcu_state = miniqp->miniq1.rcu_state; in mini_qdisc_pair_init()
|
| /linux/lib/ |
| A D | stackdepot.c | 360 if (!poll_state_synchronize_rcu(stack->rcu_state)) in depot_pop_free() 494 stack->rcu_state = get_state_synchronize_rcu(); in depot_free_stack()
|
| /linux/Documentation/RCU/Design/Expedited-Grace-Periods/ |
| A D | Expedited-Grace-Periods.rst | 150 ``rcu_state`` structure's ``->ncpus`` field. The ``rcu_state`` 160 ``rcu_state`` structure's ``->ncpus`` and ``->ncpus_snap`` fields are 259 ``->expedited_sequence`` in the ``rcu_state`` structure. This counter 309 respectively. The current value of the ``rcu_state`` structure's 351 Task A now acquires the ``rcu_state`` structure's ``->exp_mutex`` and
|
| /linux/Documentation/RCU/Design/Memory-Ordering/ |
| A D | Tree-RCU-Memory-Ordering.rst | 341 advance the ``rcu_state`` structure's ``->gp_seq`` grace-period-number 370 to the newly advanced value from the ``rcu_state`` structure, as shown 379 ``rcu_state`` structure's ``->gp_seq`` field) before setting each leaf 567 ``rcu_state`` structure's ``->gp_seq`` field. The ordering effects are 586 | once the ``rcu_state`` structure's ``->gp_seq`` field has been |
|
| /linux/include/net/ |
| A D | sch_generic.h | 1322 unsigned long rcu_state; member
|
| /linux/Documentation/RCU/ |
| A D | stallwarn.rst | 241 possible for an rcu_state stall to be caused by both CPUs *and* tasks,
|
Completed in 51 milliseconds