函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:void rcu_segcblist_extract_pend_cbs(struct rcu_segcblist *rsclp, struct rcu_cblist *rclp)

返回类型:void

参数:

类型参数名称
struct rcu_segcblist *rsclp
struct rcu_cblist *rclp
348  如果非Does the specified rcu_segcblist structure contain callbacks that* are still pending, that is, not yet ready to be invoked?则返回
350  tail等于tails[Also RCU_WAIT head. ]
351  tail等于tails[RCU_NEXT_TAIL]
352  WRITE_ONCE( * tails[Also RCU_WAIT head. ], NULL)
353 i小于RCU_CBLIST_NSEGS循环WRITE_ONCE(tails[i], tails[Also RCU_WAIT head. ])
调用者
名称描述
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