Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fscache.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/nfs_fs.h>
#include <linux/nfs_fs_sb.h>
#include <linux/in6.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include "internal.h"
#include "iostat.h"
#include "fscache.h"

Go to the source code of this file.

Macros

#define NFSDBG_FACILITY   NFSDBG_FSCACHE
 

Functions

void nfs_fscache_get_client_cookie (struct nfs_client *clp)
 
void nfs_fscache_release_client_cookie (struct nfs_client *clp)
 
void nfs_fscache_get_super_cookie (struct super_block *sb, const char *uniq, int ulen)
 
void nfs_fscache_release_super_cookie (struct super_block *sb)
 
void nfs_fscache_init_inode_cookie (struct inode *inode)
 
void nfs_fscache_release_inode_cookie (struct inode *inode)
 
void nfs_fscache_zap_inode_cookie (struct inode *inode)
 
void nfs_fscache_set_inode_cookie (struct inode *inode, struct file *filp)
 
void nfs_fscache_reset_inode_cookie (struct inode *inode)
 
int nfs_fscache_release_page (struct page *page, gfp_t gfp)
 
void __nfs_fscache_invalidate_page (struct page *page, struct inode *inode)
 
int __nfs_readpage_from_fscache (struct nfs_open_context *ctx, struct inode *inode, struct page *page)
 
int __nfs_readpages_from_fscache (struct nfs_open_context *ctx, struct inode *inode, struct address_space *mapping, struct list_head *pages, unsigned *nr_pages)
 
void __nfs_readpage_to_fscache (struct inode *inode, struct page *page, int sync)
 

Macro Definition Documentation

#define NFSDBG_FACILITY   NFSDBG_FSCACHE

Definition at line 26 of file fscache.c.

Function Documentation

void __nfs_fscache_invalidate_page ( struct page page,
struct inode inode 
)

Definition at line 367 of file fscache.c.

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

Definition at line 412 of file fscache.c.

void __nfs_readpage_to_fscache ( struct inode inode,
struct page page,
int  sync 
)

Definition at line 502 of file fscache.c.

int __nfs_readpages_from_fscache ( struct nfs_open_context ctx,
struct inode inode,
struct address_space mapping,
struct list_head pages,
unsigned *  nr_pages 
)

Definition at line 451 of file fscache.c.

void nfs_fscache_get_client_cookie ( struct nfs_client clp)

Definition at line 37 of file fscache.c.

void nfs_fscache_get_super_cookie ( struct super_block sb,
const char uniq,
int  ulen 
)

Definition at line 67 of file fscache.c.

void nfs_fscache_init_inode_cookie ( struct inode inode)

Definition at line 181 of file fscache.c.

void nfs_fscache_release_client_cookie ( struct nfs_client clp)

Definition at line 50 of file fscache.c.

void nfs_fscache_release_inode_cookie ( struct inode inode)

Definition at line 213 of file fscache.c.

int nfs_fscache_release_page ( struct page page,
gfp_t  gfp 
)

Definition at line 343 of file fscache.c.

void nfs_fscache_release_super_cookie ( struct super_block sb)

Definition at line 159 of file fscache.c.

void nfs_fscache_reset_inode_cookie ( struct inode inode)

Definition at line 315 of file fscache.c.

void nfs_fscache_set_inode_cookie ( struct inode inode,
struct file filp 
)

Definition at line 299 of file fscache.c.

void nfs_fscache_zap_inode_cookie ( struct inode inode)

Definition at line 227 of file fscache.c.