Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
page.h File Reference
#include <linux/pfn.h>
#include <linux/const.h>
#include <asm-generic/memory_model.h>
#include <asm-generic/getorder.h>

Go to the source code of this file.

Macros

#define PAGE_SHIFT   (12)
 
#define PAGE_SIZE   (_AC(1,UL) << PAGE_SHIFT)
 
#define PAGE_MASK   (~(PAGE_SIZE-1))
 
#define VM_DATA_DEFAULT_FLAGS
 

Macro Definition Documentation

#define PAGE_MASK   (~(PAGE_SIZE-1))

Definition at line 10 of file page.h.

#define PAGE_SHIFT   (12)

Definition at line 8 of file page.h.

#define PAGE_SIZE   (_AC(1,UL) << PAGE_SHIFT)

Definition at line 9 of file page.h.

#define VM_DATA_DEFAULT_FLAGS
Value:
(VM_READ | VM_WRITE | VM_EXEC | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)

Definition at line 87 of file page.h.