Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
iovlock.c File Reference
#include <linux/dmaengine.h>
#include <linux/pagemap.h>
#include <linux/slab.h>
#include <net/tcp.h>
#include <asm/io.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Functions

struct dma_pinned_listdma_pin_iovec_pages (struct iovec *iov, size_t len)
 
void dma_unpin_iovec_pages (struct dma_pinned_list *pinned_list)
 
dma_cookie_t dma_memcpy_to_iovec (struct dma_chan *chan, struct iovec *iov, struct dma_pinned_list *pinned_list, unsigned char *kdata, size_t len)
 
dma_cookie_t dma_memcpy_pg_to_iovec (struct dma_chan *chan, struct iovec *iov, struct dma_pinned_list *pinned_list, struct page *page, unsigned int offset, size_t len)
 

Function Documentation

dma_cookie_t dma_memcpy_pg_to_iovec ( struct dma_chan chan,
struct iovec iov,
struct dma_pinned_list pinned_list,
struct page page,
unsigned int  offset,
size_t  len 
)

Definition at line 212 of file iovlock.c.

dma_cookie_t dma_memcpy_to_iovec ( struct dma_chan chan,
struct iovec iov,
struct dma_pinned_list pinned_list,
unsigned char kdata,
size_t  len 
)

Definition at line 151 of file iovlock.c.

struct dma_pinned_list* dma_pin_iovec_pages ( struct iovec iov,
size_t  len 
)
read

Definition at line 50 of file iovlock.c.

void dma_unpin_iovec_pages ( struct dma_pinned_list pinned_list)

Definition at line 124 of file iovlock.c.