函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Extract only those callbacks ready to be invoked from the specified* rcu_segcblist structure and place them in the specified rcu_cblist* structure.

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

返回类型:void

参数:

类型参数名称
struct rcu_segcblist *rsclp
struct rcu_cblist *rclp
325  如果非Does the specified rcu_segcblist structure contain callbacks that* are ready to be invoked?则返回
327  tail等于head
328  WRITE_ONCE(head, * tails[Also RCU_WAIT head. ])
329  WRITE_ONCE( * tails[Also RCU_WAIT head. ], NULL)
330  tail等于tails[Also RCU_WAIT head. ]
331 i大于等于Also RCU_WAIT head. 循环如果tails[i]恒等于tails[Also RCU_WAIT head. ]则
333  WRITE_ONCE(tails[i], & head)
调用者
名称描述
rcu_do_batchInvoke any RCU callbacks that have made it to the end of their grace* period. Thottle as specified by rdp->blimit.
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
srcu_invoke_callbacks