Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
void | hpte_need_flush (struct mm_struct *mm, unsigned long addr, pte_t *ptep, unsigned long pte, int huge) |
void | pgtable_cache_add (unsigned shift, void(*ctor)(void *)) |
void | pgtable_cache_init (void) |
#define __HAVE_ARCH_PTE_SAME |
Definition at line 321 of file pgtable-ppc64.h.
#define __HAVE_ARCH_PTEP_CLEAR_YOUNG_FLUSH |
Definition at line 271 of file pgtable-ppc64.h.
#define __HAVE_ARCH_PTEP_GET_AND_CLEAR |
Definition at line 279 of file pgtable-ppc64.h.
#define __HAVE_ARCH_PTEP_SET_WRPROTECT |
Definition at line 243 of file pgtable-ppc64.h.
#define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG |
Definition at line 235 of file pgtable-ppc64.h.
#define __pte_to_swp_entry | ( | pte | ) | ((swp_entry_t){pte_val(pte) >> PTE_RPN_SHIFT}) |
Definition at line 335 of file pgtable-ppc64.h.
Definition at line 120 of file pgtable-ppc64.h.
#define __rpte_to_hidx | ( | r, | |
index | |||
) | (pte_val(__rpte_to_pte(r)) >> 12) |
Definition at line 123 of file pgtable-ppc64.h.
Definition at line 121 of file pgtable-ppc64.h.
#define __swp_entry | ( | type, | |
offset | |||
) | ((swp_entry_t){((type)<< 1)|((offset)<<8)}) |
Definition at line 334 of file pgtable-ppc64.h.
#define __swp_entry_to_pte | ( | x | ) | ((pte_t) { (x).val << PTE_RPN_SHIFT }) |
Definition at line 336 of file pgtable-ppc64.h.
Definition at line 333 of file pgtable-ppc64.h.
Definition at line 332 of file pgtable-ppc64.h.
#define FIRST_USER_ADDRESS 0 |
Definition at line 14 of file pgtable-ppc64.h.
#define FULL_IO_SIZE 0x80000000ul |
Definition at line 58 of file pgtable-ppc64.h.
#define IOREMAP_BASE (PHB_IO_END) |
Definition at line 63 of file pgtable-ppc64.h.
#define IOREMAP_END (KERN_VIRT_START + KERN_VIRT_SIZE) |
Definition at line 64 of file pgtable-ppc64.h.
#define ISA_IO_BASE (KERN_IO_START) |
Definition at line 59 of file pgtable-ppc64.h.
#define ISA_IO_END (KERN_IO_START + 0x10000ul) |
Definition at line 60 of file pgtable-ppc64.h.
#define KERN_IO_START (KERN_VIRT_START + (KERN_VIRT_SIZE >> 1)) |
Definition at line 57 of file pgtable-ppc64.h.
#define KERN_VIRT_SIZE ASM_CONST(0x0000100000000000) |
Definition at line 33 of file pgtable-ppc64.h.
#define KERN_VIRT_START ASM_CONST(0xD000000000000000) |
Definition at line 31 of file pgtable-ppc64.h.
#define KERNEL_REGION_ID (REGION_ID(PAGE_OFFSET)) |
Definition at line 75 of file pgtable-ppc64.h.
Definition at line 328 of file pgtable-ppc64.h.
#define pgd_index | ( | address | ) | (((address) >> (PGDIR_SHIFT)) & 0x1ff) |
Definition at line 171 of file pgtable-ppc64.h.
Definition at line 173 of file pgtable-ppc64.h.
#define pgd_offset_k | ( | address | ) | pgd_offset(&init_mm, address) |
Definition at line 186 of file pgtable-ppc64.h.
Definition at line 164 of file pgtable-ppc64.h.
#define pgoff_to_pte | ( | off | ) | ((pte_t) {((off) << PTE_RPN_SHIFT)|_PAGE_FILE}) |
Definition at line 338 of file pgtable-ppc64.h.
#define PGTABLE_EADDR_SIZE |
Definition at line 19 of file pgtable-ppc64.h.
#define PGTABLE_RANGE (ASM_CONST(1) << PGTABLE_EADDR_SIZE) |
Definition at line 21 of file pgtable-ppc64.h.
#define PHB_IO_BASE (ISA_IO_END) |
Definition at line 61 of file pgtable-ppc64.h.
#define PHB_IO_END (KERN_IO_START + FULL_IO_SIZE) |
Definition at line 62 of file pgtable-ppc64.h.
#define pmd_bad | ( | pmd | ) |
Definition at line 148 of file pgtable-ppc64.h.
#define PMD_BAD_BITS (PTE_TABLE_SIZE-1) |
Definition at line 143 of file pgtable-ppc64.h.
#define pmd_clear | ( | pmdp | ) | (pmd_val(*(pmdp)) = 0) |
Definition at line 151 of file pgtable-ppc64.h.
Definition at line 326 of file pgtable-ppc64.h.
Definition at line 147 of file pgtable-ppc64.h.
#define pmd_offset | ( | pudp, | |
addr | |||
) | (((pmd_t *) pud_page_vaddr(*(pudp))) + (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1))) |
Definition at line 175 of file pgtable-ppc64.h.
#define pmd_page | ( | pmd | ) | virt_to_page(pmd_page_vaddr(pmd)) |
Definition at line 153 of file pgtable-ppc64.h.
#define pmd_page_vaddr | ( | pmd | ) | (pmd_val(pmd) & ~PMD_MASKED_BITS) |
Definition at line 152 of file pgtable-ppc64.h.
Definition at line 150 of file pgtable-ppc64.h.
#define pmd_set | ( | pmdp, | |
pmdval | |||
) | (pmd_val(*(pmdp)) = (pmdval)) |
Definition at line 146 of file pgtable-ppc64.h.
Definition at line 324 of file pgtable-ppc64.h.
#define PTE_FILE_MAX_BITS (BITS_PER_LONG - PTE_RPN_SHIFT) |
Definition at line 339 of file pgtable-ppc64.h.
#define pte_iterate_hashed_end | ( | ) | } while(0) |
Definition at line 130 of file pgtable-ppc64.h.
Definition at line 125 of file pgtable-ppc64.h.
#define pte_offset_kernel | ( | dir, | |
addr | |||
) | (((pte_t *) pmd_page_vaddr(*(dir))) + (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))) |
Definition at line 178 of file pgtable-ppc64.h.
#define pte_offset_map | ( | dir, | |
addr | |||
) | pte_offset_kernel((dir), (addr)) |
Definition at line 181 of file pgtable-ppc64.h.
Definition at line 135 of file pgtable-ppc64.h.
Definition at line 322 of file pgtable-ppc64.h.
#define pte_to_pgoff | ( | pte | ) | (pte_val(pte) >> PTE_RPN_SHIFT) |
Definition at line 337 of file pgtable-ppc64.h.
#define pte_unmap | ( | pte | ) | do { } while(0) |
Definition at line 182 of file pgtable-ppc64.h.
#define ptep_clear_flush_young | ( | __vma, | |
__address, | |||
__ptep | |||
) |
Definition at line 272 of file pgtable-ppc64.h.
#define ptep_test_and_clear_young | ( | __vma, | |
__addr, | |||
__ptep | |||
) |
Definition at line 236 of file pgtable-ppc64.h.
#define pud_bad | ( | pud | ) |
Definition at line 157 of file pgtable-ppc64.h.
#define PUD_BAD_BITS (PMD_TABLE_SIZE-1) |
Definition at line 144 of file pgtable-ppc64.h.
#define pud_clear | ( | pudp | ) | (pud_val(*(pudp)) = 0) |
Definition at line 160 of file pgtable-ppc64.h.
#define pud_none | ( | pud | ) | (!pud_val(pud)) |
Definition at line 156 of file pgtable-ppc64.h.
#define pud_page | ( | pud | ) | virt_to_page(pud_page_vaddr(pud)) |
Definition at line 162 of file pgtable-ppc64.h.
#define pud_page_vaddr | ( | pud | ) | (pud_val(pud) & ~PUD_MASKED_BITS) |
Definition at line 161 of file pgtable-ppc64.h.
#define pud_present | ( | pud | ) | (pud_val(pud) != 0) |
Definition at line 159 of file pgtable-ppc64.h.
#define pud_set | ( | pudp, | |
pudval | |||
) | (pud_val(*(pudp)) = (pudval)) |
Definition at line 155 of file pgtable-ppc64.h.
#define REGION_ID | ( | ea | ) | (((unsigned long)(ea)) >> REGION_SHIFT) |
Definition at line 72 of file pgtable-ppc64.h.
#define REGION_MASK (0xfUL << REGION_SHIFT) |
Definition at line 71 of file pgtable-ppc64.h.
#define REGION_SHIFT 60UL |
Definition at line 70 of file pgtable-ppc64.h.
#define USER_REGION_ID (0UL) |
Definition at line 77 of file pgtable-ppc64.h.
#define VMALLOC_END (VMALLOC_START + VMALLOC_SIZE) |
Definition at line 46 of file pgtable-ppc64.h.
#define VMALLOC_REGION_ID (REGION_ID(VMALLOC_START)) |
Definition at line 74 of file pgtable-ppc64.h.
#define VMALLOC_SIZE (KERN_VIRT_SIZE >> 1) |
Definition at line 44 of file pgtable-ppc64.h.
#define VMALLOC_START KERN_VIRT_START |
Definition at line 40 of file pgtable-ppc64.h.
#define vmemmap ((struct page *)VMEMMAP_BASE) |
Definition at line 89 of file pgtable-ppc64.h.
#define VMEMMAP_BASE (VMEMMAP_REGION_ID << REGION_SHIFT) |
Definition at line 87 of file pgtable-ppc64.h.
#define VMEMMAP_REGION_ID (0xfUL) /* Server only */ |
Definition at line 76 of file pgtable-ppc64.h.
void hpte_need_flush | ( | struct mm_struct * | mm, |
unsigned long | addr, | ||
pte_t * | ptep, | ||
unsigned long | pte, | ||
int | huge | ||
) |
Definition at line 42 of file tlb_hash64.c.