函数逻辑报告 |
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_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
函数原型:static int bd_prepare_to_claim(struct block_device *bdev, struct block_device *whole, void *holder)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct block_device * | bdev | |
struct block_device * | whole | |
void * | holder |
1076 | retry : |
1082 | 如果bd_claiming则 |
1083 | wq等于bit_waitqueue( & bd_claiming, 0) |
1084 | DEFINE_WAIT(wait) |
1087 | 自旋锁解锁 |
1088 | 进程调度 |
1090 | 加自旋锁 |
1091 | 转到:retry |
1095 | 返回:0 |
名称 | 描述 |
---|---|
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 插件可实现:逻辑报告 代码生成和批量转换代码 |