Linux Kernel
3.7.1
|
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 | __PHYSICAL_MASK ((phys_addr_t)((1ULL << __PHYSICAL_MASK_SHIFT) - 1)) |
#define | __VIRTUAL_MASK ((1UL << __VIRTUAL_MASK_SHIFT) - 1) |
#define | PHYSICAL_PAGE_MASK (((signed long)PAGE_MASK) & __PHYSICAL_MASK) |
#define | PMD_PAGE_SIZE (_AC(1, UL) << PMD_SHIFT) |
#define | PMD_PAGE_MASK (~(PMD_PAGE_SIZE-1)) |
#define | HPAGE_SHIFT PMD_SHIFT |
#define | HPAGE_SIZE (_AC(1,UL) << HPAGE_SHIFT) |
#define | HPAGE_MASK (~(HPAGE_SIZE - 1)) |
#define | HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) |
#define | HUGE_MAX_HSTATE 2 |
#define | PAGE_OFFSET ((unsigned long)__PAGE_OFFSET) |
#define | VM_DATA_DEFAULT_FLAGS |
Functions | |
int | devmem_is_allowed (unsigned long pagenr) |
unsigned long | init_memory_mapping (unsigned long start, unsigned long end) |
void | initmem_init (void) |
Variables | |
unsigned long | max_low_pfn_mapped |
unsigned long | max_pfn_mapped |
#define __PHYSICAL_MASK ((phys_addr_t)((1ULL << __PHYSICAL_MASK_SHIFT) - 1)) |
Definition at line 12 of file page_types.h.
#define __VIRTUAL_MASK ((1UL << __VIRTUAL_MASK_SHIFT) - 1) |
Definition at line 13 of file page_types.h.
#define HPAGE_MASK (~(HPAGE_SIZE - 1)) |
Definition at line 25 of file page_types.h.
#define HPAGE_SHIFT PMD_SHIFT |
Definition at line 23 of file page_types.h.
#define HPAGE_SIZE (_AC(1,UL) << HPAGE_SHIFT) |
Definition at line 24 of file page_types.h.
#define HUGE_MAX_HSTATE 2 |
Definition at line 28 of file page_types.h.
#define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) |
Definition at line 26 of file page_types.h.
#define PAGE_MASK (~(PAGE_SIZE-1)) |
Definition at line 10 of file page_types.h.
#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET) |
Definition at line 30 of file page_types.h.
#define PAGE_SHIFT 12 |
Definition at line 8 of file page_types.h.
#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) |
Definition at line 9 of file page_types.h.
#define PHYSICAL_PAGE_MASK (((signed long)PAGE_MASK) & __PHYSICAL_MASK) |
Definition at line 18 of file page_types.h.
#define PMD_PAGE_MASK (~(PMD_PAGE_SIZE-1)) |
Definition at line 21 of file page_types.h.
Definition at line 20 of file page_types.h.
#define VM_DATA_DEFAULT_FLAGS |
Definition at line 32 of file page_types.h.