1REGION_INTERSECTS(9)          Hardware Interfaces         REGION_INTERSECTS(9)
2
3
4

NAME

6       region_intersects - determine intersection of region with known
7       resources
8

SYNOPSIS

10       int region_intersects(resource_size_t start, size_t size,
11                             const char * name, unsigned long flags);
12

ARGUMENTS

14       start
15           region start address
16
17       size
18           size of region
19
20       name
21           name of resource (in iomem_resource)
22
23       flags
24           flags of resource (in iomem_resource)
25

DESCRIPTION

27       Check if the specified region partially overlaps or fully eclipses a
28       resource identified by name. Return REGION_DISJOINT if the region does
29       not overlap name, return REGION_MIXED if the region overlaps type and
30       another resource, and return REGION_INTERSECTS if the region overlaps
31       type and no other defined resource. Note, that REGION_INTERSECTS is
32       also returned in the case when the specified region overlaps with
33       undefined memory holes.
34
36Kernel Hackers Manual 3.10         June 2019              REGION_INTERSECTS(9)
Impressum