.\" 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_BUF" "9" "09 October 2005" "" ""
.SH NAME
snd_dma_get_reserved_buf \- get the reserved buffer for the given device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
size_t snd_dma_get_reserved_buf (struct snd_dma_buffer * \fIdmab\fB, unsigned int \fIid\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdmab\fB\fR
the buffer allocation record to store
.TP
\fB\fIid\fB\fR
the buffer id
.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 removed from the free list.
.PP
Returns the size of buffer if the buffer is found, or zero if not found.