函数逻辑报告 |
Source Code:kernel\resource.c |
Create Date:2022-07-27 10:05:05 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Insert a resource into the resource tree. If successful, return NULL,* otherwise return the conflicting resource (compare to __request_resource())
函数原型:static struct resource *__insert_resource(struct resource *parent, struct resource *new)
返回类型:struct resource
参数:
类型 | 参数 | 名称 |
---|---|---|
struct resource * | parent | |
struct resource * | new |
785 | 循环 |
801 | 循环 |
815 | sibling = NULL |
821 | 否则 |
827 | 返回:NULL |
名称 | 描述 |
---|---|
insert_resource_conflict | sert_resource_conflict - Inserts resource in the resource tree*@parent: parent of the new resource*@new: new resource to insert* Returns 0 on success, conflict resource if the resource can't be inserted |
insert_resource_expand_to_fit | sert_resource_expand_to_fit - Insert a resource into the resource tree*@root: root resource descriptor*@new: new resource to insert* Insert a resource into the resource tree, possibly expanding it in order* to make it encompass any conflicting resources. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |