函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Adjust sequence number for start of update-side operation.

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

返回类型:void

参数:

类型参数名称
unsigned long *sp
57  WRITE_ONCE( * sp, * sp + 1)
58  smp_mb()
59  WARN_ON_ONCE(Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current(). != 1)
调用者
名称描述
srcu_gp_startStart an SRCU grace period.
srcu_barriersrcu_barrier - Wait until all in-flight call_srcu() callbacks complete.*@ssp: srcu_struct on which to wait for in-flight callbacks.
rcu_gp_initInitialize a new grace period. Return false if no grace period required.
rcu_barrier_barrier - Wait until all in-flight call_rcu() callbacks complete
rcu_exp_gp_seq_startRecord the start of an expedited grace period.