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

NAME

6       reallocate_resource - allocate a slot in the resource tree given range
7       & alignment. The resource will be relocated if the new size cannot be
8       reallocated in the current location.
9

SYNOPSIS

11       int reallocate_resource(struct resource * root, struct resource * old,
12                               resource_size_t newsize,
13                               struct resource_constraint * constraint);
14

ARGUMENTS

16       root
17           root resource descriptor
18
19       old
20           resource descriptor desired by caller
21
22       newsize
23           new size of the resource descriptor
24
25       constraint
26           the size and alignment constraints to be met.
27
29Kernel Hackers Manual 2.6.         June 2019            REALLOCATE_RESOURCE(9)
Impressum