Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
pagevec.c File Reference
#include <linux/ceph/ceph_debug.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/file.h>
#include <linux/namei.h>
#include <linux/writeback.h>
#include <linux/ceph/libceph.h>

Go to the source code of this file.

Functions

struct page ** ceph_get_direct_page_vector (const char __user *data, int num_pages, bool write_page)
 
 EXPORT_SYMBOL (ceph_get_direct_page_vector)
 
void ceph_put_page_vector (struct page **pages, int num_pages, bool dirty)
 
 EXPORT_SYMBOL (ceph_put_page_vector)
 
void ceph_release_page_vector (struct page **pages, int num_pages)
 
 EXPORT_SYMBOL (ceph_release_page_vector)
 
struct page ** ceph_alloc_page_vector (int num_pages, gfp_t flags)
 
 EXPORT_SYMBOL (ceph_alloc_page_vector)
 
int ceph_copy_user_to_page_vector (struct page **pages, const char __user *data, loff_t off, size_t len)
 
 EXPORT_SYMBOL (ceph_copy_user_to_page_vector)
 
int ceph_copy_to_page_vector (struct page **pages, const char *data, loff_t off, size_t len)
 
 EXPORT_SYMBOL (ceph_copy_to_page_vector)
 
int ceph_copy_from_page_vector (struct page **pages, char *data, loff_t off, size_t len)
 
 EXPORT_SYMBOL (ceph_copy_from_page_vector)
 
int ceph_copy_page_vector_to_user (struct page **pages, char __user *data, loff_t off, size_t len)
 
 EXPORT_SYMBOL (ceph_copy_page_vector_to_user)
 
void ceph_zero_page_vector_range (int off, int len, struct page **pages)
 
 EXPORT_SYMBOL (ceph_zero_page_vector_range)
 

Function Documentation

struct page** ceph_alloc_page_vector ( int  num_pages,
gfp_t  flags 
)
read

Definition at line 73 of file pagevec.c.

int ceph_copy_from_page_vector ( struct page **  pages,
char data,
loff_t  off,
size_t  len 
)

Definition at line 145 of file pagevec.c.

int ceph_copy_page_vector_to_user ( struct page **  pages,
char __user data,
loff_t  off,
size_t  len 
)

Definition at line 172 of file pagevec.c.

int ceph_copy_to_page_vector ( struct page **  pages,
const char data,
loff_t  off,
size_t  len 
)

Definition at line 121 of file pagevec.c.

int ceph_copy_user_to_page_vector ( struct page **  pages,
const char __user data,
loff_t  off,
size_t  len 
)

Definition at line 95 of file pagevec.c.

struct page** ceph_get_direct_page_vector ( const char __user data,
int  num_pages,
bool  write_page 
)
read

Definition at line 15 of file pagevec.c.

void ceph_put_page_vector ( struct page **  pages,
int  num_pages,
bool  dirty 
)

Definition at line 47 of file pagevec.c.

void ceph_release_page_vector ( struct page **  pages,
int  num_pages 
)

Definition at line 60 of file pagevec.c.

void ceph_zero_page_vector_range ( int  off,
int  len,
struct page **  pages 
)

Definition at line 203 of file pagevec.c.

EXPORT_SYMBOL ( ceph_get_direct_page_vector  )
EXPORT_SYMBOL ( ceph_put_page_vector  )
EXPORT_SYMBOL ( ceph_release_page_vector  )
EXPORT_SYMBOL ( ceph_alloc_page_vector  )
EXPORT_SYMBOL ( ceph_copy_user_to_page_vector  )
EXPORT_SYMBOL ( ceph_copy_to_page_vector  )
EXPORT_SYMBOL ( ceph_copy_from_page_vector  )
EXPORT_SYMBOL ( ceph_copy_page_vector_to_user  )
EXPORT_SYMBOL ( ceph_zero_page_vector_range  )