函数逻辑报告 |
Source Code:fs\block_dev.c |
Create Date:2022-07-29 10:46:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:struct block_device *bd_start_claiming(struct block_device *bdev, void *holder)
返回类型:struct block_device
参数:
类型 | 参数 | 名称 |
---|---|---|
struct block_device * | bdev | |
void * | holder |
1148 | might_sleep() |
1154 | disk等于bdev_get_gendisk(bdev, & partno) |
1168 | 否则whole等于dgrab -- Grab a reference to an already referenced block device*@bdev: Block device to grab a reference to. |
1171 | put_disk_and_module(disk) |
1176 | 加自旋锁 |
1179 | 如果err恒等于0则 |
1183 | 否则 |
名称 | 描述 |
---|---|
blkdev_get | lkdev_get - open a block device*@bdev: block_device to open*@mode: FMODE_* mask*@holder: exclusive holder identifier* Open @bdev with @mode. If @mode includes %FMODE_EXCL, @bdev is* open with exclusive access. Specifying %FMODE_EXCL with %NULL |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |