Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
migrate.c File Reference
#include <linux/migrate.h>
#include <linux/export.h>
#include <linux/swap.h>
#include <linux/swapops.h>
#include <linux/pagemap.h>
#include <linux/buffer_head.h>
#include <linux/mm_inline.h>
#include <linux/nsproxy.h>
#include <linux/pagevec.h>
#include <linux/ksm.h>
#include <linux/rmap.h>
#include <linux/topology.h>
#include <linux/cpu.h>
#include <linux/cpuset.h>
#include <linux/writeback.h>
#include <linux/mempolicy.h>
#include <linux/vmalloc.h>
#include <linux/security.h>
#include <linux/memcontrol.h>
#include <linux/syscalls.h>
#include <linux/hugetlb.h>
#include <linux/hugetlb_cgroup.h>
#include <linux/gfp.h>
#include <asm/tlbflush.h>
#include "internal.h"

Go to the source code of this file.

Functions

int migrate_prep (void)
 
int migrate_prep_local (void)
 
void putback_lru_pages (struct list_head *l)
 
void migration_entry_wait (struct mm_struct *mm, pmd_t *pmd, unsigned long address)
 
int migrate_huge_page_move_mapping (struct address_space *mapping, struct page *newpage, struct page *page)
 
void migrate_page_copy (struct page *newpage, struct page *page)
 
int fail_migrate_page (struct address_space *mapping, struct page *newpage, struct page *page)
 
 EXPORT_SYMBOL (fail_migrate_page)
 
int migrate_page (struct address_space *mapping, struct page *newpage, struct page *page, enum migrate_mode mode)
 
 EXPORT_SYMBOL (migrate_page)
 
int migrate_pages (struct list_head *from, new_page_t get_new_page, unsigned long private, bool offlining, enum migrate_mode mode)
 
int migrate_huge_page (struct page *hpage, new_page_t get_new_page, unsigned long private, bool offlining, enum migrate_mode mode)
 

Function Documentation

EXPORT_SYMBOL ( fail_migrate_page  )
EXPORT_SYMBOL ( migrate_page  )
int fail_migrate_page ( struct address_space mapping,
struct page newpage,
struct page page 
)

Definition at line 466 of file migrate.c.

int migrate_huge_page ( struct page hpage,
new_page_t  get_new_page,
unsigned long  private,
bool  offlining,
enum migrate_mode  mode 
)

Definition at line 1010 of file migrate.c.

int migrate_huge_page_move_mapping ( struct address_space mapping,
struct page newpage,
struct page page 
)

Definition at line 366 of file migrate.c.

int migrate_page ( struct address_space mapping,
struct page newpage,
struct page page,
enum migrate_mode  mode 
)

Definition at line 479 of file migrate.c.

void migrate_page_copy ( struct page newpage,
struct page page 
)

Definition at line 408 of file migrate.c.

int migrate_pages ( struct list_head from,
new_page_t  get_new_page,
unsigned long  private,
bool  offlining,
enum migrate_mode  mode 
)

Definition at line 959 of file migrate.c.

int migrate_prep ( void  )

Definition at line 48 of file migrate.c.

int migrate_prep_local ( void  )

Definition at line 62 of file migrate.c.

void migration_entry_wait ( struct mm_struct mm,
pmd_t pmd,
unsigned long  address 
)

Definition at line 184 of file migrate.c.

void putback_lru_pages ( struct list_head l)

Definition at line 73 of file migrate.c.