Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ioport.h Create Date:2022-07-28 05:41:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:True iff r1 completely contains r2

Proto:static inline bool resource_contains(struct resource *r1, struct resource *r2)

Type:bool

Parameter:

TypeParameterName
struct resource *r1
struct resource *r2
221  If resource_type(r1) != resource_type(r2) Then Return false
223  If flags & No address assigned yet || flags & No address assigned yet Then Return false
225  Return start <= start && end >= end
Caller
NameDescribe
__find_resourceFind empty slot in the resource tree with the given range and* alignment constraints
reallocate_resourceallocate_resource - allocate a slot in the resource tree given range & alignment