Query: snd_dma_get_reserved_buf
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SND_DMA_GET_RESERVED(9) Management of Cards and Device SND_DMA_GET_RESERVED(9)NAMEsnd_dma_get_reserved_buf - get the reserved buffer for the given deviceSYNOPSISsize_t snd_dma_get_reserved_buf(struct snd_dma_buffer * dmab, unsigned int id);ARGUMENTSdmab the buffer allocation record to store id the buffer idDESCRIPTIONLooks 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.RETURNThe size of buffer if the buffer is found, or zero if not found.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SND_DMA_GET_RESERVED(9)