Function report |
Source Code:kernel\resource.c |
Create Date:2022-07-28 09:05:19 |
| 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_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
Proto:struct resource *insert_resource_conflict(struct resource *parent, struct resource *new)
Type:struct resource
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct resource * | parent | |
| struct resource * | new |
| 850 | write_lock( & resource_lock) |
| 851 | conflict = Insert a resource into the resource tree. If successful, return NULL,* otherwise return the conflicting resource (compare to __request_resource()) |
| 852 | write_unlock( & resource_lock) |
| 853 | Return conflict |
| Name | Describe |
|---|---|
| insert_resource | sert_resource - Inserts a resource in the resource tree*@parent: parent of the new resource*@new: new resource to insert* Returns 0 on success, -EBUSY if the resource can't be inserted |
| 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 |