函数逻辑报告 |
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 |
函数名称:d_may_claim - test whether a block device can be claimed*@bdev: block device of interest*@whole: whole block device containing @bdev, may equal @bdev*@holder: holder trying to claim @bdev* Test whether @bdev can be claimed by @holder.* CONTEXT:
函数原型:static bool bd_may_claim(struct block_device *bdev, struct block_device *whole, void *holder)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct block_device * | bdev | |
| struct block_device * | whole | |
| void * | holder |
| 1042 | 否则如果(bd_holder != NULL)则返回:false |
| 1049 | 否则如果(bd_holder != NULL)则返回:false |
| 1051 | 否则返回:true |
| 名称 | 描述 |
|---|---|
| bd_prepare_to_claim | d_prepare_to_claim - prepare to claim a block device*@bdev: block device of interest*@whole: the whole device containing @bdev, may equal @bdev*@holder: holder trying to claim @bdev* Prepare to claim @bdev |
| bd_finish_claiming | d_finish_claiming - finish claiming of a block device*@bdev: block device of interest*@whole: whole block device (returned from bd_start_claiming())*@holder: holder that has claimed @bdev* Finish exclusive open of a block device |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |