函数逻辑报告 |
Source Code:fs\block_dev.c |
Create Date:2022-07-29 10:46:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bd_acquire
函数原型:static struct block_device *bd_acquire(struct inode *inode)
返回类型:struct block_device
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode |
969 | 加自旋锁 |
971 | 如果bdev且非inode_unhashed( will die )则 |
976 | 自旋锁解锁 |
984 | 如果bdev则Call when you free inode |
988 | 如果bdev则 |
1003 | 返回:bdev |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |