rmfreemap(D3DK) —
NAME
rmfreemap − free a private space management map .IX \f4rmfreemap\fP(D3DK)
SYNOPSIS
#include <sys/map.h>
void rmfreemap(struct map ∗mp);
ARGUMENTS
mpPointer to the map to be freed. The map structure array pointed to by mp must have been previously allocated by a call to rmallocmap(D3DK).
DESCRIPTION
rmfreemap frees the map pointed to by mp.
RETURN VALUE
None.
LEVEL
Base or Interrupt.
NOTES
Does not sleep. Driver defined basic locks, read/write locks, and sleep locks may be held across calls to this function. DDI/DKI conforming drivers may only use map structures which have been allocated and initialized using rmallocmap. Use of map structures which have been obtained by any other means is prohibited. 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.
SEE ALSO
rmalloc(D3DK), rmalloc_wait(D3DK), rmallocmap(D3DK), rmfree(D3DK)
DDI/DKI