函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:void rcu_segcblist_merge(struct rcu_segcblist *dst_rsclp, struct rcu_segcblist *src_rsclp)

返回类型:void

参数:

类型参数名称
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.