bp_mapout(D3DK) —
.IX \f4bp_mapout\fP(D3DK)
NAME
bp_mapout − deallocate virtual address space for buffer page list
SYNOPSIS
#include <sys/types.h>
#include <sys/buf.h>
void bp_mapout(struct buf ∗bp);
ARGUMENTS
bpPointer to the buffer header structure.
DESCRIPTION
This function deallocates the system virtual address space associated with a buffer header page list. The virtual address space must have been allocated by a previous call to bp_mapin(D3DK). Drivers should not reference any virtual addresses in the mapped range after bp_mapout has been called.
RETURN VALUE
None.
LEVEL
Base or Interrupt.
NOTES
Driver-defined basic locks, read/write locks, and sleep locks may be held across calls to this function.
SEE ALSO
bp_mapin(D3DK), buf(D4DK)
DDI/DKI