|
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 | clear_page(page) memset((void *)(page), 0, PAGE_SIZE) |
| #define | clear_user_page(page, vaddr, pg) clear_page(page) |
| #define | copy_user_page(to, from, vaddr, pg) copy_page(to, from) |
| #define | pte_val(x) (x) |
| #define | pgd_val(x) (x) |
| #define | pgprot_val(x) (x) |
| #define | __pte(x) (x) |
| #define | __pgd(x) (x) |
| #define | __pgprot(x) (x) |
| #define | VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) |
Typedefs | |
| typedef unsigned long | pte_t |
| typedef unsigned long | pgd_t |
| typedef unsigned long | pgprot_t |
| typedef struct page * | pgtable_t |
Functions | |
| void | copy_page (void *to, const void *from) |
| int | pfn_valid (unsigned long) |
| #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) |
| #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) |
1.8.2