|
Linux Kernel
3.7.1
|
#include <asm-generic/pgtable-nopmd.h>Go to the source code of this file.
Macros | |
| #define | PGDIR_SHIFT 22 |
| #define | PGDIR_SIZE (1UL << PGDIR_SHIFT) |
| #define | PGDIR_MASK (~(PGDIR_SIZE-1)) |
| #define | PTRS_PER_PTE 1024 |
| #define | USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) |
| #define | PTRS_PER_PGD 1024 |
| #define | FIRST_USER_ADDRESS 0 |
| #define | pte_ERROR(e) |
| #define | pgd_ERROR(e) |
| #define | set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) |
| #define | pte_pfn(x) phys_to_pfn(pte_val(x)) |
| #define | pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) |
| #define | pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) |
| #define | PTE_FILE_MAX_BITS 27 |
| #define | pte_to_pgoff(pte) (pte_val(pte) >> 5) |
| #define | pgoff_to_pte(off) ((pte_t) { ((off) << 5) + _PAGE_FILE }) |
| #define FIRST_USER_ADDRESS 0 |
Definition at line 26 of file pgtable-2level.h.
| #define pfn_pmd | ( | pfn, | |
| prot | |||
| ) | __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) |
Definition at line 42 of file pgtable-2level.h.
| #define pfn_pte | ( | pfn, | |
| prot | |||
| ) | __pte(pfn_to_phys(pfn) | pgprot_val(prot)) |
Definition at line 41 of file pgtable-2level.h.
| #define pgd_ERROR | ( | e | ) |
| #define PGDIR_MASK (~(PGDIR_SIZE-1)) |
Definition at line 17 of file pgtable-2level.h.
| #define PGDIR_SHIFT 22 |
Definition at line 15 of file pgtable-2level.h.
| #define PGDIR_SIZE (1UL << PGDIR_SHIFT) |
Definition at line 16 of file pgtable-2level.h.
| #define pgoff_to_pte | ( | off | ) | ((pte_t) { ((off) << 5) + _PAGE_FILE }) |
Definition at line 51 of file pgtable-2level.h.
| #define pte_ERROR | ( | e | ) |
| #define PTE_FILE_MAX_BITS 27 |
Definition at line 47 of file pgtable-2level.h.
| #define pte_pfn | ( | x | ) | phys_to_pfn(pte_val(x)) |
Definition at line 40 of file pgtable-2level.h.
Definition at line 49 of file pgtable-2level.h.
| #define PTRS_PER_PGD 1024 |
Definition at line 25 of file pgtable-2level.h.
| #define PTRS_PER_PTE 1024 |
Definition at line 23 of file pgtable-2level.h.
| #define set_pmd | ( | pmdptr, | |
| pmdval | |||
| ) | (*(pmdptr) = (pmdval)) |
Definition at line 38 of file pgtable-2level.h.
| #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) |
Definition at line 24 of file pgtable-2level.h.
1.8.2