Linux Kernel
3.7.1
|
#include <linux/compiler.h>
#include <linux/linkage.h>
#include <asm/addrspace.h>
#include <asm/page.h>
#include <asm/cachectl.h>
#include <asm/fixmap.h>
#include <asm-generic/pgtable-nopud.h>
Go to the source code of this file.
Data Structures | |
struct | pmd_t |
Functions | |
void | pgd_init (unsigned long page) |
void | pmd_init (unsigned long page, unsigned long pagetable) |
Variables | |
pte_t | invalid_pte_table [PTRS_PER_PTE] |
pte_t | empty_bad_page_table [PTRS_PER_PTE] |
pmd_t | invalid_pmd_table [PTRS_PER_PMD] |
Definition at line 235 of file pgtable-64.h.
Definition at line 162 of file pgtable-64.h.
Definition at line 237 of file pgtable-64.h.
#define __pte_offset | ( | address | ) | (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) |
Definition at line 264 of file pgtable-64.h.
#define __pte_to_swp_entry | ( | pte | ) | ((swp_entry_t) { pte_val(pte) }) |
Definition at line 290 of file pgtable-64.h.
#define __pud_offset | ( | address | ) | (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) |
Definition at line 236 of file pgtable-64.h.
#define __swp_entry | ( | type, | |
offset | |||
) | ((swp_entry_t) { pte_val(mk_swap_pte((type), (offset))) }) |
Definition at line 289 of file pgtable-64.h.
Definition at line 288 of file pgtable-64.h.
Definition at line 287 of file pgtable-64.h.
#define FIRST_USER_ADDRESS 0UL |
Definition at line 122 of file pgtable-64.h.
#define pfn_pte | ( | pfn, | |
prot | |||
) | __pte(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) |
Definition at line 232 of file pgtable-64.h.
Definition at line 148 of file pgtable-64.h.
#define pgd_index | ( | address | ) | (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) |
Definition at line 242 of file pgtable-64.h.
Definition at line 246 of file pgtable-64.h.
#define pgd_offset_k | ( | address | ) | pgd_offset(&init_mm, address) |
Definition at line 240 of file pgtable-64.h.
#define PGDIR_MASK (~(PGDIR_SIZE-1)) |
Definition at line 60 of file pgtable-64.h.
#define PGDIR_SHIFT (PMD_SHIFT + (PAGE_SHIFT + PMD_ORDER - 3)) |
Definition at line 57 of file pgtable-64.h.
#define PGDIR_SIZE (1UL << PGDIR_SHIFT) |
Definition at line 59 of file pgtable-64.h.
#define pgoff_to_pte | ( | off | ) | ((pte_t) { ((off) << 8) | _PAGE_FILE }) |
Definition at line 300 of file pgtable-64.h.
Definition at line 145 of file pgtable-64.h.
#define pmd_index | ( | address | ) | (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) |
Definition at line 243 of file pgtable-64.h.
#define PMD_MASK (~(PMD_SIZE-1)) |
Definition at line 54 of file pgtable-64.h.
#define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT + PTE_ORDER - 3)) |
Definition at line 52 of file pgtable-64.h.
#define PMD_SIZE (1UL << PMD_SHIFT) |
Definition at line 53 of file pgtable-64.h.
Definition at line 161 of file pgtable-64.h.
Definition at line 142 of file pgtable-64.h.
#define PTE_FILE_MAX_BITS 56 |
Definition at line 297 of file pgtable-64.h.
#define pte_offset | ( | dir, | |
address | |||
) | ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address)) |
Definition at line 266 of file pgtable-64.h.
#define pte_offset_kernel | ( | dir, | |
address | |||
) | ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address)) |
Definition at line 268 of file pgtable-64.h.
#define pte_offset_map | ( | dir, | |
address | |||
) | ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address)) |
Definition at line 270 of file pgtable-64.h.
#define pte_page | ( | x | ) | pfn_to_page(pte_pfn(x)) |
Definition at line 225 of file pgtable-64.h.
#define pte_pfn | ( | x | ) | ((unsigned long)((x).pte >> _PFN_SHIFT)) |
Definition at line 231 of file pgtable-64.h.
#define pte_to_pgoff | ( | _pte | ) | ((_pte).pte >> 8) |
Definition at line 299 of file pgtable-64.h.
Definition at line 272 of file pgtable-64.h.
Definition at line 111 of file pgtable-64.h.
Definition at line 113 of file pgtable-64.h.
Definition at line 115 of file pgtable-64.h.
#define pud_page | ( | pud | ) | (pfn_to_page(pud_phys(pud) >> PAGE_SHIFT)) |
Definition at line 254 of file pgtable-64.h.
#define pud_phys | ( | pud | ) | virt_to_phys((void *)pud_val(pud)) |
Definition at line 253 of file pgtable-64.h.
#define USER_PTRS_PER_PGD (1) |
Definition at line 118 of file pgtable-64.h.
#define VMALLOC_END |
Definition at line 130 of file pgtable-64.h.
Definition at line 129 of file pgtable-64.h.
Definition at line 16 of file pgtable-32.c.
Definition at line 43 of file pgtable-64.c.
pte_t empty_bad_page_table[PTRS_PER_PTE] |
pmd_t invalid_pmd_table[PTRS_PER_PMD] |
pte_t invalid_pte_table[PTRS_PER_PTE] |