函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcu.h Create Date:2022-07-27 11:17:50
Last Modify:2022-05-19 07:39:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current().

函数原型:static inline int rcu_seq_state(unsigned long s)

返回类型:int

参数:

类型参数名称
unsigned longs
41  返回:s按位与RCU_SEQ_STATE_MASK
调用者
名称描述
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.
rcu_seq_startAdjust sequence number for start of update-side operation.
rcu_seq_endAdjust sequence number for end of update-side operation.