函数逻辑报告 |
Source Code:kernel\resource.c |
Create Date:2022-07-27 10:04:40 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:free_resource
函数原型:static void free_resource(struct resource *res)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct resource * | res |
152 | 如果非res则返回 |
155 | 如果非PageSlab(virt_to_head_page(res))则 |
156 | 加自旋锁 |
157 | sibling等于For memory hotplug, there is no way to free resource entries allocated* by boot mem after the system is up. So for reusing the resource entry* we need to remember the resource. |
158 | For memory hotplug, there is no way to free resource entries allocated* by boot mem after the system is up. So for reusing the resource entry* we need to remember the resource.等于res |
159 | 自旋锁解锁 |
160 | 否则 |
161 | 释放内存 |
名称 | 描述 |
---|---|
__reserve_region_with_split | |
__request_region | __request_region - create a new busy resource region*@parent: parent resource descriptor*@start: resource start address*@n: resource region size*@name: reserving caller's ID string*@flags: IO resource flags |
__release_region | __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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |