函数逻辑报告 |
Source Code:kernel\rcu\rcu_segcblist.c |
Create Date:2022-07-27 11:29:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:"Accelerate" callbacks based on more-accurate grace-period information
函数原型:bool rcu_segcblist_accelerate(struct rcu_segcblist *rsclp, unsigned long seq)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rcu_segcblist * | rsclp | |
unsigned long | seq |
470 | WARN_ON_ONCE(!Is the specified rcu_segcblist enabled, for example, not corresponding* to an offline CPU?) |
485 | 退出 |
500 | 如果i先自加大于等于RCU_NEXT_TAIL则返回:false |
510 | 以i小于RCU_NEXT_TAIL循环 |
511 | WRITE_ONCE(tails[i], tails[RCU_NEXT_TAIL]) |
514 | 返回:true |
名称 | 描述 |
---|---|
__call_srcu | Enqueue an SRCU callback on the srcu_data structure associated with* the current CPU and the specified srcu_struct structure, initiating* grace-period processing if it is not already running |
srcu_invoke_callbacks | |
rcu_accelerate_cbs | If there is room, assign a ->gp_seq number to any callbacks on this* CPU that have not already been assigned |
rcu_accelerate_cbs_unlocked | Similar to rcu_accelerate_cbs(), but does not require that the leaf* rcu_node structure's ->lock be held |
srcu_gp_start | Start an SRCU grace period. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |