Function report |
Source Code:kernel\resource.c |
Create Date:2022-07-28 09:05:20 |
| Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:void insert_resource_expand_to_fit(struct resource *root, struct resource *new)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct resource * | root | |
| struct resource * | new |
| 885 | If parent Then Return |
| 888 | write_lock( & resource_lock) |
| 889 | cycle |
| 892 | conflict = Insert a resource into the resource tree. If successful, return NULL,* otherwise return the conflicting resource (compare to __request_resource()) |
| 893 | If Not conflict Then Break |
| 906 | write_unlock( & resource_lock) |
| 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 |