Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | pte_t |
struct | iopte_t |
struct | pmd_t |
struct | pgd_t |
struct | pgprot_t |
Macros | |
#define | PAGE_SHIFT 13 |
#define | PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) |
#define | PAGE_MASK (~(PAGE_SIZE-1)) |
#define | DCACHE_ALIASING_POSSIBLE |
#define | HPAGE_SHIFT 22 |
#define | WANT_PAGE_VIRTUAL |
#define | clear_page(X) _clear_page((void *)(X)) |
#define | copy_page(X, Y) memcpy((void *)(X), (void *)(Y), PAGE_SIZE) |
#define | STRICT_MM_TYPECHECKS |
#define | pte_val(x) ((x).pte) |
#define | iopte_val(x) ((x).iopte) |
#define | pmd_val(x) ((x).pmd) |
#define | pgd_val(x) ((x).pgd) |
#define | pgprot_val(x) ((x).pgprot) |
#define | __pte(x) ((pte_t) { (x) } ) |
#define | __iopte(x) ((iopte_t) { (x) } ) |
#define | __pmd(x) ((pmd_t) { (x) } ) |
#define | __pgd(x) ((pgd_t) { (x) } ) |
#define | __pgprot(x) ((pgprot_t) { (x) } ) |
#define | TASK_UNMAPPED_BASE |
#define | PAGE_OFFSET _AC(0xFFFFF80000000000,UL) |
#define | __pa(x) ((unsigned long)(x) - PAGE_OFFSET) |
#define | __va(x) ((void *)((unsigned long) (x) + PAGE_OFFSET)) |
#define | pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) |
#define | virt_to_page(kaddr) pfn_to_page(__pa(kaddr)>>PAGE_SHIFT) |
#define | virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) |
#define | virt_to_phys __pa |
#define | phys_to_virt __va |
#define | VM_DATA_DEFAULT_FLAGS |
Typedefs | |
typedef pte_t * | pgtable_t |
Functions | |
void | _clear_page (void *page) |
void | clear_user_page (void *addr, unsigned long vaddr, struct page *page) |
void | copy_user_page (void *to, void *from, unsigned long vaddr, struct page *topage) |
#define __va | ( | x | ) | ((void *)((unsigned long) (x) + PAGE_OFFSET)) |
#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) |
#define pfn_to_kaddr | ( | pfn | ) | __va((pfn) << PAGE_SHIFT) |
#define TASK_UNMAPPED_BASE |
#define virt_addr_valid | ( | kaddr | ) | pfn_valid(__pa(kaddr) >> PAGE_SHIFT) |
#define virt_to_page | ( | kaddr | ) | pfn_to_page(__pa(kaddr)>>PAGE_SHIFT) |
#define VM_DATA_DEFAULT_FLAGS |