SND_DMA_GET_RESERVED

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

snd_dma_get_reserved - get the reserved buffer for the given device  

SYNOPSIS

"SYNOPSIS"

size_t snd_dma_get_reserved (const struct snd_dma_device * dev, struct snd_dma_buffer * dmab);  

ARGUMENTS

dev
the buffer device info
dmab
the buffer allocation record to store
 

DESCRIPTION

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 snd_dma_free_reserved.

Returns the size of buffer if the buffer is found, or zero if not found.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 06:21:11 GMT, October 06, 2005