dma_free_buf(D3) dma_free_buf(D3)
NAME
dma_free_buf - free a previously allocated DMA buffer
descriptor
SYNOPSIS
#include <sys/dma.h>
#include <sys/ddi.h>
void dma_free_buf(struct dma_buf *dmabufptr);
Arguments
dmabufptr Address of the allocated DMA buffer descriptor to be
returned.
DESCRIPTION
dma_free_buf frees a DMA buffer descriptor.
Return Values
None.
USAGE
The dmabufptr argument must specify the address of a DMA
buffer descriptor previously allocated by dma_get_buf(D3).
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.
REFERENCES
dma_get_buf(D3), dma_buf(D4)
NOTICES
Portability
AT-compatible architectures
Applicability
ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp
Future Directions
This interface is expected to be replaced or modified in a
future release.
Copyright 1994 Novell, Inc. Page 1