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

  man pages->Tru64 Unix man pages -> rminit (9r)              



NAME    [Toc]    [Back]

       rminit - General: Initializes a resource map

SYNOPSIS    [Toc]    [Back]

       void rminit(
               struct map *map_struct,
               long size,
               long addr,
               char *name,
               int mapsize );

ARGUMENTS    [Toc]    [Back]

       Specifies  a  pointer to a map structure to be initialized
       by a call to rminit.  Specifies the size elements used  to
       initialize  the  resource map.  Specifies the address that
       identifies the start of the free elements.  Specifies  the
       name  for  the  resource map. The rminit routine uses this
       name in warning messages when the map  overflows.   Specifies
 the maximum number of fragments.

DESCRIPTION    [Toc]    [Back]

       The  rminit routine initializes the specified resource map
       to have mapsize - 2 segments. The routine also  identifies
       this resource map with the string passed to the name argument.
 It prints this name if the  slots  become  so  fragmented
 that space is lost.

       The  resource map itself is initialized with size elements
       free, starting at the address specified in addr.

NOTES    [Toc]    [Back]

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

RETURN VALUES    [Toc]    [Back]


SEE ALSO    [Toc]    [Back]

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

[ Back ]
 Similar pages
Name OS Title
queue_init Tru64 General: Initializes the specified queue
lock_init Tru64 General: Initializes a complex lock
simple_lock_init Tru64 General: Initializes a simple lock structure
timeout Tru64 General: Initializes a callout queue element
rmget Tru64 General: Allocates size units from the given resource map
RSVP Tru64 Resource ReSerVation Protocol general information
rmalloc Tru64 General: Allocates size units from the given resource map
rsvp Tru64 Resource ReSerVation Protocol general information
rmfree Tru64 General: Frees space previously allocated into the specified resource map
rad_get_physmem Tru64 Query resource complements of a Resource Affinity Domain (libnuma)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service