函数逻辑报告 |
Source Code:kernel\resource.c |
Create Date:2022-07-27 10:05:21 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:int devm_request_resource(struct device *dev, struct resource *root, struct resource *new)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
struct resource * | root | |
struct resource * | new |
1384 | ptr等于devres_alloc(Managed region resource, ptr的长度, GFP_KERNEL) |
1391 | 如果conflict则 |
1394 | devres_free(ptr) |
1395 | 返回:负EBUSY |
1398 | devres_add(dev, ptr) |
1399 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |