Function report |
Source Code:kernel\resource.c |
Create Date:2022-07-28 09:05:08 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int region_intersects(resource_size_t start, size_t size, unsigned long flags, unsigned long desc)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If True if any part of r1 overlaps r2 Then If is_type Then type++ Else other++ |
555 | read_unlock( & resource_lock) |
557 | If other == 0 Then Return If type Then REGION_INTERSECTS Else REGION_DISJOINT |
560 | If type Then Return REGION_MIXED |
563 | Return REGION_DISJOINT |
Name | Describe |
---|---|
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 |
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 |