Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mcf_pgalloc.h File Reference
#include <asm/tlb.h>
#include <asm/tlbflush.h>

Go to the source code of this file.

Macros

#define pmd_alloc_one_fast(mm, address)   ({ BUG(); ((pmd_t *)1); })
 
#define pmd_alloc_one(mm, address)   ({ BUG(); ((pmd_t *)2); })
 
#define pte_alloc_one_fast(mm, addr)   pte_alloc_one(mm, addr)
 
#define pmd_populate(mm, pmd, page)
 
#define pmd_populate_kernel(mm, pmd, pte)   (pmd_val(*pmd) = (unsigned long)(pte))
 
#define pmd_pgtable(pmd)   pmd_page(pmd)
 
#define __pmd_free_tlb(tlb, pmd, address)   do { } while (0)
 
#define pmd_free(mm, pmd)   BUG()
 
#define pgd_populate(mm, pmd, pte)   BUG()
 

Functions

void pte_free_kernel (struct mm_struct *mm, pte_t *pte)
 
pte_tpte_alloc_one_kernel (struct mm_struct *mm, unsigned long address)
 
pmd_tpmd_alloc_kernel (pgd_t *pgd, unsigned long address)
 
void pte_free (struct mm_struct *mm, struct page *page)
 

Variables

const char bad_pmd_string []
 

Macro Definition Documentation

#define __pmd_free_tlb (   tlb,
  pmd,
  address 
)    do { } while (0)

Definition at line 49 of file mcf_pgalloc.h.

#define pgd_populate (   mm,
  pmd,
  pte 
)    BUG()

Definition at line 100 of file mcf_pgalloc.h.

#define pmd_alloc_one (   mm,
  address 
)    ({ BUG(); ((pmd_t *)2); })

Definition at line 32 of file mcf_pgalloc.h.

#define pmd_alloc_one_fast (   mm,
  address 
)    ({ BUG(); ((pmd_t *)1); })

Definition at line 31 of file mcf_pgalloc.h.

#define pmd_free (   mm,
  pmd 
)    BUG()

Definition at line 81 of file mcf_pgalloc.h.

#define pmd_pgtable (   pmd)    pmd_page(pmd)

Definition at line 41 of file mcf_pgalloc.h.

#define pmd_populate (   mm,
  pmd,
  page 
)
Value:
(pmd_val(*pmd) = \
(unsigned long)(page_address(page)))

Definition at line 36 of file mcf_pgalloc.h.

#define pmd_populate_kernel (   mm,
  pmd,
  pte 
)    (pmd_val(*pmd) = (unsigned long)(pte))

Definition at line 39 of file mcf_pgalloc.h.

#define pte_alloc_one_fast (   mm,
  addr 
)    pte_alloc_one(mm, addr)

Definition at line 34 of file mcf_pgalloc.h.

Function Documentation

pmd_t* pmd_alloc_kernel ( pgd_t pgd,
unsigned long  address 
)
inline

Definition at line 26 of file mcf_pgalloc.h.

pte_t* pte_alloc_one_kernel ( struct mm_struct mm,
unsigned long  address 
)
inline

Definition at line 14 of file mcf_pgalloc.h.

void pte_free ( struct mm_struct mm,
struct page page 
)
inline

Definition at line 72 of file mcf_pgalloc.h.

void pte_free_kernel ( struct mm_struct mm,
pte_t pte 
)
inline

Definition at line 7 of file mcf_pgalloc.h.

Variable Documentation

const char bad_pmd_string[]

Definition at line 29 of file sun3mmu.c.