| Function report | 
| Source Code: block\bsg.c | Create Date:2022-07-28 17:37:42 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:bsg_get_device
Proto:static struct bsg_device *bsg_get_device(struct inode *inode, struct file *file)
Type:struct bsg_device
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| struct file * | file | 
| 289 | mutex_lock( & bsg_mutex) | 
| 292 | If Not bcd Then | 
| 294 | Go to out_unlock | 
| 297 | bd = __bsg_get_device(iminor(inode), queue) | 
| 301 | out_unlock : | 
| 303 | Return bd | 
| Name | Describe | 
|---|---|
| bsg_open | 
| 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 |