函数逻辑报告 |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-27 11:34:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:driver_filter
函数原型:static bool driver_filter(struct device *dev)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev |
177 | 如果此条件成立可能性大(为编译器优化)(!current_driver_name[0])则返回:true |
181 | 如果current_driver且dev且 which driver has allocated this device 恒等于current_driver则返回:true |
185 | 如果非dev则返回:false |
188 | 如果current_driver或非current_driver_name[0]则返回:false |
193 | 如果非drv则返回:false |
197 | read_lock_irqsave( & driver_name_lock, flags) |
199 | ret = false |
202 | current_driver等于drv |
203 | ret = true |
206 | read_unlock_irqrestore( & driver_name_lock, flags) |
208 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |