函数逻辑报告 |
Source Code:kernel\rcu\srcutiny.c |
Create Date:2022-07-27 11:19:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Workqueue handler to drive one grace period and invoke any callbacks* that become ready as a result. Single-CPU and !PREEMPT operation* means that we get away with murder on synchronization. ;-)
函数原型:void srcu_drive_gp(struct work_struct *wp)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct work_struct * | wp |
117 | 如果 GP workqueue running? 或非READ_ONCE( Pending callbacks: Head. )则返回 |
121 | WRITE_ONCE( GP workqueue running? , true) |
122 | 禁止中断() |
123 | lh等于 Pending callbacks: Head. |
124 | Pending callbacks: Head. = NULL |
126 | 开中断() |
129 | WRITE_ONCE( GP waiting for readers? , true) |
131 | WRITE_ONCE( GP waiting for readers? , false) |
148 | WRITE_ONCE( GP workqueue running? , false) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |