函数逻辑报告 |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-27 11:26:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_start_this_gp - Request the start of a particular grace period*@rnp_start: The leaf node of the CPU from which to start
函数原型:static bool rcu_start_this_gp(struct rcu_node *rnp_start, struct rcu_data *rdp, unsigned long gp_seq_req)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rcu_node * | rnp_start | |
struct rcu_data * | rdp | |
unsigned long | gp_seq_req |
1156 | bool ret = false |
1170 | 以1循环 |
1193 | 如果(rnp != rnp_start && cu_node tree? != NULL)则raw_spin_unlock_rcu_node(rnp) |
1195 | 如果非cu_node tree? 则退出 |
1206 | Time of last GP request 等于jiffies |
1207 | 如果非Task for grace periods. 则 |
1212 | ret = true |
1213 | unlock_out : |
1219 | 如果rnp不等于rnp_start则raw_spin_unlock_rcu_node(rnp) |
1221 | 返回:ret |
名称 | 描述 |
---|---|
rcu_accelerate_cbs | If there is room, assign a ->gp_seq number to any callbacks on this* CPU that have not already been assigned |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |