Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
page_io.c File Reference
#include <linux/mm.h>
#include <linux/kernel_stat.h>
#include <linux/gfp.h>
#include <linux/pagemap.h>
#include <linux/swap.h>
#include <linux/bio.h>
#include <linux/swapops.h>
#include <linux/buffer_head.h>
#include <linux/writeback.h>
#include <linux/frontswap.h>
#include <asm/pgtable.h>

Go to the source code of this file.

Functions

void end_swap_bio_read (struct bio *bio, int err)
 
int generic_swapfile_activate (struct swap_info_struct *sis, struct file *swap_file, sector_t *span)
 
int swap_writepage (struct page *page, struct writeback_control *wbc)
 
int swap_readpage (struct page *page)
 
int swap_set_page_dirty (struct page *page)
 

Function Documentation

void end_swap_bio_read ( struct bio *  bio,
int  err 
)

Definition at line 71 of file page_io.c.

int generic_swapfile_activate ( struct swap_info_struct *  sis,
struct file swap_file,
sector_t span 
)

Definition at line 90 of file page_io.c.

int swap_readpage ( struct page page)

Definition at line 246 of file page_io.c.

int swap_set_page_dirty ( struct page page)

Definition at line 282 of file page_io.c.

int swap_writepage ( struct page page,
struct writeback_control wbc 
)

Definition at line 186 of file page_io.c.