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:_seq_snap - Take a snapshot of the update side's sequence number.* This function returns the earliest value of the grace-period sequence number* that will indicate that a full grace period has elapsed since the current* time

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

Type:unsigned long

Parameter:

TypeParameterName
unsigned long *sp
91  s = READ_ONCE( * sp) + 2 * RCU_SEQ_STATE_MASK + 1 & ~RCU_SEQ_STATE_MASK
92  smp_mb()
93  Return s
Caller
NameDescribe
srcu_gp_startStart an SRCU grace period.
__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_barriersrcu_barrier - Wait until all in-flight call_srcu() callbacks complete.*@ssp: srcu_struct on which to wait for in-flight callbacks.
srcu_invoke_callbacks
rcu_accelerate_cbsIf there is room, assign a ->gp_seq number to any callbacks on this* CPU that have not already been assigned
rcu_accelerate_cbs_unlockedSimilar to rcu_accelerate_cbs(), but does not require that the leaf* rcu_node structure's ->lock be held
get_state_synchronize_rcuget_state_synchronize_rcu - Snapshot current RCU state* Returns a cookie that is used by a later call to cond_synchronize_rcu()* to determine whether or not a full grace period has elapsed in the* meantime.
rcu_barrier_barrier - Wait until all in-flight call_rcu() callbacks complete