Home
last modified time | relevance | path

Searched refs:rcu_state (Results 1 – 11 of 11) sorted by relevance

/linux/kernel/rcu/
H A Dtree.c92 static struct rcu_state rcu_state = { variable
93 .level = { &rcu_state.node[0] },
96 .barrier_mutex = __MUTEX_INITIALIZER(rcu_state.barrier_mutex),
97 .barrier_lock = __RAW_SPIN_LOCK_UNLOCKED(rcu_state.barrier_lock),
100 .exp_mutex = __MUTEX_INITIALIZER(rcu_state.exp_mutex),
101 .exp_wake_mutex = __MUTEX_INITIALIZER(rcu_state.exp_wake_mutex),
103 .srs_cleanup_work = __WORK_INITIALIZER(rcu_state.srs_cleanup_work,
107 .nocb_mutex = __MUTEX_INITIALIZER(rcu_state.nocb_mutex),
221 return rcu_seq_state(rcu_seq_current(&rcu_state.gp_seq)); in rcu_gp_in_progress()
522 return READ_ONCE(rcu_state.gp_seq); in rcu_get_gp_seq()
[all …]
H A Dtree_nocb.h68 rcu_state.nocb_is_setup = true; in rcu_nocb_setup()
202 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, in __wake_nocb_gp()
218 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("DoWake")); in __wake_nocb_gp()
294 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, reason); in wake_nocb_gp_defer()
443 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, in rcu_nocb_try_bypass()
462 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, in rcu_nocb_try_bypass()
493 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("FirstBQ")); in rcu_nocb_try_bypass()
508 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, in rcu_nocb_try_bypass()
512 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, in rcu_nocb_try_bypass()
542 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, in __call_rcu_nocb_wake()
[all …]
H A Dtree.h352 struct rcu_state { struct
/linux/include/linux/
H A Dstackdepot.h73 unsigned long rcu_state; /* RCU cookie */ member
/linux/Documentation/RCU/Design/Data-Structures/
H A DData-Structures.rst27 This diagram shows an enclosing ``rcu_state`` structure containing a tree
137 #. Each ``rcu_state`` structures has a lock and a mutex, and some fields
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:
283 structures as well. The fields in the ``rcu_state`` structure represent
[all …]
/linux/net/sched/
H A Dsch_generic.c1583 cond_synchronize_rcu(miniq->rcu_state); in mini_qdisc_pair_swap()
1584 else if (!poll_state_synchronize_rcu(miniq->rcu_state)) in mini_qdisc_pair_swap()
1596 miniq_old->rcu_state = start_poll_synchronize_rcu(); in mini_qdisc_pair_swap()
1615 miniqp->miniq1.rcu_state = get_state_synchronize_rcu(); in mini_qdisc_pair_init()
1616 miniqp->miniq2.rcu_state = miniqp->miniq1.rcu_state; in mini_qdisc_pair_init()
/linux/lib/
H A Dstackdepot.c409 if (!poll_state_synchronize_rcu(stack->rcu_state)) in depot_pop_free()
543 stack->rcu_state = get_state_synchronize_rcu(); in depot_free_stack()
/linux/Documentation/RCU/Design/Expedited-Grace-Periods/
H A DExpedited-Grace-Periods.rst150 ``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/
H A DTree-RCU-Memory-Ordering.rst341 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/
H A Dsch_generic.h1395 unsigned long rcu_state;
1349 unsigned long rcu_state; global() member
/linux/Documentation/RCU/Design/Requirements/
H A DRequirements.rst1992 rcu_seq_start(&rcu_state.gp_seq);
2002 rcu_seq_end(&rcu_state.gp_seq);