Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
pgalloc-64.h File Reference
#include <linux/slab.h>
#include <linux/cpumask.h>
#include <linux/percpu.h>

Go to the source code of this file.

Data Structures

struct  vmemmap_backing
 

Macros

#define MAX_PGTABLE_INDEX_SIZE   0xf
 
#define PGT_CACHE(shift)   (pgtable_cache[(shift)-1])
 
#define pgd_populate(MM, PGD, PUD)   pgd_set(PGD, PUD)
 
#define pmd_populate(mm, pmd, pte_page)   pmd_populate_kernel(mm, pmd, page_address(pte_page))
 
#define pmd_populate_kernel(mm, pmd, pte)   pmd_set(pmd, (unsigned long)(pte))
 
#define pmd_pgtable(pmd)   pmd_page(pmd)
 
#define __pmd_free_tlb(tlb, pmd, addr)   pgtable_free_tlb(tlb, pmd, PMD_INDEX_SIZE)
 
#define __pud_free_tlb(tlb, pud, addr)   pgtable_free_tlb(tlb, pud, PUD_INDEX_SIZE)
 
#define check_pgt_cache()   do { } while (0)
 

Variables

struct kmem_cachepgtable_cache []
 

Macro Definition Documentation

#define __pmd_free_tlb (   tlb,
  pmd,
  addr 
)    pgtable_free_tlb(tlb, pmd, PMD_INDEX_SIZE)

Definition at line 133 of file pgalloc-64.h.

#define __pud_free_tlb (   tlb,
  pud,
  addr 
)    pgtable_free_tlb(tlb, pud, PUD_INDEX_SIZE)

Definition at line 136 of file pgalloc-64.h.

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

Definition at line 141 of file pgalloc-64.h.

#define MAX_PGTABLE_INDEX_SIZE   0xf

Definition at line 35 of file pgalloc-64.h.

#define pgd_populate (   MM,
  PGD,
  PUD 
)    pgd_set(PGD, PUD)

Definition at line 52 of file pgalloc-64.h.

#define PGT_CACHE (   shift)    (pgtable_cache[(shift)-1])

Definition at line 38 of file pgalloc-64.h.

#define pmd_pgtable (   pmd)    pmd_page(pmd)

Definition at line 73 of file pgalloc-64.h.

#define pmd_populate (   mm,
  pmd,
  pte_page 
)    pmd_populate_kernel(mm, pmd, page_address(pte_page))

Definition at line 70 of file pgalloc-64.h.

#define pmd_populate_kernel (   mm,
  pmd,
  pte 
)    pmd_set(pmd, (unsigned long)(pte))

Definition at line 72 of file pgalloc-64.h.

Variable Documentation

struct kmem_cache* pgtable_cache[]

Definition at line 94 of file init_64.c.