函数逻辑报告 |
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 |
函数名称:bdev_get_gendisk
函数原型:static struct gendisk *bdev_get_gendisk(struct block_device *bdev, int *partno)
返回类型:struct gendisk
参数:
类型 | 参数 | 名称 |
---|---|---|
struct block_device * | bdev | |
int * | partno |
1102 | 如果非disk则返回:NULL |
1112 | 如果inode_unhashed( will die )则 |
1113 | put_disk_and_module(disk) |
1114 | 返回:NULL |
1116 | 返回:disk |
名称 | 描述 |
---|---|
bd_start_claiming | d_start_claiming - start claiming a block device*@bdev: block device of interest*@holder: holder trying to claim @bdev*@bdev is about to be opened exclusively |
__blkdev_get | d_mutex locking:* mutex_lock(part->bd_mutex)* mutex_lock_nested(whole->bd_mutex, 1) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |