Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
frontswap.c File Reference
#include <linux/mman.h>
#include <linux/swap.h>
#include <linux/swapops.h>
#include <linux/security.h>
#include <linux/module.h>
#include <linux/debugfs.h>
#include <linux/frontswap.h>
#include <linux/swapfile.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (frontswap_enabled)
 
struct frontswap_ops frontswap_register_ops (struct frontswap_ops *ops)
 
 EXPORT_SYMBOL (frontswap_register_ops)
 
void frontswap_writethrough (bool enable)
 
 EXPORT_SYMBOL (frontswap_writethrough)
 
void frontswap_tmem_exclusive_gets (bool enable)
 
 EXPORT_SYMBOL (frontswap_tmem_exclusive_gets)
 
void __frontswap_init (unsigned type)
 
 EXPORT_SYMBOL (__frontswap_init)
 
int __frontswap_store (struct page *page)
 
 EXPORT_SYMBOL (__frontswap_store)
 
int __frontswap_load (struct page *page)
 
 EXPORT_SYMBOL (__frontswap_load)
 
void __frontswap_invalidate_page (unsigned type, pgoff_t offset)
 
 EXPORT_SYMBOL (__frontswap_invalidate_page)
 
void __frontswap_invalidate_area (unsigned type)
 
 EXPORT_SYMBOL (__frontswap_invalidate_area)
 
void frontswap_shrink (unsigned long target_pages)
 
 EXPORT_SYMBOL (frontswap_shrink)
 
unsigned long frontswap_curr_pages (void)
 
 EXPORT_SYMBOL (frontswap_curr_pages)
 
 module_init (init_frontswap)
 

Function Documentation

void __frontswap_init ( unsigned  type)

Definition at line 118 of file frontswap.c.

void __frontswap_invalidate_area ( unsigned  type)

Definition at line 225 of file frontswap.c.

void __frontswap_invalidate_page ( unsigned  type,
pgoff_t  offset 
)

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.

EXPORT_SYMBOL ( frontswap_enabled  )
EXPORT_SYMBOL ( frontswap_register_ops  )
EXPORT_SYMBOL ( frontswap_writethrough  )
EXPORT_SYMBOL ( frontswap_tmem_exclusive_gets  )
EXPORT_SYMBOL ( __frontswap_init  )
EXPORT_SYMBOL ( __frontswap_store  )
EXPORT_SYMBOL ( __frontswap_load  )
EXPORT_SYMBOL ( __frontswap_invalidate_page  )
EXPORT_SYMBOL ( __frontswap_invalidate_area  )
EXPORT_SYMBOL ( frontswap_shrink  )
EXPORT_SYMBOL ( frontswap_curr_pages  )
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  target_pages)

Definition at line 318 of file frontswap.c.

void frontswap_tmem_exclusive_gets ( bool  enable)

Definition at line 109 of file frontswap.c.

void frontswap_writethrough ( bool  enable)

Definition at line 100 of file frontswap.c.

module_init ( init_frontswap  )