Rechercher une page de manuel
allocate_resource
Langue: en
Version: October 2010 (fedora - 01/12/10)
Section: 9 (Appels noyau Linux)
NAME
allocate_resource - allocate empty slot in the resource tree given range & alignmentSYNOPSIS
- int allocate_resource(struct resource * root, struct resource * new, resource_size_t size, resource_size_t min, resource_size_t max, resource_size_t align, resource_size_t (*alignf) (void *, const struct resource *, resource_size_t, resource_size_t), void * alignf_data);
ARGUMENTS
root
- root resource descriptor
new
- resource descriptor desired by caller
size
- requested resource region size
min
- minimum size to allocate
max
- maximum size to allocate
align
- alignment requested, in bytes
alignf
- alignment function, optional, called if not NULL
alignf_data
- arbitrary data to pass to the alignf function
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre