Function report |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-28 10:34:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:driver_filter
Proto:static bool driver_filter(struct device *dev)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev |
177 | If Value is more likely to compile time(!current_driver_name[0]) Then Return true |
181 | If current_driver && dev && which driver has allocated this device == current_driver Then Return true |
185 | If Not dev Then Return false |
188 | If current_driver || Not current_driver_name[0] Then Return false |
193 | If Not drv Then Return false |
197 | read_lock_irqsave( & driver_name_lock, flags) |
199 | ret = false |
200 | If name && strncmp(current_driver_name, name, per-driver filter related state - 1) == 0 Then |
202 | current_driver = drv |
203 | ret = true |
206 | read_unlock_irqrestore( & driver_name_lock, flags) |
208 | Return ret |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |