1ADJUST_RESOURCE(9) Hardware Interfaces ADJUST_RESOURCE(9)
2
3
4
6 adjust_resource - modify a resource's start and size
7
9 int adjust_resource(struct resource * res, resource_size_t start,
10 resource_size_t size);
11
13 res
14 resource to modify
15
16 start
17 new start value
18
19 size
20 new size
21
23 Given an existing resource, change its start and size to match the
24 arguments. Returns 0 on success, -EBUSY if it can't fit. Existing
25 children of the resource are assumed to be immutable.
26
28Kernel Hackers Manual 3.10 June 2019 ADJUST_RESOURCE(9)