Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current().

Proto:static inline int rcu_seq_state(unsigned long s)

Type:int

Parameter:

TypeParameterName
unsigned longs
41  Return s & RCU_SEQ_STATE_MASK
Caller
NameDescribe
check_init_srcu_structFirst-use initialization of statically allocated srcu_struct* structure
cleanup_srcu_structleanup_srcu_struct - deconstruct a sleep-RCU structure*@ssp: structure to clean up.* Must invoke this after you are finished using a given srcu_struct that* was initialized via init_srcu_struct(), else you leak memory.
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_funnel_gp_startFunnel-locking scheme to scalably mediate many concurrent grace-period* requests
srcu_advance_stateCore SRCU state machine. Push state bits of ->srcu_gp_seq* to SRCU_STATE_SCAN2, and invoke srcu_gp_end() when scan has* completed in that state.
srcu_reschedule
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.
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.