Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs
page.h File Reference
#include <asm/page-nommu.h>
#include <asm/memory.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
 

Typedefs

typedef struct pagepgtable_t
 

Macro Definition Documentation

#define PAGE_MASK   (~(PAGE_SIZE-1))

Definition at line 16 of file page.h.

#define PAGE_SHIFT   12

Definition at line 14 of file page.h.

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

Definition at line 15 of file page.h.

#define VM_DATA_DEFAULT_FLAGS
Value:
(((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)

Definition at line 165 of file page.h.

Typedef Documentation

typedef struct page* pgtable_t

Definition at line 155 of file page.h.