函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Move callbacks from the specified rcu_cblist to the beginning of the* done-callbacks segment of the specified rcu_segcblist.

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

返回类型:void

参数:

类型参数名称
struct rcu_segcblist *rsclp
struct rcu_cblist *rclp
379  如果非head则返回
381  tail等于head
382  WRITE_ONCE(head, head)
383 i小于RCU_CBLIST_NSEGS循环如果head恒等于tails[i]则
385  WRITE_ONCE(tails[i], tail)
386  否则退出
388  head = NULL
389  tail等于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
rcu_do_batchInvoke any RCU callbacks that have made it to the end of their grace* period. Thottle as specified by rdp->blimit.