函数逻辑报告 |
Source Code:block\genhd.c |
Create Date:2022-07-27 18:53:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dget_disk - do bdget() by gendisk and partition number*@disk: gendisk of interest*@partno: partition number* Find partition @partno from @disk, do bdget() on it.* CONTEXT:* Don't care.* RETURNS:* Resulting block_device on success, NULL on failure.
函数原型:struct block_device *bdget_disk(struct gendisk *disk, int partno)
返回类型:struct block_device
参数:
类型 | 参数 | 名称 |
---|---|---|
struct gendisk * | disk | |
int | partno |
929 | struct block_device * bdev = NULL |
934 | disk_put_part(part) |
936 | 返回:bdev |
名称 | 描述 |
---|---|
register_disk | |
invalidate_partition | |
revalidate_disk | validate_disk - wrapper for lower-level driver's revalidate_disk call-back*@disk: struct gendisk to be revalidated* This routine is a wrapper for lower-level driver's revalidate_disk* call-backs. It is used to do common pre and post operations needed |
__blkdev_get | d_mutex locking:* mutex_lock(part->bd_mutex)* mutex_lock_nested(whole->bd_mutex, 1) |
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |