函数逻辑报告 |
Source Code:fs\block_dev.c |
Create Date:2022-07-29 10:46:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:struct block_device *lookup_bdev(const char *pathname)
返回类型:struct block_device
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | pathname |
2193 | error等于kern_path(pathname, llow links at the end , & path) |
2202 | 如果非may_open_dev( & path)则转到:fail |
2205 | bdev等于bd_acquire(inode) |
2208 | out : |
2210 | 返回:bdev |
2211 | fail : |
2213 | 转到:out |
名称 | 描述 |
---|---|
blkdev_get_by_path | 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(). |
quotactl_block | look up a superblock on which quota ops will be performed* - use the name of a block device to find the superblock thereon |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |