Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pgtable.h File Reference
#include <asm-generic/4level-fixup.h>
#include <linux/mmzone.h>
#include <asm/page.h>
#include <asm/processor.h>
#include <asm/machvec.h>
#include <asm/setup.h>
#include <asm-generic/pgtable.h>

Go to the source code of this file.

Macros

#define set_pte(pteptr, pteval)   ((*(pteptr)) = (pteval))
 
#define set_pte_at(mm, addr, ptep, pteval)   set_pte(ptep,pteval)
 
#define PMD_SHIFT   (PAGE_SHIFT + (PAGE_SHIFT-3))
 
#define PMD_SIZE   (1UL << PMD_SHIFT)
 
#define PMD_MASK   (~(PMD_SIZE-1))
 
#define PGDIR_SHIFT   (PAGE_SHIFT + 2*(PAGE_SHIFT-3))
 
#define PGDIR_SIZE   (1UL << PGDIR_SHIFT)
 
#define PGDIR_MASK   (~(PGDIR_SIZE-1))
 
#define PTRS_PER_PTE   (1UL << (PAGE_SHIFT-3))
 
#define PTRS_PER_PMD   (1UL << (PAGE_SHIFT-3))
 
#define PTRS_PER_PGD   (1UL << (PAGE_SHIFT-3))
 
#define USER_PTRS_PER_PGD   (TASK_SIZE / PGDIR_SIZE)
 
#define FIRST_USER_ADDRESS   0
 
#define PTRS_PER_PAGE   (1UL << (PAGE_SHIFT-3))
 
#define VMALLOC_START   (-2*PGDIR_SIZE)
 
#define VMALLOC_END   (-PGDIR_SIZE)
 
#define _PAGE_VALID   0x0001
 
#define _PAGE_FOR   0x0002 /* used for page protection (fault on read) */
 
#define _PAGE_FOW   0x0004 /* used for page protection (fault on write) */
 
#define _PAGE_FOE   0x0008 /* used for page protection (fault on exec) */
 
#define _PAGE_ASM   0x0010
 
#define _PAGE_KRE   0x0100 /* xxx - see below on the "accessed" bit */
 
#define _PAGE_URE   0x0200 /* xxx */
 
#define _PAGE_KWE   0x1000 /* used to do the dirty bit in software */
 
#define _PAGE_UWE   0x2000 /* used to do the dirty bit in software */
 
#define _PAGE_DIRTY   0x20000
 
#define _PAGE_ACCESSED   0x40000
 
#define _PAGE_FILE   0x80000 /* set:pagecache, unset:swap */
 
#define __DIRTY_BITS   (_PAGE_DIRTY | _PAGE_KWE | _PAGE_UWE)
 
#define __ACCESS_BITS   (_PAGE_ACCESSED | _PAGE_KRE | _PAGE_URE)
 
#define _PFN_MASK   0xFFFFFFFF00000000UL
 
#define _PAGE_TABLE   (_PAGE_VALID | __DIRTY_BITS | __ACCESS_BITS)
 
#define _PAGE_CHG_MASK   (_PFN_MASK | __DIRTY_BITS | __ACCESS_BITS)
 
#define PAGE_NONE   __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOR | _PAGE_FOW | _PAGE_FOE)
 
#define PAGE_SHARED   __pgprot(_PAGE_VALID | __ACCESS_BITS)
 
#define PAGE_COPY   __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
 
#define PAGE_READONLY   __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
 
#define PAGE_KERNEL   __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE)
 
#define _PAGE_NORMAL(x)   __pgprot(_PAGE_VALID | __ACCESS_BITS | (x))
 
#define _PAGE_P(x)   _PAGE_NORMAL((x) | (((x) & _PAGE_FOW)?0:_PAGE_FOW))
 
#define _PAGE_S(x)   _PAGE_NORMAL(x)
 
#define __P000   _PAGE_P(_PAGE_FOE | _PAGE_FOW | _PAGE_FOR)
 
#define __P001   _PAGE_P(_PAGE_FOE | _PAGE_FOW)
 
#define __P010   _PAGE_P(_PAGE_FOE)
 
#define __P011   _PAGE_P(_PAGE_FOE)
 
#define __P100   _PAGE_P(_PAGE_FOW | _PAGE_FOR)
 
#define __P101   _PAGE_P(_PAGE_FOW)
 
#define __P110   _PAGE_P(0)
 
#define __P111   _PAGE_P(0)
 
#define __S000   _PAGE_S(_PAGE_FOE | _PAGE_FOW | _PAGE_FOR)
 
#define __S001   _PAGE_S(_PAGE_FOE | _PAGE_FOW)
 
#define __S010   _PAGE_S(_PAGE_FOE)
 
#define __S011   _PAGE_S(_PAGE_FOE)
 
#define __S100   _PAGE_S(_PAGE_FOW | _PAGE_FOR)
 
#define __S101   _PAGE_S(_PAGE_FOW)
 
#define __S110   _PAGE_S(0)
 
#define __S111   _PAGE_S(0)
 
#define pgprot_noncached(prot)   (prot)
 
#define BAD_PAGETABLE   __bad_pagetable()
 
#define BAD_PAGE   __bad_page()
 
#define ZERO_PAGE(vaddr)   (virt_to_page(ZERO_PGE))
 
#define BITS_PER_PTR   (8*sizeof(unsigned long))
 
#define PTR_MASK   (~(sizeof(void*)-1))
 
#define SIZEOF_PTR_LOG2   3
 
#define PAGE_PTR(address)   ((unsigned long)(address)>>(PAGE_SHIFT-SIZEOF_PTR_LOG2)&PTR_MASK&~PAGE_MASK)
 
#define PHYS_TWIDDLE(pfn)   (pfn)
 
#define page_to_pa(page)   (((page) - mem_map) << PAGE_SHIFT)
 
#define pte_pfn(pte)   (pte_val(pte) >> 32)
 
#define pte_page(pte)   pfn_to_page(pte_pfn(pte))
 
#define mk_pte(page, pgprot)
 
#define pmd_page(pmd)   (mem_map + ((pmd_val(pmd) & _PFN_MASK) >> 32))
 
#define pgd_page(pgd)   (mem_map + ((pgd_val(pgd) & _PFN_MASK) >> 32))
 
#define PAGE_DIR_OFFSET(tsk, address)   pgd_offset((tsk),(address))
 
#define pgd_offset_k(address)   pgd_offset(&init_mm, (address))
 
#define pgd_index(address)   (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
 
#define pgd_offset(mm, address)   ((mm)->pgd+pgd_index(address))
 
#define pte_offset_map(dir, addr)   pte_offset_kernel((dir),(addr))
 
#define pte_unmap(pte)   do { } while (0)
 
#define __swp_type(x)   (((x).val >> 32) & 0xff)
 
#define __swp_offset(x)   ((x).val >> 40)
 
#define __swp_entry(type, off)   ((swp_entry_t) { pte_val(mk_swap_pte((type), (off))) })
 
#define __pte_to_swp_entry(pte)   ((swp_entry_t) { pte_val(pte) })
 
#define __swp_entry_to_pte(x)   ((pte_t) { (x).val })
 
#define pte_to_pgoff(pte)   (pte_val(pte) >> 32)
 
#define pgoff_to_pte(off)   ((pte_t) { ((off) << 32) | _PAGE_FILE })
 
#define PTE_FILE_MAX_BITS   32
 
#define kern_addr_valid(addr)   (1)
 
#define io_remap_pfn_range(vma, start, pfn, size, prot)   remap_pfn_range(vma, start, pfn, size, prot)
 
#define pte_ERROR(e)   printk("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e))
 
#define pmd_ERROR(e)   printk("%s:%d: bad pmd %016lx.\n", __FILE__, __LINE__, pmd_val(e))
 
#define pgd_ERROR(e)   printk("%s:%d: bad pgd %016lx.\n", __FILE__, __LINE__, pgd_val(e))
 
#define pgtable_cache_init()   do { } while (0)
 
#define HAVE_ARCH_UNMAPPED_AREA
 

Functions

pte_t __bad_page (void)
 
pmd_t__bad_pagetable (void)
 
unsigned long __zero_page (void)
 
pte_t pfn_pte (unsigned long physpfn, pgprot_t pgprot)
 
pte_t pte_modify (pte_t pte, pgprot_t newprot)
 
void pmd_set (pmd_t *pmdp, pte_t *ptep)
 
void pgd_set (pgd_t *pgdp, pmd_t *pmdp)
 
unsigned long pmd_page_vaddr (pmd_t pmd)
 
unsigned long pgd_page_vaddr (pgd_t pgd)
 
int pte_none (pte_t pte)
 
int pte_present (pte_t pte)
 
void pte_clear (struct mm_struct *mm, unsigned long addr, pte_t *ptep)
 
int pmd_none (pmd_t pmd)
 
int pmd_bad (pmd_t pmd)
 
int pmd_present (pmd_t pmd)
 
void pmd_clear (pmd_t *pmdp)
 
int pgd_none (pgd_t pgd)
 
int pgd_bad (pgd_t pgd)
 
int pgd_present (pgd_t pgd)
 
void pgd_clear (pgd_t *pgdp)
 
int pte_write (pte_t pte)
 
int pte_dirty (pte_t pte)
 
int pte_young (pte_t pte)
 
int pte_file (pte_t pte)
 
int pte_special (pte_t pte)
 
pte_t pte_wrprotect (pte_t pte)
 
pte_t pte_mkclean (pte_t pte)
 
pte_t pte_mkold (pte_t pte)
 
pte_t pte_mkwrite (pte_t pte)
 
pte_t pte_mkdirty (pte_t pte)
 
pte_t pte_mkyoung (pte_t pte)
 
pte_t pte_mkspecial (pte_t pte)
 
pmd_tpmd_offset (pgd_t *dir, unsigned long address)
 
pte_tpte_offset_kernel (pmd_t *dir, unsigned long address)
 
void update_mmu_cache (struct vm_area_struct *vma, unsigned long address, pte_t *ptep)
 
pte_t mk_swap_pte (unsigned long type, unsigned long offset)
 
void paging_init (void)
 

Variables

pgd_t swapper_pg_dir [1024]
 

Macro Definition Documentation

#define __ACCESS_BITS   (_PAGE_ACCESSED | _PAGE_KRE | _PAGE_URE)

Definition at line 90 of file pgtable.h.

#define __DIRTY_BITS   (_PAGE_DIRTY | _PAGE_KWE | _PAGE_UWE)

Definition at line 89 of file pgtable.h.

#define __P000   _PAGE_P(_PAGE_FOE | _PAGE_FOW | _PAGE_FOR)

Definition at line 120 of file pgtable.h.

#define __P001   _PAGE_P(_PAGE_FOE | _PAGE_FOW)

Definition at line 121 of file pgtable.h.

#define __P010   _PAGE_P(_PAGE_FOE)

Definition at line 122 of file pgtable.h.

#define __P011   _PAGE_P(_PAGE_FOE)

Definition at line 123 of file pgtable.h.

#define __P100   _PAGE_P(_PAGE_FOW | _PAGE_FOR)

Definition at line 124 of file pgtable.h.

#define __P101   _PAGE_P(_PAGE_FOW)

Definition at line 125 of file pgtable.h.

#define __P110   _PAGE_P(0)

Definition at line 126 of file pgtable.h.

#define __P111   _PAGE_P(0)

Definition at line 127 of file pgtable.h.

#define __pte_to_swp_entry (   pte)    ((swp_entry_t) { pte_val(pte) })

Definition at line 345 of file pgtable.h.

#define __S000   _PAGE_S(_PAGE_FOE | _PAGE_FOW | _PAGE_FOR)

Definition at line 129 of file pgtable.h.

#define __S001   _PAGE_S(_PAGE_FOE | _PAGE_FOW)

Definition at line 130 of file pgtable.h.

#define __S010   _PAGE_S(_PAGE_FOE)

Definition at line 131 of file pgtable.h.

#define __S011   _PAGE_S(_PAGE_FOE)

Definition at line 132 of file pgtable.h.

#define __S100   _PAGE_S(_PAGE_FOW | _PAGE_FOR)

Definition at line 133 of file pgtable.h.

#define __S101   _PAGE_S(_PAGE_FOW)

Definition at line 134 of file pgtable.h.

#define __S110   _PAGE_S(0)

Definition at line 135 of file pgtable.h.

#define __S111   _PAGE_S(0)

Definition at line 136 of file pgtable.h.

#define __swp_entry (   type,
  off 
)    ((swp_entry_t) { pte_val(mk_swap_pte((type), (off))) })

Definition at line 344 of file pgtable.h.

#define __swp_entry_to_pte (   x)    ((pte_t) { (x).val })

Definition at line 346 of file pgtable.h.

#define __swp_offset (   x)    ((x).val >> 40)

Definition at line 343 of file pgtable.h.

#define __swp_type (   x)    (((x).val >> 32) & 0xff)

Definition at line 342 of file pgtable.h.

#define _PAGE_ACCESSED   0x40000

Definition at line 75 of file pgtable.h.

#define _PAGE_ASM   0x0010

Definition at line 67 of file pgtable.h.

#define _PAGE_CHG_MASK   (_PFN_MASK | __DIRTY_BITS | __ACCESS_BITS)

Definition at line 95 of file pgtable.h.

#define _PAGE_DIRTY   0x20000

Definition at line 74 of file pgtable.h.

#define _PAGE_FILE   0x80000 /* set:pagecache, unset:swap */

Definition at line 76 of file pgtable.h.

#define _PAGE_FOE   0x0008 /* used for page protection (fault on exec) */

Definition at line 66 of file pgtable.h.

#define _PAGE_FOR   0x0002 /* used for page protection (fault on read) */

Definition at line 64 of file pgtable.h.

#define _PAGE_FOW   0x0004 /* used for page protection (fault on write) */

Definition at line 65 of file pgtable.h.

#define _PAGE_KRE   0x0100 /* xxx - see below on the "accessed" bit */

Definition at line 68 of file pgtable.h.

#define _PAGE_KWE   0x1000 /* used to do the dirty bit in software */

Definition at line 70 of file pgtable.h.

#define _PAGE_NORMAL (   x)    __pgprot(_PAGE_VALID | __ACCESS_BITS | (x))

Definition at line 107 of file pgtable.h.

#define _PAGE_P (   x)    _PAGE_NORMAL((x) | (((x) & _PAGE_FOW)?0:_PAGE_FOW))

Definition at line 109 of file pgtable.h.

#define _PAGE_S (   x)    _PAGE_NORMAL(x)

Definition at line 110 of file pgtable.h.

#define _PAGE_TABLE   (_PAGE_VALID | __DIRTY_BITS | __ACCESS_BITS)

Definition at line 94 of file pgtable.h.

#define _PAGE_URE   0x0200 /* xxx */

Definition at line 69 of file pgtable.h.

#define _PAGE_UWE   0x2000 /* used to do the dirty bit in software */

Definition at line 71 of file pgtable.h.

#define _PAGE_VALID   0x0001

Definition at line 63 of file pgtable.h.

#define _PFN_MASK   0xFFFFFFFF00000000UL

Definition at line 92 of file pgtable.h.

#define BAD_PAGE   __bad_page()

Definition at line 157 of file pgtable.h.

#define BAD_PAGETABLE   __bad_pagetable()

Definition at line 156 of file pgtable.h.

#define BITS_PER_PTR   (8*sizeof(unsigned long))

Definition at line 161 of file pgtable.h.

#define FIRST_USER_ADDRESS   0

Definition at line 48 of file pgtable.h.

#define HAVE_ARCH_UNMAPPED_AREA

Definition at line 377 of file pgtable.h.

#define io_remap_pfn_range (   vma,
  start,
  pfn,
  size,
  prot 
)    remap_pfn_range(vma, start, pfn, size, prot)

Definition at line 357 of file pgtable.h.

#define kern_addr_valid (   addr)    (1)

Definition at line 354 of file pgtable.h.

#define mk_pte (   page,
  pgprot 
)
Value:
({ \
pte_val(pte) = (page_to_pfn(page) << 32) | pgprot_val(pgprot); \
pte; \
})

Definition at line 211 of file pgtable.h.

#define PAGE_COPY   __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)

Definition at line 103 of file pgtable.h.

#define PAGE_DIR_OFFSET (   tsk,
  address 
)    pgd_offset((tsk),(address))

Definition at line 282 of file pgtable.h.

#define PAGE_KERNEL   __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE)

Definition at line 105 of file pgtable.h.

Definition at line 101 of file pgtable.h.

#define PAGE_PTR (   address)    ((unsigned long)(address)>>(PAGE_SHIFT-SIZEOF_PTR_LOG2)&PTR_MASK&~PAGE_MASK)

Definition at line 170 of file pgtable.h.

#define PAGE_READONLY   __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)

Definition at line 104 of file pgtable.h.

#define PAGE_SHARED   __pgprot(_PAGE_VALID | __ACCESS_BITS)

Definition at line 102 of file pgtable.h.

#define page_to_pa (   page)    (((page) - mem_map) << PAGE_SHIFT)

Definition at line 207 of file pgtable.h.

#define pgd_ERROR (   e)    printk("%s:%d: bad pgd %016lx.\n", __FILE__, __LINE__, pgd_val(e))

Definition at line 364 of file pgtable.h.

#define pgd_index (   address)    (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))

Definition at line 288 of file pgtable.h.

#define pgd_offset (   mm,
  address 
)    ((mm)->pgd+pgd_index(address))

Definition at line 289 of file pgtable.h.

#define pgd_offset_k (   address)    pgd_offset(&init_mm, (address))

Definition at line 285 of file pgtable.h.

#define pgd_page (   pgd)    (mem_map + ((pgd_val(pgd) & _PFN_MASK) >> 32))

Definition at line 241 of file pgtable.h.

#define PGDIR_MASK   (~(PGDIR_SIZE-1))

Definition at line 38 of file pgtable.h.

#define PGDIR_SHIFT   (PAGE_SHIFT + 2*(PAGE_SHIFT-3))

Definition at line 36 of file pgtable.h.

#define PGDIR_SIZE   (1UL << PGDIR_SHIFT)

Definition at line 37 of file pgtable.h.

#define pgoff_to_pte (   off)    ((pte_t) { ((off) << 32) | _PAGE_FILE })

Definition at line 349 of file pgtable.h.

#define pgprot_noncached (   prot)    (prot)

Definition at line 142 of file pgtable.h.

#define pgtable_cache_init (   void)    do { } while (0)

Definition at line 374 of file pgtable.h.

#define PHYS_TWIDDLE (   pfn)    (pfn)

Definition at line 199 of file pgtable.h.

#define pmd_ERROR (   e)    printk("%s:%d: bad pmd %016lx.\n", __FILE__, __LINE__, pmd_val(e))

Definition at line 362 of file pgtable.h.

#define PMD_MASK   (~(PMD_SIZE-1))

Definition at line 33 of file pgtable.h.

#define pmd_page (   pmd)    (mem_map + ((pmd_val(pmd) & _PFN_MASK) >> 32))

Definition at line 240 of file pgtable.h.

#define PMD_SHIFT   (PAGE_SHIFT + (PAGE_SHIFT-3))

Definition at line 31 of file pgtable.h.

#define PMD_SIZE   (1UL << PMD_SHIFT)

Definition at line 32 of file pgtable.h.

#define pte_ERROR (   e)    printk("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e))

Definition at line 360 of file pgtable.h.

#define PTE_FILE_MAX_BITS   32

Definition at line 351 of file pgtable.h.

#define pte_offset_map (   dir,
  addr 
)    pte_offset_kernel((dir),(addr))

Definition at line 321 of file pgtable.h.

#define pte_page (   pte)    pfn_to_page(pte_pfn(pte))

Definition at line 210 of file pgtable.h.

#define pte_pfn (   pte)    (pte_val(pte) >> 32)

Definition at line 209 of file pgtable.h.

#define pte_to_pgoff (   pte)    (pte_val(pte) >> 32)

Definition at line 348 of file pgtable.h.

#define pte_unmap (   pte)    do { } while (0)

Definition at line 322 of file pgtable.h.

#define PTR_MASK   (~(sizeof(void*)-1))

Definition at line 164 of file pgtable.h.

#define PTRS_PER_PAGE   (1UL << (PAGE_SHIFT-3))

Definition at line 51 of file pgtable.h.

#define PTRS_PER_PGD   (1UL << (PAGE_SHIFT-3))

Definition at line 46 of file pgtable.h.

#define PTRS_PER_PMD   (1UL << (PAGE_SHIFT-3))

Definition at line 45 of file pgtable.h.

#define PTRS_PER_PTE   (1UL << (PAGE_SHIFT-3))

Definition at line 44 of file pgtable.h.

#define set_pte (   pteptr,
  pteval 
)    ((*(pteptr)) = (pteval))

Definition at line 27 of file pgtable.h.

#define set_pte_at (   mm,
  addr,
  ptep,
  pteval 
)    set_pte(ptep,pteval)

Definition at line 28 of file pgtable.h.

#define SIZEOF_PTR_LOG2   3

Definition at line 167 of file pgtable.h.

#define USER_PTRS_PER_PGD   (TASK_SIZE / PGDIR_SIZE)

Definition at line 47 of file pgtable.h.

#define VMALLOC_END   (-PGDIR_SIZE)

Definition at line 58 of file pgtable.h.

#define VMALLOC_START   (-2*PGDIR_SIZE)

Definition at line 56 of file pgtable.h.

#define ZERO_PAGE (   vaddr)    (virt_to_page(ZERO_PGE))

Definition at line 158 of file pgtable.h.

Function Documentation

pte_t __bad_page ( void  )

Definition at line 83 of file init.c.

pmd_t* __bad_pagetable ( void  )

Definition at line 76 of file init.c.

unsigned long __zero_page ( void  )
pte_t mk_swap_pte ( unsigned long  type,
unsigned long  offset 
)
inline

Definition at line 339 of file pgtable.h.

void __init paging_init ( void  )

paging_init - setup page tables

paging_init() sets up the page tables for each node of the system and frees the bootmem allocator memory for general use.

Definition at line 99 of file init.c.

pte_t pfn_pte ( unsigned long  physpfn,
pgprot_t  pgprot 
)
inline

Definition at line 220 of file pgtable.h.

int pgd_bad ( pgd_t  pgd)
inline

Definition at line 260 of file pgtable.h.

void pgd_clear ( pgd_t pgdp)
inline

Definition at line 262 of file pgtable.h.

int pgd_none ( pgd_t  pgd)
inline

Definition at line 259 of file pgtable.h.

unsigned long pgd_page_vaddr ( pgd_t  pgd)
inline

Definition at line 244 of file pgtable.h.

int pgd_present ( pgd_t  pgd)
inline

Definition at line 261 of file pgtable.h.

void pgd_set ( pgd_t pgdp,
pmd_t pmdp 
)
inline

Definition at line 229 of file pgtable.h.

int pmd_bad ( pmd_t  pmd)
inline

Definition at line 255 of file pgtable.h.

void pmd_clear ( pmd_t pmdp)
inline

Definition at line 257 of file pgtable.h.

int pmd_none ( pmd_t  pmd)
inline

Definition at line 254 of file pgtable.h.

pmd_t* pmd_offset ( pgd_t dir,
unsigned long  address 
)
inline

Definition at line 305 of file pgtable.h.

unsigned long pmd_page_vaddr ( pmd_t  pmd)
inline

Definition at line 234 of file pgtable.h.

int pmd_present ( pmd_t  pmd)
inline

Definition at line 256 of file pgtable.h.

void pmd_set ( pmd_t pmdp,
pte_t ptep 
)
inline

Definition at line 226 of file pgtable.h.

void pte_clear ( struct mm_struct mm,
unsigned long  addr,
pte_t ptep 
)
inline

Definition at line 249 of file pgtable.h.

int pte_dirty ( pte_t  pte)
inline

Definition at line 269 of file pgtable.h.

unsigned long pte_file ( pte_t  pte)
inline

Definition at line 271 of file pgtable.h.

pte_t pte_mkclean ( pte_t  pte)
inline

Definition at line 275 of file pgtable.h.

pte_t pte_mkdirty ( pte_t  pte)
inline

Definition at line 278 of file pgtable.h.

pte_t pte_mkold ( pte_t  pte)
inline

Definition at line 276 of file pgtable.h.

pte_t pte_mkspecial ( pte_t  pte)
inline

Definition at line 280 of file pgtable.h.

pte_t pte_mkwrite ( pte_t  pte)
inline

Definition at line 277 of file pgtable.h.

pte_t pte_mkyoung ( pte_t  pte)
inline

Definition at line 279 of file pgtable.h.

static pte_t pte_modify ( pte_t  pte,
pgprot_t  newprot 
)
inline

Definition at line 223 of file pgtable.h.

int pte_none ( pte_t  pte)
inline

Definition at line 247 of file pgtable.h.

pte_t* pte_offset_kernel ( pmd_t dir,
unsigned long  address 
)
inline

Definition at line 313 of file pgtable.h.

int pte_present ( pte_t  pte)
inline

Definition at line 248 of file pgtable.h.

int pte_special ( pte_t  pte)
inline

Definition at line 272 of file pgtable.h.

int pte_write ( pte_t  pte)
inline

Definition at line 268 of file pgtable.h.

pte_t pte_wrprotect ( pte_t  pte)
inline

Definition at line 274 of file pgtable.h.

int pte_young ( pte_t  pte)
inline

Definition at line 270 of file pgtable.h.

void update_mmu_cache ( struct vm_area_struct vma,
unsigned long  address,
pte_t ptep 
)
inline

Definition at line 330 of file pgtable.h.

Variable Documentation

pgd_t swapper_pg_dir[1024]

Definition at line 36 of file init.c.