Scroll to navigation

REGION_INTERSECTS(9) Hardware Interfaces REGION_INTERSECTS(9)

NAME

region_intersects - determine intersection of region with known resources

SYNOPSIS

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

ARGUMENTS

start

region start address

size

size of region

name

name of resource (in iomem_resource)

flags

flags of resource (in iomem_resource)

DESCRIPTION

Check if the specified region partially overlaps or fully eclipses a resource identified by name. Return REGION_DISJOINT if the region does not overlap name, return REGION_MIXED if the region overlaps type and another resource, and return REGION_INTERSECTS if the region overlaps type and no other defined resource. Note, that REGION_INTERSECTS is also returned in the case when the specified region overlaps with undefined memory holes.

COPYRIGHT

June 2023 Kernel Hackers Manual 3.10