Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\srcutree.c Create Date:2022-07-28 10:18:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:First-use initialization of statically allocated srcu_struct* structure

Proto:static void check_init_srcu_struct(struct srcu_struct *ssp)

Type:void

Parameter:

TypeParameterName
struct srcu_struct *ssp
232  If Not Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current(). Then Return
234  spin_lock_irqsave_rcu_node(ssp, flags)
235  If Not Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current(). Then
236  spin_unlock_irqrestore_rcu_node(ssp, flags)
237  Return
239  Initialize non-compile-time initialized fields, including the* associated srcu_node and srcu_data structures. The is_static* parameter is passed through to init_srcu_struct_nodes(), and* also tells us that ->sda has already been wired up to srcu_data.
240  spin_unlock_irqrestore_rcu_node(ssp, flags)
Caller
NameDescribe
__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
__synchronize_srcuHelper function for synchronize_srcu() and synchronize_srcu_expedited().
srcu_barriersrcu_barrier - Wait until all in-flight call_srcu() callbacks complete.*@ssp: srcu_struct on which to wait for in-flight callbacks.
srcu_init