allocate_resource(9) centos man page | unix.com

Man Page: allocate_resource

Operating Environment: centos

Section: 9

ALLOCATE_RESOURCE(9)						Hardware Interfaces					      ALLOCATE_RESOURCE(9)

NAME
allocate_resource - allocate empty slot in the resource tree given range & alignment. The resource will be reallocated with a new size if it was already allocated
SYNOPSIS
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 boundary to allocate max maximum boundary 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
Kernel Hackers Manual 3.10 June 2014 ALLOCATE_RESOURCE(9)
Related Man Pages
rman_get_bushandle(9) - debian
bus_adjust_resource(9) - freebsd
vmem(9) - freebsd
vmem_alloc(9) - freebsd
vmem_xalloc(9) - freebsd
Similar Topics in the Unix Linux Community
group by in files :-)
Problem with nim installation
NFS Problems
Unable to create a SPOT