函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Increase the numeric length of an rcu_segcblist structure by the* specified amount, which can be negative

函数原型:static void rcu_segcblist_add_len(struct rcu_segcblist *rsclp, long v)

返回类型:void

参数:

类型参数名称
struct rcu_segcblist *rsclp
longv
114  smp_mb()
115  WRITE_ONCE(len, len + v)
116  smp_mb()
调用者
名称描述
rcu_segcblist_inc_lenIncrease the numeric length of an rcu_segcblist structure by one.* This can cause the ->len field to disagree with the actual number of* callbacks on the structure. This increase is fully ordered with respect* to the callers accesses both before and after.
rcu_segcblist_insert_countInsert counts from the specified rcu_cblist structure in the* specified rcu_segcblist structure.