函数逻辑报告 |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-27 11:26:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Initialize a new grace period. Return false if no grace period required.
函数原型:static bool rcu_gp_init(void)
返回类型:bool
参数:无
| 1474 | WRITE_ONCE(Time of last GP kthread , jiffies) |
| 1476 | 如果非READ_ONCE(Commands for GP task. )则 |
| 1479 | 返回:false |
| 1481 | WRITE_ONCE(Commands for GP task. , 0) |
| 1489 | 返回:false |
| 1507 | raw_spin_lock( & ofl_lock) |
| 1518 | oldmask等于qsmaskinit |
| 1522 | 如果非oldmask不等于非qsmaskinit则 |
| 1523 | 如果非oldmask则 |
| 1526 | 否则如果rcu_preempt_has_tasks(rnp)则 |
| 1527 | Necessary to wait for blocked tasks to = true |
| 1528 | 否则 |
| 1529 | rcu_cleanup_dead_rnp(rnp) |
| 1543 | Necessary to wait for blocked tasks to = false |
| 1544 | 如果非qsmaskinit则rcu_cleanup_dead_rnp(rnp) |
| 1549 | raw_spin_unlock( & ofl_lock) |
| 1567 | rcu_gp_slow(gp_init_delay) |
| 1569 | rdp等于this_cpu_ptr( & rcu_data) |
| 1582 | 如果mask或Necessary to wait for blocked tasks to 的值且Is this rcu_node a leaf? (rnp)则Similar to rcu_report_qs_rdp(), for which it is a helper function |
| 1584 | 否则raw_spin_unlock_irq_rcu_node(rnp) |
| 1587 | WRITE_ONCE(Time of last GP kthread , jiffies) |
| 1590 | 返回:true |
| 名称 | 描述 |
|---|---|
| rcu_gp_kthread | Body of kthread that handles grace periods. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |