函数逻辑报告 |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-27 11:26:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Update CPU-local rcu_data state to record the beginnings and ends of* grace periods. The caller must hold the ->lock of the leaf rcu_node* structure corresponding to the current CPU, and must have irqs disabled.
函数原型:static bool __note_gp_changes(struct rcu_node *rnp, struct rcu_data *rdp)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rcu_node * | rnp | |
struct rcu_data * | rdp |
1392 | bool ret = false |
1394 | offloaded等于IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_RCU_NOCB_CPU)且Is the specified rcu_segcblist offloaded? |
1399 | 如果Track rsp->rcu_gp_seq counter. 恒等于Track rsp->rcu_gp_seq. 则返回:false |
1408 | 否则 |
1425 | zero_cpu_stall_ticks(rdp) |
1428 | 如果ULONG_CMP_LT(Track furthest future GP request. , Track furthest future GP request. )或Possible ->gp_seq wrap. 则Track furthest future GP request. 等于Track furthest future GP request. |
1430 | WRITE_ONCE(Possible ->gp_seq wrap. , false) |
1432 | 返回:ret |
名称 | 描述 |
---|---|
note_gp_changes | |
rcu_gp_init | Initialize a new grace period. Return false if no grace period required. |
rcu_gp_cleanup | Clean up after the old grace period. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |