| Function report | 
| Source Code: fs\block_dev.c | Create Date:2022-07-28 20:14:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:lkdev_get_by_path - open a block device by name*@path: path to the block device to open*@mode: FMODE_* mask*@holder: exclusive holder identifier* Open the blockdevice described by the device file at @path. @mode* and @holder are identical to blkdev_get().
Proto:struct block_device *blkdev_get_by_path(const char *path, fmode_t mode, void *holder)
Type:struct block_device
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | path | |
| fmode_t | mode | |
| void * | holder | 
| 1799 | If mode & le is open for writing && bdev_read_only(bdev) Then | 
| 1800 | blkdev_put(bdev, mode) | 
| 1804 | Return bdev | 
| Name | Describe | 
|---|---|
| mount_bdev | 
| 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 |