Home
last modified time | relevance | path

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

/linux-6.6.21/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.h179 struct rcu_data { struct
256 struct rcu_data *nocb_toggling_rdp; /* rdp queued for (de-)offloading */ argument
259 struct rcu_data *nocb_gp_rdp ____cacheline_internodealigned_in_smp; argument
458 static bool rcu_is_callbacks_kthread(struct rcu_data *rdp);
463 static void zero_cpu_stall_ticks(struct rcu_data *rdp);
467 static bool wake_nocb_gp(struct rcu_data *rdp, bool force);
468 static bool rcu_nocb_flush_bypass(struct rcu_data *rdp, struct rcu_head *rhp,
470 static bool rcu_nocb_try_bypass(struct rcu_data *rdp, struct rcu_head *rhp,
473 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty,
475 static int rcu_nocb_need_deferred_wakeup(struct rcu_data *rdp, int level);
[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()
289 if (__this_cpu_read(rcu_data.cpu_no_qs.b.norm)) { in rcu_qs()
291 __this_cpu_read(rcu_data.gp_seq), in rcu_qs()
293 __this_cpu_write(rcu_data.cpu_no_qs.b.norm, false); in rcu_qs()
315 struct rcu_data *rdp = this_cpu_ptr(&rcu_data); in rcu_note_context_switch()
473 struct rcu_data *rdp; in rcu_preempt_deferred_qs_irqrestore()
483 rdp = this_cpu_ptr(&rcu_data); in rcu_preempt_deferred_qs_irqrestore()
588 return (__this_cpu_read(rcu_data.cpu_no_qs.b.exp) || in rcu_preempt_need_deferred_qs()
[all …]
Dtree.c79 static DEFINE_PER_CPU_SHARED_ALIGNED(struct rcu_data, rcu_data) = {
150 static void rcu_report_exp_rdp(struct rcu_data *rdp);
152 static void check_cb_ovld_locked(struct rcu_data *rdp, struct rcu_node *rnp);
153 static bool rcu_rdp_is_offloaded(struct rcu_data *rdp);
154 static bool rcu_rdp_cpu_online(struct rcu_data *rdp);
236 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, cpu); in rcu_get_n_cbs_cpu()
291 static bool rcu_dynticks_in_eqs_since(struct rcu_data *rdp, int snap) in rcu_dynticks_in_eqs_since()
330 raw_cpu_write(rcu_data.rcu_need_heavy_qs, false); in rcu_momentary_dyntick_idle()
476 static void force_qs_rnp(int (*f)(struct rcu_data *rdp));
549 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()
608 rdp = per_cpu_ptr(&rcu_data, cpu); in synchronize_rcu_expedited_wait()
634 struct rcu_data *rdp; in synchronize_rcu_expedited_wait()
640 rdp = per_cpu_ptr(&rcu_data, cpu); in synchronize_rcu_expedited_wait()
[all …]
Dtree_stall.h185 static void zero_cpu_stall_ticks(struct rcu_data *rdp) in zero_cpu_stall_ticks()
220 struct rcu_data *rdp; in rcu_iw_handler()
223 rdp = container_of(iwp, struct rcu_data, rcu_iw); in rcu_iw_handler()
416 static bool rcu_is_rcuc_kthread_starving(struct rcu_data *rdp, unsigned long *jp) in rcu_is_rcuc_kthread_starving()
440 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, cpu); in print_cpu_stat_info()
481 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, cpu); in print_cpu_stall_info()
666 struct rcu_data *rdp = this_cpu_ptr(&rcu_data); in print_cpu_stall()
718 static void check_cpu_stall(struct rcu_data *rdp) in check_cpu_stall()
893 struct rcu_data *rdp; in show_rcu_gp_kthreads()
929 rdp = per_cpu_ptr(&rcu_data, cpu); in show_rcu_gp_kthreads()
[all …]
/linux-6.6.21/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.6.21/Documentation/RCU/
Drcubarrier.rst238 4 struct rcu_data *rdp = &per_cpu(rcu_data, cpu);
246 Lines 3 and 4 locate RCU's internal per-CPU rcu_data structure,
/linux-6.6.21/Documentation/RCU/Design/Memory-Ordering/
DTree-RCU-Memory-Ordering.rst205 4 struct rcu_data *rdp = this_cpu_ptr(&rcu_data);
/linux-6.6.21/tools/memory-model/Documentation/
Dsimple.txt127 within its instance of the per-CPU rcu_data structure, and then uses data