函数逻辑报告 |
Source Code:kernel\resource.c |
Create Date:2022-07-27 10:05:28 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check if the requested addr and size spans more than any slot in the* iomem resource tree.
函数原型:int iomem_map_sanity_check(resource_size_t addr, unsigned long size)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
resource_size_t | addr | |
unsigned long | size |
1534 | p等于iomem_resource |
1535 | err等于0 |
1538 | read_lock( & resource_lock) |
1557 | 如果flags按位与Driver has marked this resource busy 则继续下一循环 |
1560 | printk(warning conditions "resource sanity check: requesting [mem %#010llx-%#010llx], which spans more than %s %pR\n", (unsignedlonglong)addr, (unsignedlonglong)(addr + size - 1), name, p) |
1564 | err等于负1 |
1565 | 退出 |
1567 | read_unlock( & resource_lock) |
1569 | 返回:err |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |