Function report |
Source Code:kernel\resource.c |
Create Date:2022-07-28 09:04:59 |
| Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:quest_resource_conflict - request and reserve an I/O or memory resource*@root: root resource descriptor*@new: resource descriptor desired by caller* Returns 0 for success, conflict resource on error.
Proto:struct resource *request_resource_conflict(struct resource *root, struct resource *new)
Type:struct resource
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct resource * | root | |
| struct resource * | new |
| 283 | write_lock( & resource_lock) |
| 285 | write_unlock( & resource_lock) |
| 286 | Return conflict |
| Name | Describe |
|---|---|
| request_resource | quest_resource - request and reserve an I/O or memory resource*@root: root resource descriptor*@new: resource descriptor desired by caller* Returns 0 for success, negative error code on error. |
| devm_request_resource | devm_request_resource() - request and reserve an I/O or memory resource*@dev: device for which to request the resource*@root: root of the resource tree from which to request the resource*@new: descriptor of the resource to request |
| 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 |