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

Go to the source code of this file.

Macros

#define __pgd_alloc()   (pgd_t *)__get_free_pages(GFP_KERNEL, 2)
 
#define __pgd_free(pgd)   free_pages((unsigned long)pgd, 2)
 

Functions

pgd_tpgd_alloc (struct mm_struct *mm)
 
void pgd_free (struct mm_struct *mm, pgd_t *pgd_base)
 

Macro Definition Documentation

#define __pgd_alloc ( )    (pgd_t *)__get_free_pages(GFP_KERNEL, 2)

Definition at line 26 of file pgd.c.

#define __pgd_free (   pgd)    free_pages((unsigned long)pgd, 2)

Definition at line 27 of file pgd.c.

Function Documentation

pgd_t* pgd_alloc ( struct mm_struct mm)

Definition at line 33 of file pgd.c.

void pgd_free ( struct mm_struct mm,
pgd_t pgd_base 
)

Definition at line 107 of file pgd.c.