Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
dma-alloc.c File Reference
#include <linux/module.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/ptrace.h>
#include <linux/mman.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/stddef.h>
#include <linux/vmalloc.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/hardirq.h>
#include <linux/gfp.h>
#include <asm/pgalloc.h>
#include <asm/io.h>
#include <asm/mmu_context.h>
#include <asm/pgtable.h>
#include <asm/mmu.h>
#include <asm/uaccess.h>
#include <asm/smp.h>

Go to the source code of this file.

Functions

voidconsistent_alloc (gfp_t gfp, size_t size, dma_addr_t *dma_handle)
 
void consistent_free (void *vaddr)
 
void consistent_sync (void *vaddr, size_t size, int direction)
 
void consistent_sync_page (struct page *page, unsigned long offset, size_t size, int direction)
 

Function Documentation

void* consistent_alloc ( gfp_t  gfp,
size_t  size,
dma_addr_t dma_handle 
)

Definition at line 81 of file dma-alloc.c.

void consistent_free ( void vaddr)

Definition at line 141 of file dma-alloc.c.

void consistent_sync ( void vaddr,
size_t  size,
int  direction 
)

Definition at line 151 of file dma-alloc.c.

void consistent_sync_page ( struct page page,
unsigned long  offset,
size_t  size,
int  direction 
)

Definition at line 176 of file dma-alloc.c.