Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pgalloc_32.h File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <asm/pgtsrmmu.h>
#include <asm/pgtable.h>
#include <asm/vaddrs.h>
#include <asm/page.h>

Go to the source code of this file.

Macros

#define check_pgt_cache()   do { } while (0)
 
#define pgd_free(mm, pgd)   free_pgd_fast(pgd)
 
#define pgd_alloc(mm)   get_pgd_fast()
 
#define pgd_populate(MM, PGD, PMD)   pgd_set(PGD, PMD)
 
#define pmd_free(mm, pmd)   free_pmd_fast(pmd)
 
#define __pmd_free_tlb(tlb, pmd, addr)   pmd_free((tlb)->mm, pmd)
 
#define pmd_pgtable(pmd)   pmd_page(pmd)
 
#define pmd_populate_kernel(MM, PMD, PTE)   pmd_set(PMD, PTE)
 
#define pte_free_kernel(mm, pte)   free_pte_fast(pte)
 
#define __pte_free_tlb(tlb, pte, addr)   pte_free((tlb)->mm, pte)
 

Functions

voidsrmmu_get_nocache (int size, int align)
 
void srmmu_free_nocache (void *addr, int size)
 
pgd_tget_pgd_fast (void)
 
void pmd_populate (struct mm_struct *mm, pmd_t *pmdp, struct page *ptep)
 
void pmd_set (pmd_t *pmdp, pte_t *ptep)
 
pgtable_t pte_alloc_one (struct mm_struct *mm, unsigned long address)
 
void pte_free (struct mm_struct *mm, pgtable_t pte)
 

Macro Definition Documentation

#define __pmd_free_tlb (   tlb,
  pmd,
  addr 
)    pmd_free((tlb)->mm, pmd)

Definition at line 50 of file pgalloc_32.h.

#define __pte_free_tlb (   tlb,
  pte,
  addr 
)    pte_free((tlb)->mm, pte)

Definition at line 75 of file pgalloc_32.h.

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

Definition at line 17 of file pgalloc_32.h.

#define pgd_alloc (   mm)    get_pgd_fast()

Definition at line 26 of file pgalloc_32.h.

#define pgd_free (   mm,
  pgd 
)    free_pgd_fast(pgd)

Definition at line 25 of file pgalloc_32.h.

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

Definition at line 35 of file pgalloc_32.h.

#define pmd_free (   mm,
  pmd 
)    free_pmd_fast(pmd)

Definition at line 49 of file pgalloc_32.h.

#define pmd_pgtable (   pmd)    pmd_page(pmd)

Definition at line 53 of file pgalloc_32.h.

#define pmd_populate_kernel (   MM,
  PMD,
  PTE 
)    pmd_set(PMD, PTE)

Definition at line 56 of file pgalloc_32.h.

#define pte_free_kernel (   mm,
  pte 
)    free_pte_fast(pte)

Definition at line 72 of file pgalloc_32.h.

Function Documentation

pgd_t* get_pgd_fast ( void  )

Definition at line 315 of file srmmu.c.

void pmd_populate ( struct mm_struct mm,
pmd_t pmdp,
struct page ptep 
)

Definition at line 123 of file srmmu.c.

void pmd_set ( pmd_t pmdp,
pte_t ptep 
)
inline

Definition at line 226 of file pgtable.h.

pgtable_t pte_alloc_one ( struct mm_struct mm,
unsigned long  address 
)
read

Definition at line 31 of file pgalloc.c.

void pte_free ( struct mm_struct mm,
pgtable_t  pte 
)

Definition at line 2568 of file init_64.c.

void srmmu_free_nocache ( void addr,
int  size 
)

Definition at line 193 of file srmmu.c.

void* srmmu_get_nocache ( int  size,
int  align 
)

Definition at line 181 of file srmmu.c.