函数逻辑报告 |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-27 11:19:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Core SRCU state machine. Push state bits of ->srcu_gp_seq* to SRCU_STATE_SCAN2, and invoke srcu_gp_end() when scan has* completed in that state.
函数原型:static void srcu_advance_state(struct srcu_struct *ssp)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct srcu_struct * | ssp |
1095 | mutex_lock( & srcu_gp_mutex) |
1107 | idx等于Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current(). |
1108 | 如果idx恒等于SRCU_STATE_IDLE则 |
1109 | spin_lock_irq_rcu_node(ssp) |
1110 | 如果ULONG_CMP_GE(srcu_gp_seq, srcu_gp_seq_needed)则 |
1111 | WARN_ON_ONCE(Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current().) |
1112 | spin_unlock_irq_rcu_node(ssp) |
1114 | 返回 |
1116 | idx等于Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current(). |
1119 | spin_unlock_irq_rcu_node(ssp) |
1120 | 如果idx不等于SRCU_STATE_IDLE则 |
1127 | idx等于1按位异或 Current reader array element. 按位与1 |
1142 | idx等于1按位异或 Current reader array element. 按位与1 |
名称 | 描述 |
---|---|
process_srcu |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |