rmfreemap(D3)rmfreemap(D3)NAMErmfreemap - free a private space management map
SYNOPSIS
#include <sys/map.h>
#include <sys/ddi.h>
void rmfreemap(struct map *mp);
Arguments
mp Pointer to the map to be freed.
DESCRIPTIONrmfreemap frees the map pointed to by mp.
Return Values
None
USAGE
The map structure array pointed to by mp must have been previously
allocated by a call to rmallocmap(D3).
Before freeing the map, the caller must ensure that nobody is using space
managed by the map, and that nobody is waiting for space in the map.
Level
Initialization, Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks may be held
across calls to this function.
REFERENCESrmalloc(D3), rmalloc_wait(D3), rmallocmap(D3), rmfree(D3)
Page 1