函数逻辑报告 | 
Source Code:kernel\rcu\srcutree.c | 
Create Date:2022-07-27 11:19:14 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Helper function for synchronize_srcu() and synchronize_srcu_expedited().
函数原型:static void __synchronize_srcu(struct srcu_struct *ssp, bool do_norm)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct srcu_struct * | ssp | |
| bool | do_norm | 
| 909 | RCU_LOCKDEP_WARN(lock_is_held( & dep_map) || lock_is_held( & rcu_bh_lock_map) || lock_is_held( & rcu_lock_map) || lock_is_held( & rcu_sched_lock_map), "Illegal synchronize_srcu() in same-type SRCU (or in RCU) read-side critical section") | 
| 915 | 如果rcu_scheduler_active恒等于RCU_SCHEDULER_INACTIVE则返回 | 
| 917 | might_sleep() | 
| 919 | init_completion( & completion) | 
| 920 | init_rcu_head_on_stack( & head) | 
| 923 | destroy_rcu_head_on_stack( & head) | 
| 932 | smp_mb() | 
| 名称 | 描述 | 
|---|---|
| synchronize_srcu_expedited | synchronize_srcu_expedited - Brute-force SRCU grace period*@ssp: srcu_struct with which to synchronize | 
| synchronize_srcu | synchronize_srcu - wait for prior SRCU read-side critical-section completion*@ssp: srcu_struct with which to synchronize | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |