Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
pgtable.c File Reference
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/gfp.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/smp.h>
#include <linux/highmem.h>
#include <linux/pagemap.h>
#include <linux/spinlock.h>
#include <linux/quicklist.h>
#include <asm/pgtable.h>
#include <asm/pgalloc.h>
#include <asm/tlb.h>
#include <asm/tlbflush.h>

Go to the source code of this file.

Functions

void set_pmd_pfn (unsigned long vaddr, unsigned long pfn, pgprot_t flags)
 
pte_tpte_alloc_one_kernel (struct mm_struct *mm, unsigned long address)
 
struct pagepte_alloc_one (struct mm_struct *mm, unsigned long address)
 
 DEFINE_SPINLOCK (pgd_lock)
 
void pgd_ctor (void *pgd)
 
void pgd_dtor (void *pgd)
 
pgd_tpgd_alloc (struct mm_struct *mm)
 
void pgd_free (struct mm_struct *mm, pgd_t *pgd)
 
void __init pgtable_cache_init (void)
 
void check_pgt_cache (void)
 

Variables

struct pagepgd_list
 

Function Documentation

void check_pgt_cache ( void  )

Definition at line 166 of file pgtable.c.

DEFINE_SPINLOCK ( pgd_lock  )
pgd_t* pgd_alloc ( struct mm_struct mm)

Definition at line 152 of file pgtable.c.

void pgd_ctor ( void pgd)

Definition at line 123 of file pgtable.c.

void pgd_dtor ( void pgd)

Definition at line 143 of file pgtable.c.

void pgd_free ( struct mm_struct mm,
pgd_t pgd 
)

Definition at line 157 of file pgtable.c.

void __init pgtable_cache_init ( void  )

Definition at line 162 of file pgtable.c.

struct page* pte_alloc_one ( struct mm_struct mm,
unsigned long  address 
)
read

Definition at line 72 of file pgtable.c.

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

Definition at line 64 of file pgtable.c.

void set_pmd_pfn ( unsigned long  vaddr,
unsigned long  pfn,
pgprot_t  flags 
)

Definition at line 35 of file pgtable.c.

Variable Documentation

struct page* pgd_list

Definition at line 101 of file pgtable.c.