Home
last modified time | relevance | path

Searched refs:rcu_data (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/kernel/rcu/
Dtree_nocb.h19 static inline int rcu_lockdep_is_held_nocb(struct rcu_data *rdp) in rcu_lockdep_is_held_nocb()
24 static inline bool rcu_current_is_nocb_kthread(struct rcu_data *rdp) in rcu_current_is_nocb_kthread()
97 static void rcu_nocb_bypass_lock(struct rcu_data *rdp) in rcu_nocb_bypass_lock()
121 static void rcu_nocb_wait_contended(struct rcu_data *rdp) in rcu_nocb_wait_contended()
132 static bool rcu_nocb_bypass_trylock(struct rcu_data *rdp) in rcu_nocb_bypass_trylock()
141 static void rcu_nocb_bypass_unlock(struct rcu_data *rdp) in rcu_nocb_bypass_unlock()
152 static void rcu_nocb_lock(struct rcu_data *rdp) in rcu_nocb_lock()
164 static void rcu_nocb_unlock(struct rcu_data *rdp) in rcu_nocb_unlock()
176 static void rcu_nocb_unlock_irqrestore(struct rcu_data *rdp, in rcu_nocb_unlock_irqrestore()
188 static void rcu_lockdep_assert_cblist_protected(struct rcu_data *rdp) in rcu_lockdep_assert_cblist_protected()
[all …]
Dtree.h162 struct rcu_data { struct
239 struct rcu_data *nocb_toggling_rdp; /* rdp queued for (de-)offloading */ argument
242 struct rcu_data *nocb_gp_rdp ____cacheline_internodealigned_in_smp; argument
433 static bool rcu_is_callbacks_kthread(struct rcu_data *rdp);
438 static void zero_cpu_stall_ticks(struct rcu_data *rdp);
442 static bool rcu_nocb_flush_bypass(struct rcu_data *rdp, struct rcu_head *rhp,
444 static bool rcu_nocb_try_bypass(struct rcu_data *rdp, struct rcu_head *rhp,
446 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty,
448 static int rcu_nocb_need_deferred_wakeup(struct rcu_data *rdp, int level);
449 static bool do_nocb_deferred_wakeup(struct rcu_data *rdp);
[all …]
Dtree_plugin.h16 static bool rcu_rdp_is_offloaded(struct rcu_data *rdp) in rcu_rdp_is_offloaded()
31 (rdp == this_cpu_ptr(&rcu_data) && in rcu_rdp_is_offloaded()
151 static void rcu_preempt_ctxt_queue(struct rcu_node *rnp, struct rcu_data *rdp) in rcu_preempt_ctxt_queue()
287 if (__this_cpu_read(rcu_data.cpu_no_qs.b.norm)) { in rcu_qs()
289 __this_cpu_read(rcu_data.gp_seq), in rcu_qs()
291 __this_cpu_write(rcu_data.cpu_no_qs.b.norm, false); in rcu_qs()
313 struct rcu_data *rdp = this_cpu_ptr(&rcu_data); in rcu_note_context_switch()
471 struct rcu_data *rdp; in rcu_preempt_deferred_qs_irqrestore()
481 rdp = this_cpu_ptr(&rcu_data); in rcu_preempt_deferred_qs_irqrestore()
586 return (__this_cpu_read(rcu_data.cpu_no_qs.b.exp) || in rcu_preempt_need_deferred_qs()
[all …]
Dtree.c78 static DEFINE_PER_CPU_SHARED_ALIGNED(struct rcu_data, rcu_data) = {
151 static void rcu_report_exp_rdp(struct rcu_data *rdp);
153 static void check_cb_ovld_locked(struct rcu_data *rdp, struct rcu_node *rnp);
154 static bool rcu_rdp_is_offloaded(struct rcu_data *rdp);
233 static bool rcu_rdp_cpu_online(struct rcu_data *rdp) in rcu_rdp_cpu_online()
254 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, cpu); in rcu_get_n_cbs_cpu()
315 static bool rcu_dynticks_in_eqs_since(struct rcu_data *rdp, int snap) in rcu_dynticks_in_eqs_since()
354 raw_cpu_write(rcu_data.rcu_need_heavy_qs, false); in rcu_momentary_dyntick_idle()
500 static void force_qs_rnp(int (*f)(struct rcu_data *rdp));
573 struct rcu_data *rdp = this_cpu_ptr(&rcu_data); in rcu_irq_work_resched()
[all …]
Dtree_exp.h237 struct rcu_data *rdp; in rcu_report_exp_cpu_mult()
246 rdp = per_cpu_ptr(&rcu_data, cpu); in rcu_report_exp_cpu_mult()
258 static void rcu_report_exp_rdp(struct rcu_data *rdp) in rcu_report_exp_rdp()
284 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, raw_smp_processor_id()); in exp_funnel_lock()
353 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, cpu); in __sync_rcu_exp_select_node_cpus()
381 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, cpu); in __sync_rcu_exp_select_node_cpus()
593 struct rcu_data *rdp; in synchronize_rcu_expedited_wait()
606 rdp = per_cpu_ptr(&rcu_data, cpu); in synchronize_rcu_expedited_wait()
633 struct rcu_data *rdp; in synchronize_rcu_expedited_wait()
639 rdp = per_cpu_ptr(&rcu_data, cpu); in synchronize_rcu_expedited_wait()
[all …]
Dtree_stall.h179 static void zero_cpu_stall_ticks(struct rcu_data *rdp) in zero_cpu_stall_ticks()
214 struct rcu_data *rdp; in rcu_iw_handler()
217 rdp = container_of(iwp, struct rcu_data, rcu_iw); in rcu_iw_handler()
410 static bool rcu_is_rcuc_kthread_starving(struct rcu_data *rdp, unsigned long *jp) in rcu_is_rcuc_kthread_starving()
446 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, cpu); in print_cpu_stall_info()
629 struct rcu_data *rdp = this_cpu_ptr(&rcu_data); in print_cpu_stall()
681 static void check_cpu_stall(struct rcu_data *rdp) in check_cpu_stall()
846 struct rcu_data *rdp; in show_rcu_gp_kthreads()
882 rdp = per_cpu_ptr(&rcu_data, cpu); in show_rcu_gp_kthreads()
892 rdp = per_cpu_ptr(&rcu_data, cpu); in show_rcu_gp_kthreads()
[all …]
/linux-6.1.9/Documentation/RCU/Design/Data-Structures/
DData-Structures.rst29 to 16 ``rcu_data`` structures associated with it, so that there are
30 ``NR_CPUS`` number of ``rcu_data`` structures, one for each possible CPU.
42 Quiescent states are recorded by the per-CPU ``rcu_data`` structures,
124 ``rcu_head`` structures, which are queued on ``rcu_data`` structures
140 #. The fields in ``rcu_data`` are private to the corresponding CPU,
155 ``rcu_node`` and ``rcu_data`` structures, tracks grace periods,
173 #. ``rcu_data``: This per-CPU structure is the focus of quiescent-state
190 and ``rcu_data`` data structures.
197 between the ``rcu_node`` and ``rcu_data`` structures, tracks grace
206 Relationship to rcu_node and rcu_data Structures
[all …]
/linux-6.1.9/Documentation/RCU/
Drcubarrier.rst245 4 struct rcu_data *rdp = &per_cpu(rcu_data, cpu);
253 Lines 3 and 4 locate RCU's internal per-CPU rcu_data structure,
/linux-6.1.9/Documentation/RCU/Design/Memory-Ordering/
DTree-RCU-Memory-Ordering.rst205 4 struct rcu_data *rdp = this_cpu_ptr(&rcu_data);
/linux-6.1.9/tools/memory-model/Documentation/
Dsimple.txt127 within its instance of the per-CPU rcu_data structure, and then uses data