Function report | 
Source Code:kernel\resource.c | 
Create Date:2022-07-28 09:05:18 | 
| Last Modify:2022-05-22 11:14:39 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Insert a resource into the resource tree. If successful, return NULL,* otherwise return the conflicting resource (compare to __request_resource())
Proto:static struct resource *__insert_resource(struct resource *parent, struct resource *new)
Type:struct resource
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct resource * | parent | |
| struct resource * | new | 
| 785 | cycle | 
| 801 | cycle | 
| 805 | If Not sibling Then Break | 
| 815 | sibling = NULL | 
| 821 | Else | 
| 827 | Return NULL | 
| Name | Describe | 
|---|---|
| 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. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |