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:Exchange the numeric length of the specified rcu_segcblist structure* with the specified value. This can cause the ->len field to disagree* with the actual number of callbacks on the structure. This exchange is

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

Type:long

Parameter:

TypeParameterName
struct rcu_segcblist *rsclp
longv
142  ret = len
144  smp_mb()
145  WRITE_ONCE(len, v)
146  smp_mb()
147  Return ret
Caller
NameDescribe
rcu_segcblist_extract_countExtract only the counts from the specified rcu_segcblist structure,* and place them in the specified rcu_cblist structure. This function* supports both callback orphaning and invocation, hence the separation* of counts and callbacks