|SND_DMA_ALLOC_PAGES_(9)||Management of Cards and Device||SND_DMA_ALLOC_PAGES_(9)|
snd_dma_alloc_pages_fallback - allocate the buffer area according to the given type with fallback
int snd_dma_alloc_pages_fallback(int type, struct device * device, size_t size, struct snd_dma_buffer * dmab);
Calls the memory-allocator function for the corresponding buffer type. When no space is left, this function reduces the size and tries to allocate again. The size actually allocated is stored in res_size argument.
Zero if the buffer with the given size is allocated successfully, otherwise a negative value on error.
|January 2017||Kernel Hackers Manual 4.8.|