|
Linux Kernel
3.7.1
|
#include <asm-generic/pgtable-nopud.h>Go to the source code of this file.
Macros | |
| #define | PGDIR_SHIFT 31 |
| #define | PGDIR_SIZE (1UL << PGDIR_SHIFT) |
| #define | PGDIR_MASK (~(PGDIR_SIZE-1)) |
| #define | PMD_SHIFT 21 |
| #define | PMD_SIZE (1UL << PMD_SHIFT) |
| #define | PMD_MASK (~(PMD_SIZE-1)) |
| #define | PTRS_PER_PTE 512 |
| #define | PTRS_PER_PMD 1024 |
| #define | PTRS_PER_PGD 1024 |
| #define | USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) |
| #define | FIRST_USER_ADDRESS 0 |
| #define | pte_ERROR(e) |
| #define | pmd_ERROR(e) |
| #define | pgd_ERROR(e) |
| #define | pud_none(x) (!(pud_val(x) & ~_PAGE_NEWPAGE)) |
| #define | pud_bad(x) ((pud_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE) |
| #define | pud_present(x) (pud_val(x) & _PAGE_PRESENT) |
| #define | pud_populate(mm, pud, pmd) set_pud(pud, __pud(_PAGE_TABLE + __pa(pmd))) |
| #define | set_pud(pudptr, pudval) (*(pudptr) = (pudval)) |
| #define | set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) |
| #define | pud_page(pud) phys_to_page(pud_val(pud) & PAGE_MASK) |
| #define | pud_page_vaddr(pud) ((unsigned long) __va(pud_val(pud) & PAGE_MASK)) |
| #define | pmd_offset(pud, address) |
| #define | PTE_FILE_MAX_BITS 32 |
| #define | pte_to_pgoff(pte) ((pte).pte_high) |
| #define | pgoff_to_pte(off) ((pte_t) { _PAGE_FILE, (off) }) |
Functions | |
| pmd_t * | pmd_alloc_one (struct mm_struct *mm, unsigned long address) |
| #define FIRST_USER_ADDRESS 0 |
Definition at line 44 of file pgtable-3level.h.
| #define pgd_ERROR | ( | e | ) |
| #define PGDIR_MASK (~(PGDIR_SIZE-1)) |
Definition at line 20 of file pgtable-3level.h.
| #define PGDIR_SHIFT 31 |
Definition at line 17 of file pgtable-3level.h.
| #define PGDIR_SIZE (1UL << PGDIR_SHIFT) |
Definition at line 19 of file pgtable-3level.h.
| #define pgoff_to_pte | ( | off | ) | ((pte_t) { _PAGE_FILE, (off) }) |
Definition at line 131 of file pgtable-3level.h.
| #define pmd_ERROR | ( | e | ) |
| #define PMD_MASK (~(PMD_SIZE-1)) |
Definition at line 28 of file pgtable-3level.h.
| #define pmd_offset | ( | pud, | |
| address | |||
| ) |
Definition at line 93 of file pgtable-3level.h.
| #define PMD_SHIFT 21 |
Definition at line 26 of file pgtable-3level.h.
| #define PMD_SIZE (1UL << PMD_SHIFT) |
Definition at line 27 of file pgtable-3level.h.
| #define pte_ERROR | ( | e | ) |
| #define PTE_FILE_MAX_BITS 32 |
Definition at line 119 of file pgtable-3level.h.
Definition at line 129 of file pgtable-3level.h.
| #define PTRS_PER_PGD 1024 |
Definition at line 40 of file pgtable-3level.h.
| #define PTRS_PER_PMD 1024 |
Definition at line 39 of file pgtable-3level.h.
| #define PTRS_PER_PTE 512 |
Definition at line 34 of file pgtable-3level.h.
| #define pud_bad | ( | x | ) | ((pud_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE) |
Definition at line 57 of file pgtable-3level.h.
| #define pud_none | ( | x | ) | (!(pud_val(x) & ~_PAGE_NEWPAGE)) |
Definition at line 56 of file pgtable-3level.h.
| #define pud_page | ( | pud | ) | phys_to_page(pud_val(pud) & PAGE_MASK) |
Definition at line 89 of file pgtable-3level.h.
Definition at line 90 of file pgtable-3level.h.
Definition at line 59 of file pgtable-3level.h.
| #define pud_present | ( | x | ) | (pud_val(x) & _PAGE_PRESENT) |
Definition at line 58 of file pgtable-3level.h.
| #define set_pmd | ( | pmdptr, | |
| pmdval | |||
| ) | (*(pmdptr) = (pmdval)) |
Definition at line 78 of file pgtable-3level.h.
| #define set_pud | ( | pudptr, | |
| pudval | |||
| ) | (*(pudptr) = (pudval)) |
Definition at line 65 of file pgtable-3level.h.
| #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) |
Definition at line 43 of file pgtable-3level.h.
1.8.2