函数逻辑报告

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 end of the* new-callbacks segment of the specified rcu_segcblist.

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

返回类型:void

参数:

类型参数名称
struct rcu_segcblist *rsclp
struct rcu_cblist *rclp
399  如果非head则返回
401  WRITE_ONCE( * tails[RCU_NEXT_TAIL], head)
402  WRITE_ONCE(tails[RCU_NEXT_TAIL], tail)
403  head = NULL
404  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