Function report |
Source Code:kernel\resource.c |
Create Date:2022-07-28 09:05:36 |
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_region
Proto:struct resource *__devm_request_region(struct device *dev, struct resource *parent, resource_size_t start, resource_size_t n, const char *name)
Type:struct resource
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
struct resource * | parent | |
resource_size_t | start | |
resource_size_t | n | |
const char * | name |
1449 | struct region_devres * dr = NULL |
1452 | dr = devres_alloc(devm_region_release, sizeof(structregion_devres), GFP_KERNEL) |
1454 | If Not dr Then Return NULL |
1462 | If res Then devres_add(dev, dr) |
1464 | Else devres_free(dr) |
1467 | Return res |
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 |