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

Go to the source code of this file.

Data Structures

struct  frontswap_ops
 

Macros

#define FRONTSWAP_HAS_EXCLUSIVE_GETS
 
#define frontswap_enabled   (0)
 

Functions

struct frontswap_ops frontswap_register_ops (struct frontswap_ops *ops)
 
void frontswap_shrink (unsigned long)
 
unsigned long frontswap_curr_pages (void)
 
void frontswap_writethrough (bool)
 
void frontswap_tmem_exclusive_gets (bool)
 
void __frontswap_init (unsigned type)
 
int __frontswap_store (struct page *page)
 
int __frontswap_load (struct page *page)
 
void __frontswap_invalidate_page (unsigned, pgoff_t)
 
void __frontswap_invalidate_area (unsigned)
 

Variables

bool frontswap_enabled
 

Macro Definition Documentation

#define frontswap_enabled   (0)

Definition at line 67 of file frontswap.h.

#define FRONTSWAP_HAS_EXCLUSIVE_GETS

Definition at line 22 of file frontswap.h.

Function Documentation

void __frontswap_init ( unsigned  type)

Definition at line 118 of file frontswap.c.

void __frontswap_invalidate_area ( unsigned  )

Definition at line 225 of file frontswap.c.

void __frontswap_invalidate_page ( unsigned  ,
pgoff_t   
)

Definition at line 208 of file frontswap.c.

int __frontswap_load ( struct page page)

Definition at line 181 of file frontswap.c.

int __frontswap_store ( struct page page)

Definition at line 142 of file frontswap.c.

unsigned long frontswap_curr_pages ( void  )

Definition at line 342 of file frontswap.c.

struct frontswap_ops frontswap_register_ops ( struct frontswap_ops ops)
read

Definition at line 87 of file frontswap.c.

void frontswap_shrink ( unsigned  long)

Definition at line 318 of file frontswap.c.

void frontswap_tmem_exclusive_gets ( bool  )

Definition at line 109 of file frontswap.c.

void frontswap_writethrough ( bool  )

Definition at line 100 of file frontswap.c.

Variable Documentation

bool frontswap_enabled