Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcu.h Create Date:2022-07-28 10:17:31
Last Modify:2022-05-19 07:39:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Return the current value the update side's sequence number, no ordering.

Proto:static inline unsigned long rcu_seq_current(unsigned long *sp)

Type:unsigned long

Parameter:

TypeParameterName
unsigned long *sp
99  Return READ_ONCE( * sp)
Caller
NameDescribe
srcu_gp_startStart an SRCU grace period.
srcu_gp_endNote the end of an SRCU grace period. Initiates callback invocation* and starts a new grace period if needed.* The ->srcu_cb_mutex acquisition does not protect any data, but* instead prevents more than one grace period from starting while we
srcu_might_be_idleIf SRCU is likely idle, return true, otherwise return false.* Note that it is OK for several current from-idle requests for a new* grace period from idle to specify expediting because they will all end* up requesting the same grace period anyhow
__call_srcuEnqueue an SRCU callback on the srcu_data structure associated with* the current CPU and the specified srcu_struct structure, initiating* grace-period processing if it is not already running
srcu_invoke_callbacks
srcutorture_get_gp_data
srcu_torture_stats_print
rcu_gp_in_progressReturn true if an RCU grace period is in progress. The READ_ONCE()s* permit this function to be invoked without holding the root rcu_node* structure's ->lock, but of course results can be subject to change.
rcutorture_get_gp_dataSend along grace-period-related data for rcutorture diagnostics.
rcu_gpnum_ovfWe are reporting a quiescent state on behalf of some other CPU, so* it is our responsibility to check for and handle potential overflow* of the rcu_node ->gp_seq counter with respect to the rcu_data counters
rcu_start_this_gp_start_this_gp - Request the start of a particular grace period*@rnp_start: The leaf node of the CPU from which to start
rcu_advance_cbs_nowakeMove and classify callbacks, but only if doing so won't require* that the RCU grace-period kthread be awakened.
note_gp_changes
rcu_pending