Linux Kernel
3.7.1
|
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/export.h>
#include <linux/mutex.h>
#include <linux/poison.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/wait.h>
Go to the source code of this file.
Data Structures | |
struct | dma_pool |
struct | dma_page |
void* dma_pool_alloc | ( | struct dma_pool * | pool, |
gfp_t | mem_flags, | ||
dma_addr_t * | handle | ||
) |
dma_pool_alloc - get a block of consistent memory : dma pool that will produce the block : GFP_* bitmask : pointer to dma address of block
This returns the kernel virtual address of a currently unused block, and reports its dma address through the handle. If such a memory block can't be allocated, NULL is returned.
void dma_pool_free | ( | struct dma_pool * | pool, |
void * | vaddr, | ||
dma_addr_t | dma | ||
) |
dmam_pool_destroy - Managed dma_pool_destroy() : dma pool that will be destroyed
Managed dma_pool_destroy().
EXPORT_SYMBOL | ( | dma_pool_create | ) |
EXPORT_SYMBOL | ( | dma_pool_destroy | ) |
EXPORT_SYMBOL | ( | dma_pool_alloc | ) |
EXPORT_SYMBOL | ( | dma_pool_free | ) |
EXPORT_SYMBOL | ( | dmam_pool_create | ) |
EXPORT_SYMBOL | ( | dmam_pool_destroy | ) |