Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
rmap.h File Reference
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/mutex.h>
#include <linux/memcontrol.h>

Go to the source code of this file.

Data Structures

struct  anon_vma
 
struct  anon_vma_chain
 

Macros

#define anon_vma_init()   do {} while (0)
 
#define anon_vma_prepare(vma)   (0)
 
#define anon_vma_link(vma)   do {} while (0)
 
#define try_to_unmap(page, refs)   SWAP_FAIL
 
#define SWAP_SUCCESS   0
 
#define SWAP_AGAIN   1
 
#define SWAP_FAIL   2
 
#define SWAP_MLOCK   3
 

Enumerations

enum  ttu_flags {
  TTU_UNMAP = 0, TTU_MIGRATION = 1, TTU_MUNLOCK = 2, TTU_ACTION_MASK = 0xff,
  TTU_IGNORE_MLOCK = (1 << 8), TTU_IGNORE_ACCESS = (1 << 9), TTU_IGNORE_HWPOISON = (1 << 10)
}
 

Macro Definition Documentation

#define anon_vma_init (   void)    do {} while (0)

Definition at line 235 of file rmap.h.

#define anon_vma_link (   vma)    do {} while (0)

Definition at line 237 of file rmap.h.

#define anon_vma_prepare (   vma)    (0)

Definition at line 236 of file rmap.h.

#define SWAP_AGAIN   1

Definition at line 261 of file rmap.h.

#define SWAP_FAIL   2

Definition at line 262 of file rmap.h.

#define SWAP_MLOCK   3

Definition at line 263 of file rmap.h.

#define SWAP_SUCCESS   0

Definition at line 260 of file rmap.h.

#define try_to_unmap (   page,
  refs 
)    SWAP_FAIL

Definition at line 247 of file rmap.h.

Enumeration Type Documentation

enum ttu_flags
Enumerator:
TTU_UNMAP 
TTU_MIGRATION 
TTU_MUNLOCK 
TTU_ACTION_MASK 
TTU_IGNORE_MLOCK 
TTU_IGNORE_ACCESS 
TTU_IGNORE_HWPOISON 

Definition at line 74 of file rmap.h.