函数逻辑报告 |
Source Code:kernel\resource.c |
Create Date:2022-07-27 10:05:24 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__devm_request_region
函数原型:struct resource *__devm_request_region(struct device *dev, struct resource *parent, resource_size_t start, resource_size_t n, const char *name)
返回类型:struct resource
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果非dr则返回:NULL |
1462 | 如果res则devres_add(dev, dr) |
1464 | 否则devres_free(dr) |
1467 | 返回:res |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |