Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rmalloc_wait(D3) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       rmalloc_wait(D3)                                    rmalloc_wait(D3)


       NAME
             rmalloc_wait - allocate space from a private space management
             map

       SYNOPSIS
             #include <sys/types.h>
             #include <sys/map.h>
             #include <sys/ddi.h>
             ulong_t rmalloc_wait(struct map *mp, size_t size);

          Arguments
             mp        Pointer to map to resource map.

             size      Number of units to allocate.

       DESCRIPTION
             rmalloc_wait allocates space from a private map previously
             allocated using rmallocmap(D3).

          Return Values
             rmalloc_wait returns the base of the allocated space.

       USAGE
             rmalloc_wait is identical to rmalloc(D3), except that a call
             to rmalloc_wait will sleep (uninterruptible by signals), if
             necessary, until space becomes available.

             Space allocated using rmalloc_wait may be returned to the map
             using rmfree(D3).

          Level
             Base only.

          Synchronization Constraints
             May sleep.

             Driver-defined basic locks and read/write locks may not be
             held across calls to this function.

             Driver-defined sleep locks may be held across calls to this
             function, but the driver writer must be cautious to avoid
             deadlock between the process holding the lock and trying to
             acquire the resource and another process holding the resource
             and trying to acquire the lock.




                           Copyright 1994 Novell, Inc.               Page 1













      rmalloc_wait(D3)                                    rmalloc_wait(D3)


      REFERENCES
            rmalloc(D3), rmallocmap(D3), rmfree(D3), rmfreemap(D3)

      NOTICES
         Portability
            All processors

         Applicability
            ddi: 3, 5, 5mp, 6, 6mp, 7, 7mp







































                          Copyright 1994 Novell, Inc.               Page 2








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026