函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:srcu_torture_stats_print

函数原型:void srcu_torture_stats_print(struct srcu_struct *ssp, char *tt, char *tf)

返回类型:void

参数:

类型参数名称
struct srcu_struct *ssp
char *tt
char *tf
1257  s0等于0, s1等于0
1259  idx等于 Current reader array element. 按位与0x1
1260  打印警报信息("%s%s Tree SRCU g%ld per-CPU(idx=%d):", tt, tf, Return the current value the update side's sequence number, no ordering. , idx)
1262  遍历可用CPU(cpu)
1268  sdp等于per_cpu_ptr(sda, cpu)
1269  u0等于srcu_unlock_count[!idx]
1270  u1等于srcu_unlock_count[idx]
1276  smp_rmb()
1278  l0等于srcu_lock_count[!idx]
1279  l1等于srcu_lock_count[idx]
1281  c0等于l0u0
1282  c1等于l1u1
1283  打印标准信息(" %d(%ld,%ld %c)", cpu, c0, c1, "C."[Is the specified rcu_segcblist structure empty?* But careful! The fact that the ->head field is NULL does not* necessarily imply that there are no callbacks associated with* this structure. When callbacks are being invoked, they are* removed as a group])
1286  s0加等于c0
1287  s1加等于c1
1289  打印标准信息(" T(%ld,%ld)\n", s0, s1)
调用者
名称描述
srcu_torture_stats