Function report |
Source Code:kernel\resource.c |
Create Date:2022-07-28 09:05:33 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int devm_request_resource(struct device *dev, struct resource *root, struct resource *new)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
struct resource * | root | |
struct resource * | new |
1384 | ptr = devres_alloc(Managed region resource, size of ptr , GFP_KERNEL) |
1391 | If conflict Then |
1394 | devres_free(ptr) |
1395 | Return -EBUSY |
1398 | devres_add(dev, ptr) |
1399 | Return 0 |
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 |