Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\resource.c Create Date:2022-07-28 09:05:13
Last Modify:2022-05-22 11:14:39 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Find empty slot in the resource tree given range and alignment.

Proto:static int find_resource(struct resource *root, struct resource *new, resource_size_t size, struct resource_constraint *constraint)

Type:int

Parameter:

TypeParameterName
struct resource *root
struct resource *new
resource_size_tsize
struct resource_constraint *constraint
655  Return Find empty slot in the resource tree with the given range and* alignment constraints
Caller
NameDescribe
allocate_resourceallocate_resource - allocate empty slot in the resource tree given range & alignment