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

Name:Merge 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

Proto:void rcu_segcblist_merge(struct rcu_segcblist *dst_rsclp, struct rcu_segcblist *src_rsclp)

Type:void

Parameter:

TypeParameterName
struct rcu_segcblist *dst_rsclp
struct rcu_segcblist *src_rsclp
530  Initialize simple callback list.
531  Initialize simple callback list.
532  Extract 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
533  Extract only those callbacks ready to be invoked from the specified* rcu_segcblist structure and place them in the specified rcu_cblist* structure.
534  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
535  Insert counts from the specified rcu_cblist structure in the* specified rcu_segcblist structure.
536  Move callbacks from the specified rcu_cblist to the beginning of the* done-callbacks segment of the specified rcu_segcblist.
537  Move callbacks from the specified rcu_cblist to the end of the* new-callbacks segment of the specified rcu_segcblist.
538  Initialize an rcu_segcblist structure.