Rechercher une page de manuel
insert_resource
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
insert_resource - Inserts a resource in the resource treeSYNOPSIS
- int insert_resource(struct resource * parent, struct resource * new);
ARGUMENTS
parent
- parent of the new resource
new
- new resource to insert
DESCRIPTION
Returns 0 on success, -EBUSY if the resource can't be inserted.
This function is equivalent to request_resource when no conflict happens. If a conflict happens, and the conflicting resources entirely fit within the range of the new resource, then the new resource is inserted and the conflicting resources become children of the new resource.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre