函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\srcutree.c Create Date:2022-07-27 11:18:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:First-use initialization of statically allocated srcu_struct* structure

函数原型:static void check_init_srcu_struct(struct srcu_struct *ssp)

返回类型:void

参数:

类型参数名称
struct srcu_struct *ssp
232  如果非Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current().则返回
234  spin_lock_irqsave_rcu_node(ssp, flags)
235  如果非Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current().
236  spin_unlock_irqrestore_rcu_node(ssp, flags)
237  返回
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)
调用者
名称描述
__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