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
30Kernel Hackers Manual 2.6. November 2011 INSERT_RESOURCE_CONF(9)