Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
read.c File Reference
#include <linux/time.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/fcntl.h>
#include <linux/stat.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
#include <linux/sunrpc/clnt.h>
#include <linux/nfs_fs.h>
#include <linux/nfs_page.h>
#include <linux/module.h>
#include "nfs4_fs.h"
#include "internal.h"
#include "iostat.h"
#include "fscache.h"

Go to the source code of this file.

Data Structures

struct  nfs_readdesc
 

Macros

#define NFSDBG_FACILITY   NFSDBG_PAGECACHE
 

Functions

struct nfs_read_headernfs_readhdr_alloc (void)
 
 EXPORT_SYMBOL_GPL (nfs_readhdr_alloc)
 
void nfs_readhdr_free (struct nfs_pgio_header *hdr)
 
 EXPORT_SYMBOL_GPL (nfs_readhdr_free)
 
void nfs_readdata_release (struct nfs_read_data *rdata)
 
 EXPORT_SYMBOL_GPL (nfs_readdata_release)
 
void nfs_pageio_init_read (struct nfs_pageio_descriptor *pgio, struct inode *inode, const struct nfs_pgio_completion_ops *compl_ops)
 
 EXPORT_SYMBOL_GPL (nfs_pageio_init_read)
 
void nfs_pageio_reset_read_mds (struct nfs_pageio_descriptor *pgio)
 
 EXPORT_SYMBOL_GPL (nfs_pageio_reset_read_mds)
 
int nfs_readpage_async (struct nfs_open_context *ctx, struct inode *inode, struct page *page)
 
int nfs_initiate_read (struct rpc_clnt *clnt, struct nfs_read_data *data, const struct rpc_call_ops *call_ops, int flags)
 
 EXPORT_SYMBOL_GPL (nfs_initiate_read)
 
int nfs_generic_pagein (struct nfs_pageio_descriptor *desc, struct nfs_pgio_header *hdr)
 
 EXPORT_SYMBOL_GPL (nfs_generic_pagein)
 
int nfs_readpage_result (struct rpc_task *task, struct nfs_read_data *data)
 
void nfs_read_prepare (struct rpc_task *task, void *calldata)
 
int nfs_readpage (struct file *file, struct page *page)
 
int nfs_readpages (struct file *filp, struct address_space *mapping, struct list_head *pages, unsigned nr_pages)
 
int __init nfs_init_readpagecache (void)
 
void nfs_destroy_readpagecache (void)
 

Macro Definition Documentation

#define NFSDBG_FACILITY   NFSDBG_PAGECACHE

Definition at line 28 of file read.c.

Function Documentation

EXPORT_SYMBOL_GPL ( nfs_readhdr_alloc  )
EXPORT_SYMBOL_GPL ( nfs_readhdr_free  )
EXPORT_SYMBOL_GPL ( nfs_readdata_release  )
EXPORT_SYMBOL_GPL ( nfs_pageio_init_read  )
EXPORT_SYMBOL_GPL ( nfs_pageio_reset_read_mds  )
EXPORT_SYMBOL_GPL ( nfs_initiate_read  )
EXPORT_SYMBOL_GPL ( nfs_generic_pagein  )
void nfs_destroy_readpagecache ( void  )

Definition at line 676 of file read.c.

int nfs_generic_pagein ( struct nfs_pageio_descriptor desc,
struct nfs_pgio_header hdr 
)

Definition at line 397 of file read.c.

int __init nfs_init_readpagecache ( void  )

Definition at line 664 of file read.c.

int nfs_initiate_read ( struct rpc_clnt clnt,
struct nfs_read_data data,
const struct rpc_call_ops call_ops,
int  flags 
)

Definition at line 202 of file read.c.

void nfs_pageio_init_read ( struct nfs_pageio_descriptor pgio,
struct inode inode,
const struct nfs_pgio_completion_ops compl_ops 
)

Definition at line 112 of file read.c.

void nfs_pageio_reset_read_mds ( struct nfs_pageio_descriptor pgio)

Definition at line 121 of file read.c.

void nfs_read_prepare ( struct rpc_task task,
void calldata 
)

Definition at line 509 of file read.c.

void nfs_readdata_release ( struct nfs_read_data rdata)

Definition at line 86 of file read.c.

struct nfs_read_header* nfs_readhdr_alloc ( void  )
read

Definition at line 36 of file read.c.

void nfs_readhdr_free ( struct nfs_pgio_header hdr)

Definition at line 78 of file read.c.

int nfs_readpage ( struct file file,
struct page page 
)

Definition at line 527 of file read.c.

int nfs_readpage_async ( struct nfs_open_context ctx,
struct inode inode,
struct page page 
)

Definition at line 128 of file read.c.

int nfs_readpage_result ( struct rpc_task task,
struct nfs_read_data data 
)

Definition at line 438 of file read.c.

int nfs_readpages ( struct file filp,
struct address_space mapping,
struct list_head pages,
unsigned  nr_pages 
)

Definition at line 615 of file read.c.