函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return the current value the update side's sequence number, no ordering.

函数原型:static inline unsigned long rcu_seq_current(unsigned long *sp)

返回类型:unsigned long

参数:

类型参数名称
unsigned long *sp
99  返回:READ_ONCE( * sp)
调用者
名称描述
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
rcu_check_gp_kthread_starvationComplain about starvation of grace-period kthread.
print_other_cpu_stall
print_cpu_stall