Unix/Linux Go Back    


SuSE 11.3 - man page for allocate_resource (suse section 9)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


ALLOCATE_RESOURCE(9)		       Hardware Interfaces		     ALLOCATE_RESOURCE(9)

NAME
       allocate_resource - allocate empty slot in the resource tree given range & alignment

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 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
Kernel Hackers Manual 2.6.		    July 2010			     ALLOCATE_RESOURCE(9)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 10:46 AM.