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:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Extract only those callbacks still pending (not yet ready to be* invoked) from the specified rcu_segcblist structure and place them in* the specified rcu_cblist structure

Proto:void rcu_segcblist_extract_pend_cbs(struct rcu_segcblist *rsclp, struct rcu_cblist *rclp)

Type:void

Parameter:

TypeParameterName
struct rcu_segcblist *rsclp
struct rcu_cblist *rclp
348  If Not Does the specified rcu_segcblist structure contain callbacks that* are still pending, that is, not yet ready to be invoked? Then Return
350  tail = tails[Also RCU_WAIT head. ]
351  tail = tails[RCU_NEXT_TAIL]
352  WRITE_ONCE( * tails[Also RCU_WAIT head. ], NULL)
353  When i < RCU_CBLIST_NSEGS cycle WRITE_ONCE(tails[i], tails[Also RCU_WAIT head. ])
Caller
NameDescribe
rcu_segcblist_mergeMerge the source rcu_segcblist structure into the destination* rcu_segcblist structure, then initialize the source. Any pending* callbacks from the source get to start over. It is best to* advance and accelerate both the destination and the source