.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SND_DMA_GET_RESERVED" "" "06 October 2005" "" ""
.SH NAME
snd_dma_get_reserved \- get the reserved buffer for the given device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
size_t snd_dma_get_reserved (const struct snd_dma_device * \fIdev\fB, struct snd_dma_buffer * \fIdmab\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
the buffer device info
.TP
\fB\fIdmab\fB\fR
the buffer allocation record to store
.SH "DESCRIPTION"
.PP
Looks for the reserved-buffer list and re-uses if the same buffer
is found in the list. When the buffer is found, it's marked as used.
For unmarking the buffer, call \fBsnd_dma_free_reserved\fR\&.
.PP
Returns the size of buffer if the buffer is found, or zero if not found.