1INSERT_RESOURCE_CONF(9) Hardware Interfaces INSERT_RESOURCE_CONF(9)
2
3
4
6 insert_resource_conflict - Inserts resource in the resource tree
7
9 struct resource * insert_resource_conflict(struct resource * parent,
10 struct resource * new);
11
13 parent
14 parent of the new resource
15
16 new
17 new resource to insert
18
20 Returns 0 on success, conflict resource if the resource can't be
21 inserted.
22
23 This function is equivalent to request_resource_conflict when no
24 conflict happens. If a conflict happens, and the conflicting resources
25 entirely fit within the range of the new resource, then the new
26 resource is inserted and the conflicting resources become children of
27 the new resource.
28
29 This function is intended for producers of resources, such as FW
30 modules and bus drivers.
31
33Kernel Hackers Manual 3.10 June 2019 INSERT_RESOURCE_CONF(9)