函数逻辑报告 |
Source Code:kernel\rcu\tree_exp.h |
Create Date:2022-07-27 11:28:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Select the CPUs within the specified rcu_node that the upcoming* expedited grace period needs to wait for.
函数原型:static void sync_rcu_exp_select_node_cpus(struct work_struct *wp)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct work_struct * | wp |
| 346 | mask_ofl_test等于0 |
| 349 | rdp等于per_cpu_ptr( & rcu_data, cpu) |
| 354 | mask_ofl_test或等于mask |
| 355 | 否则 |
| 356 | snap等于Snapshot the ->dynticks counter with full ordering so as to allow* stable comparison of this counter with past and future snapshots. |
| 357 | 如果Return true if the snapshot returned from rcu_dynticks_snap()* indicates that RCU is in an extended quiescent state.则mask_ofl_test或等于mask |
| 359 | 否则Double-check need for IPI. 等于snap |
| 370 | 如果rcu_preempt_has_tasks(rnp)则s no such task. 等于链表后项 |
| 377 | rdp等于per_cpu_ptr( & rcu_data, cpu) |
| 379 | retry_ipi : |
| 381 | mask_ofl_test或等于mask |
| 382 | 继续下一循环 |
| 385 | put_cpu() |
| 386 | 继续下一循环 |
| 389 | put_cpu() |
| 390 | 如果非ret则 |
| 391 | mask_ofl_ipi与等于mask的反 |
| 392 | 继续下一循环 |
| 402 | 转到:retry_ipi |
| 405 | 如果非CPUs or groups that need to check in 按位与mask的值则mask_ofl_ipi与等于mask的反 |
| 410 | mask_ofl_test或等于mask_ofl_ipi |
| 411 | 如果mask_ofl_test则Report expedited quiescent state for multiple CPUs, all covered by the* specified leaf rcu_node structure. |
| 名称 | 描述 |
|---|---|
| sync_rcu_exp_select_cpus | Select the nodes that the upcoming expedited grace period needs* to wait for. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |