函数逻辑报告 |
Source Code:kernel\resource.c |
Create Date:2022-07-27 10:05:19 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__release_region - release a previously reserved resource region*@parent: parent resource descriptor*@start: resource start address*@n: resource region size* The described resource region must match a currently busy region.
函数原型:void __release_region(struct resource *parent, resource_size_t start, resource_size_t n)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct resource * | parent | |
resource_size_t | start | |
resource_size_t | n |
1200 | write_lock( & resource_lock) |
1202 | 循环 |
1208 | 如果非flags按位与Driver has marked this resource busy 的值则 |
1215 | write_unlock( & resource_lock) |
1218 | free_resource(res) |
1219 | 返回 |
1224 | write_unlock( & resource_lock) |
1226 | printk(warning conditions "Trying to free nonexistent resource <%016llx-%016llx>\n", (unsignedlonglong)start, (unsignedlonglong)end) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |