函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_srcu_struct_fields

函数原型:static int init_srcu_struct_fields(struct srcu_struct *ssp)

返回类型:int

参数:

类型参数名称
struct srcu_struct *ssp
29  srcu_read_lock() nesting depth. [0]等于0
30  srcu_read_lock() nesting depth. [1]等于0
31  init_swait_queue_head( & srcu_wq)
32  Pending callbacks: Head. = NULL
33  Pending callbacks: Tail. 等于 Pending callbacks: Head.
34  GP workqueue running? = false
35  GP waiting for readers? = false
36  Current reader array element. 等于0
37  INIT_WORK( & For driving grace periods. , Workqueue handler to drive one grace period and invoke any callbacks* that become ready as a result. Single-CPU and !PREEMPT operation* means that we get away with murder on synchronization. ;-))
38  初始化链表头
39  返回:0
调用者
名称描述
__init_srcu_struct