Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Increase the numeric length of an rcu_segcblist structure by the* specified amount, which can be negative

Proto:static void rcu_segcblist_add_len(struct rcu_segcblist *rsclp, long v)

Type:void

Parameter:

TypeParameterName
struct rcu_segcblist *rsclp
longv
114  smp_mb()
115  WRITE_ONCE(len, len + v)
116  smp_mb()
Caller
NameDescribe
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.