1SND_DMA_GET_RESERVED(9) Management of Cards and Device SND_DMA_GET_RESERVED(9)
2
3
4
6 snd_dma_get_reserved_buf - get the reserved buffer for the given device
7
9 size_t snd_dma_get_reserved_buf(struct snd_dma_buffer * dmab,
10 unsigned int id);
11
13 dmab
14 the buffer allocation record to store
15
16 id
17 the buffer id
18
20 Looks for the reserved-buffer list and re-uses if the same buffer is
21 found in the list. When the buffer is found, it's removed from the free
22 list.
23
24 Returns the size of buffer if the buffer is found, or zero if not
25 found.
26
28Kernel Hackers Manual 2.6. November 2011 SND_DMA_GET_RESERVED(9)