函数逻辑报告 |
Source Code:kernel\resource.c |
Create Date:2022-07-27 10:04:55 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:gion_intersects() - determine intersection of region with known resources*@start: region start address*@size: size of region*@flags: flags of resource (in iomem_resource)*@desc: descriptor of resource (in iomem_resource) or IORES_DESC_NONE* Check if the
函数原型:int region_intersects(resource_size_t start, size_t size, unsigned long flags, unsigned long desc)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
resource_size_t | start | |
size_t | size | |
unsigned long | flags | |
unsigned long | desc |
540 | type等于0 |
540 | other等于0 |
546 | read_lock( & resource_lock) |
552 | 如果True if any part of r1 overlaps r2 则如果is_type则type自加否则other自加 |
555 | read_unlock( & resource_lock) |
557 | 如果other恒等于0则返回:如果type则REGION_INTERSECTS否则REGION_DISJOINT |
560 | 如果type则返回:REGION_MIXED |
563 | 返回:REGION_DISJOINT |
名称 | 描述 |
---|---|
memremap | memremap() - remap an iomem_resource as cacheable memory*@offset: iomem resource start address*@size: size of remap*@flags: any of MEMREMAP_WB, MEMREMAP_WT, MEMREMAP_WC,* MEMREMAP_ENC, MEMREMAP_DEC* memremap() is "ioremap" for cases where it is known that |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |