Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <linux/export.h>
#include <sound/memalloc.h>
Go to the source code of this file.
Macros | |
#define | SGBUF_TBL_ALIGN 32 |
#define | sgbuf_align_table(tbl) ALIGN((tbl), SGBUF_TBL_ALIGN) |
#define | MAX_ALLOC_PAGES 32 |
Functions | |
int | snd_free_sgbuf_pages (struct snd_dma_buffer *dmab) |
void * | snd_malloc_sgbuf_pages (struct device *device, size_t size, struct snd_dma_buffer *dmab, size_t *res_size) |
unsigned int | snd_sgbuf_get_chunk_size (struct snd_dma_buffer *dmab, unsigned int ofs, unsigned int size) |
EXPORT_SYMBOL (snd_sgbuf_get_chunk_size) | |
#define sgbuf_align_table | ( | tbl | ) | ALIGN((tbl), SGBUF_TBL_ALIGN) |
EXPORT_SYMBOL | ( | snd_sgbuf_get_chunk_size | ) |
int snd_free_sgbuf_pages | ( | struct snd_dma_buffer * | dmab | ) |