snd_dma_alloc_pages_fallback — allocate the buffer area according to the given type with fallback
|struct device * device,|
|struct snd_dma_buffer * dmab|
the DMA buffer type
the device pointer
the buffer size to allocate
buffer allocation record to store the allocated data
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.