Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pgalloc.h File Reference
#include <asm/pgtable-hwdef.h>
#include <asm/processor.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>

Go to the source code of this file.

Macros

#define check_pgt_cache()   do { } while (0)
 
#define _PAGE_USER_TABLE   (PMD_TYPE_TABLE | PMD_PRESENT)
 
#define _PAGE_KERNEL_TABLE   (PMD_TYPE_TABLE | PMD_PRESENT)
 
#define pgd_alloc(mm)   get_pgd_slow(mm)
 
#define pgd_free(mm, pgd)   free_pgd_slow(mm, pgd)
 
#define PGALLOC_GFP   (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)
 
#define pmd_pgtable(pmd)   pmd_page(pmd)
 

Functions

pgd_tget_pgd_slow (struct mm_struct *mm)
 
void free_pgd_slow (struct mm_struct *mm, pgd_t *pgd)
 

Macro Definition Documentation

#define _PAGE_KERNEL_TABLE   (PMD_TYPE_TABLE | PMD_PRESENT)

Definition at line 23 of file pgalloc.h.

#define _PAGE_USER_TABLE   (PMD_TYPE_TABLE | PMD_PRESENT)

Definition at line 22 of file pgalloc.h.

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

Definition at line 20 of file pgalloc.h.

#define PGALLOC_GFP   (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)

Definition at line 31 of file pgalloc.h.

#define pgd_alloc (   mm)    get_pgd_slow(mm)

Definition at line 28 of file pgalloc.h.

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

Definition at line 29 of file pgalloc.h.

#define pmd_pgtable (   pmd)    pmd_page(pmd)

Definition at line 108 of file pgalloc.h.

Function Documentation

void free_pgd_slow ( struct mm_struct mm,
pgd_t pgd 
)

Definition at line 78 of file pgd.c.

pgd_t* get_pgd_slow ( struct mm_struct mm)

Definition at line 27 of file pgd.c.