Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
pgalloc.c File Reference
#include <linux/sched.h>
#include <linux/gfp.h>
#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/quicklist.h>
#include <asm/pgalloc.h>
#include <asm/page.h>
#include <asm/cacheflush.h>

Go to the source code of this file.


pgd_t swapper_pg_dir[PTRS_PER_PGD__attribute__ ((aligned(PAGE_SIZE)))
pte_tpte_alloc_one_kernel (struct mm_struct *mm, unsigned long address)
pgtable_t pte_alloc_one (struct mm_struct *mm, unsigned long address)
void __set_pmd (pmd_t *pmdptr, unsigned long pmd)
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)


struct pagepgd_list

Function Documentation

void __set_pmd ( pmd_t pmdptr,
unsigned long  pmd 

Definition at line 48 of file pgalloc.c.

void check_pgt_cache ( void  )

Definition at line 149 of file pgalloc.c.

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

Definition at line 134 of file pgalloc.c.

void pgd_ctor ( void pgd)

Definition at line 105 of file pgalloc.c.

void pgd_dtor ( void pgd)

Definition at line 125 of file pgalloc.c.

void pgd_free ( struct mm_struct mm,
pgd_t pgd 

Definition at line 139 of file pgalloc.c.

void __init pgtable_cache_init ( void  )

Definition at line 145 of file pgalloc.c.

pgtable_t pte_alloc_one ( struct mm_struct mm,
unsigned long  address 

Definition at line 31 of file pgalloc.c.

pte_t* pte_alloc_one_kernel ( struct mm_struct mm,
unsigned long  address 

Definition at line 23 of file pgalloc.c.

Variable Documentation

struct page* pgd_list

Definition at line 83 of file pgalloc.c.