| Function report | 
| Source Code: fs\block_dev.c | Create Date:2022-07-28 20:14:47 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:bd_acquire
Proto:static struct block_device *bd_acquire(struct inode *inode)
Type:struct block_device
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | 
| 971 | If bdev && Not inode_unhashed( will die ) Then | 
| 973 | spin_unlock( & pseudo-fs) | 
| 974 | Return bdev | 
| 976 | spin_unlock( & pseudo-fs) | 
| 984 | If bdev Then Call when you free inode | 
| 988 | If bdev Then | 
| 1003 | Return bdev | 
| Name | Describe | 
|---|---|
| blkdev_open | |
| lookup_bdev | lookup_bdev - lookup a struct block_device by name*@pathname: special file representing the block device* Get a reference to the blockdevice at @pathname in the current* namespace if possible and return it. Return ERR_PTR(error)* otherwise. | 
| 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 |