Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
hugetlbpage.c File Reference
#include <linux/mm.h>
#include <linux/hugetlb.h>

Go to the source code of this file.

Functions

void set_huge_pte_at (struct mm_struct *mm, unsigned long addr, pte_t *pteptr, pte_t pteval)
 
int arch_prepare_hugepage (struct page *page)
 
void arch_release_hugepage (struct page *page)
 
pte_thuge_pte_alloc (struct mm_struct *mm, unsigned long addr, unsigned long sz)
 
pte_thuge_pte_offset (struct mm_struct *mm, unsigned long addr)
 
int huge_pmd_unshare (struct mm_struct *mm, unsigned long *addr, pte_t *ptep)
 
struct pagefollow_huge_addr (struct mm_struct *mm, unsigned long address, int write)
 
int pmd_huge (pmd_t pmd)
 
int pud_huge (pud_t pud)
 
struct pagefollow_huge_pmd (struct mm_struct *mm, unsigned long address, pmd_t *pmdp, int write)
 

Function Documentation

int arch_prepare_hugepage ( struct page page)

Definition at line 28 of file hugetlbpage.c.

void arch_release_hugepage ( struct page page)

Definition at line 51 of file hugetlbpage.c.

struct page* follow_huge_addr ( struct mm_struct mm,
unsigned long  address,
int  write 
)
read

Definition at line 101 of file hugetlbpage.c.

struct page* follow_huge_pmd ( struct mm_struct mm,
unsigned long  address,
pmd_t pmdp,
int  write 
)
read

Definition at line 120 of file hugetlbpage.c.

int huge_pmd_unshare ( struct mm_struct mm,
unsigned long addr,
pte_t ptep 
)

Definition at line 96 of file hugetlbpage.c.

pte_t* huge_pte_alloc ( struct mm_struct mm,
unsigned long  addr,
unsigned long  sz 
)

Definition at line 67 of file hugetlbpage.c.

pte_t* huge_pte_offset ( struct mm_struct mm,
unsigned long  addr 
)

Definition at line 81 of file hugetlbpage.c.

int pmd_huge ( pmd_t  pmd)

Definition at line 107 of file hugetlbpage.c.

int pud_huge ( pud_t  pud)

Definition at line 115 of file hugetlbpage.c.

void set_huge_pte_at ( struct mm_struct mm,
unsigned long  addr,
pte_t pteptr,
pte_t  pteval 
)

Definition at line 12 of file hugetlbpage.c.