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

Go to the source code of this file.

Macros

#define MPOL_F_STATIC_NODES   (1 << 15)
 
#define MPOL_F_RELATIVE_NODES   (1 << 14)
 
#define MPOL_MODE_FLAGS   (MPOL_F_STATIC_NODES | MPOL_F_RELATIVE_NODES)
 
#define MPOL_F_NODE   (1<<0) /* return next IL mode instead of node mask */
 
#define MPOL_F_ADDR   (1<<1) /* look up vma using address */
 
#define MPOL_F_MEMS_ALLOWED   (1<<2) /* return allowed memories */
 
#define MPOL_MF_STRICT   (1<<0) /* Verify existing pages in the mapping */
 
#define MPOL_MF_MOVE   (1<<1) /* Move pages owned by this process to conform to mapping */
 
#define MPOL_MF_MOVE_ALL   (1<<2) /* Move every page to conform to mapping */
 
#define MPOL_MF_INTERNAL   (1<<3) /* Internal flags start here */
 
#define MPOL_F_SHARED   (1 << 0) /* identify shared policies */
 
#define MPOL_F_LOCAL   (1 << 1) /* preferred local allocation */
 
#define MPOL_F_REBINDING   (1 << 2) /* identify policies in rebinding */
 

Enumerations

enum  {
  MPOL_DEFAULT, MPOL_PREFERRED, MPOL_BIND, MPOL_INTERLEAVE,
  MPOL_MAX
}
 
enum  mpol_rebind_step { MPOL_REBIND_ONCE, MPOL_REBIND_STEP1, MPOL_REBIND_STEP2, MPOL_REBIND_NSTEP }
 

Macro Definition Documentation

#define MPOL_F_ADDR   (1<<1) /* look up vma using address */

Definition at line 45 of file mempolicy.h.

#define MPOL_F_LOCAL   (1 << 1) /* preferred local allocation */

Definition at line 60 of file mempolicy.h.

#define MPOL_F_MEMS_ALLOWED   (1<<2) /* return allowed memories */

Definition at line 46 of file mempolicy.h.

#define MPOL_F_NODE   (1<<0) /* return next IL mode instead of node mask */

Definition at line 44 of file mempolicy.h.

#define MPOL_F_REBINDING   (1 << 2) /* identify policies in rebinding */

Definition at line 61 of file mempolicy.h.

#define MPOL_F_RELATIVE_NODES   (1 << 14)

Definition at line 35 of file mempolicy.h.

#define MPOL_F_SHARED   (1 << 0) /* identify shared policies */

Definition at line 59 of file mempolicy.h.

#define MPOL_F_STATIC_NODES   (1 << 15)

Definition at line 34 of file mempolicy.h.

#define MPOL_MF_INTERNAL   (1<<3) /* Internal flags start here */

Definition at line 52 of file mempolicy.h.

#define MPOL_MF_MOVE   (1<<1) /* Move pages owned by this process to conform to mapping */

Definition at line 50 of file mempolicy.h.

#define MPOL_MF_MOVE_ALL   (1<<2) /* Move every page to conform to mapping */

Definition at line 51 of file mempolicy.h.

#define MPOL_MF_STRICT   (1<<0) /* Verify existing pages in the mapping */

Definition at line 49 of file mempolicy.h.

#define MPOL_MODE_FLAGS   (MPOL_F_STATIC_NODES | MPOL_F_RELATIVE_NODES)

Definition at line 41 of file mempolicy.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
MPOL_DEFAULT 
MPOL_PREFERRED 
MPOL_BIND 
MPOL_INTERLEAVE 
MPOL_MAX 

Definition at line 18 of file mempolicy.h.

Enumerator:
MPOL_REBIND_ONCE 
MPOL_REBIND_STEP1 
MPOL_REBIND_STEP2 
MPOL_REBIND_NSTEP 

Definition at line 26 of file mempolicy.h.