*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> rmalloc (9r)              
Title
Content
Arch
Section
 

rmalloc(9r)

Contents


NAME    [Toc]    [Back]

       rmalloc  -  General:  Allocates  size units from the given
       resource map

SYNOPSIS    [Toc]    [Back]

       long rmalloc(
               struct map *map_struct,
               long size );

ARGUMENTS    [Toc]    [Back]

       Specifies a pointer to a map structure that was previously
       initialized  by  a  call to rminit.  Specifies the size of
       the units to allocate.

DESCRIPTION    [Toc]    [Back]

       The rmalloc routine allocates size units  from  the  given
       resource  map. In a map, the addresses are increasing, and
       the list is terminated by a zero size.  The  actual  units
       managed by the map are arbitrary and can be map registers,
       bytes, blocks, and so forth.

NOTES    [Toc]    [Back]

       The caller is responsible for providing any locking necessary
  for  the map structure that the system passes to the
       rmalloc routine.

RETURN VALUES    [Toc]    [Back]

       The rmalloc routine returns  the  base  of  the  allocated
       space. It returns an error if no space could be allocated.

SEE ALSO    [Toc]    [Back]

      
      
       Routines: rmfree(9r), rmget(9r), rminit(9r)



                                                      rmalloc(9r)
[ Back ]
 Similar pages
Name OS Title
MALLOC Tru64 General: Allocates a variable-size section of kernel virtual memory
sum Tru64 Displays the checksum and byte count in block-size (1024) units of a file
getnewbuf Tru64 General: Allocates a buf structure
contig_malloc Tru64 General: Allocates physically contiguous memory
rminit Tru64 General: Initializes a resource map
RSVP Tru64 Resource ReSerVation Protocol general information
rsvp Tru64 Resource ReSerVation Protocol general information
rmfree Tru64 General: Frees space previously allocated into the specified resource map
rad_get_num Tru64 Query resource complements of a Resource Affinity Domain (libnuma)
rad_get_physmem Tru64 Query resource complements of a Resource Affinity Domain (libnuma)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service