Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cleancache.h File Reference
#include <linux/fs.h>
#include <linux/exportfs.h>
#include <linux/mm.h>

Go to the source code of this file.

Data Structures

struct  cleancache_filekey
 
struct  cleancache_ops
 

Macros

#define CLEANCACHE_KEY_MAX   6
 
#define cleancache_enabled   (0)
 
#define cleancache_fs_enabled(_page)   (0)
 
#define cleancache_fs_enabled_mapping(_page)   (0)
 

Functions

struct cleancache_ops cleancache_register_ops (struct cleancache_ops *ops)
 
void __cleancache_init_fs (struct super_block *)
 
void __cleancache_init_shared_fs (char *, struct super_block *)
 
int __cleancache_get_page (struct page *)
 
void __cleancache_put_page (struct page *)
 
void __cleancache_invalidate_page (struct address_space *, struct page *)
 
void __cleancache_invalidate_inode (struct address_space *)
 
void __cleancache_invalidate_fs (struct super_block *)
 

Variables

int cleancache_enabled
 

Macro Definition Documentation

#define cleancache_enabled   (0)

Definition at line 57 of file cleancache.h.

#define cleancache_fs_enabled (   _page)    (0)

Definition at line 58 of file cleancache.h.

#define cleancache_fs_enabled_mapping (   _page)    (0)

Definition at line 59 of file cleancache.h.

#define CLEANCACHE_KEY_MAX   6

Definition at line 8 of file cleancache.h.

Function Documentation

int __cleancache_get_page ( struct page )

Definition at line 108 of file cleancache.c.

void __cleancache_init_fs ( struct super_block )

Definition at line 62 of file cleancache.c.

void __cleancache_init_shared_fs ( char ,
struct super_block  
)

Definition at line 69 of file cleancache.c.

void __cleancache_invalidate_fs ( struct super_block )

Definition at line 195 of file cleancache.c.

void __cleancache_invalidate_inode ( struct address_space )

Definition at line 180 of file cleancache.c.

void __cleancache_invalidate_page ( struct address_space ,
struct page  
)

Definition at line 157 of file cleancache.c.

void __cleancache_put_page ( struct page )

Definition at line 138 of file cleancache.c.

struct cleancache_ops cleancache_register_ops ( struct cleancache_ops ops)
read

Definition at line 51 of file cleancache.c.

Variable Documentation

int cleancache_enabled