函数逻辑报告 |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-27 11:26:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return true if the specified CPU has passed through a quiescent* state by virtue of being in or having passed through an dynticks* idle state since the last call to dyntick_save_progress_counter()* for this same CPU, or by virtue of having been offline.
函数原型:static int rcu_implicit_dynticks_qs(struct rcu_data *rdp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rcu_data * | rdp |
1039 | 返回:1 |
1048 | WARN_ON(1) |
1049 | 打印信息("%s: grp: %d-%d level: %d ->gp_seq %ld ->completedqs %ld\n", __func__, lowest-numbered CPU or group here. , highest-numbered CPU or group here. , is at level 0. , (long)Track rsp->rcu_gp_seq. , (long)All QSes done for this node. ) |
1052 | 以rnp1循环打印信息("%s: %d:%d ->qsmask %#lx ->qsmaskinit %#lx ->qsmaskinitnext %#lx ->rcu_gp_init_mask %#lx\n", __func__, lowest-numbered CPU or group here. , highest-numbered CPU or group here. , CPUs or groups that need to switch in , qsmaskinit, ginning of each grace period. , Mask of offline CPUs at GP init. ) |
1056 | 打印信息("%s %d: %c online: %ld(%d) offline: %ld(%d)\n", __func__, cpu, ".o"[onl], (long)->gp_seq at last online. , ->gp_flags at last online. , (long)->gp_seq at last offline. , ->gp_flags at last offline. ) |
1060 | 返回:1 |
1075 | ruqp等于per_cpu_ptr( & rcu_urgent_qs, cpu) |
1076 | rnhqp等于per_cpu(rcu_need_heavy_qs, cpu) |
1080 | WRITE_ONCE( * rnhqp, true) |
1082 | smp_store_release(ruqp, true) |
1084 | WRITE_ONCE( * ruqp, true) |
1098 | WRITE_ONCE( * ruqp, true) |
1099 | resched_cpu(cpu) |
1113 | resched_cpu(cpu) |
1120 | Is ->rcu_iw pending? = true |
1122 | irq_work_queue_on( & Check for non-irq activity. , cpu) |
1126 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |