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/init.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/pagemap.h>
#include <linux/err.h>
#include <linux/sysctl.h>
#include <asm/mman.h>
#include <asm/tlb.h>
#include <asm/tlbflush.h>
#include <asm/pgalloc.h>

Go to the source code of this file.

Functions

int huge_pmd_unshare (struct mm_struct *mm, unsigned long *addr, pte_t *ptep)
 
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)
 
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 *pmd, int write)
 
struct pagefollow_huge_pud (struct mm_struct *mm, unsigned long address, pud_t *pud, int write)
 

Function Documentation

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

Definition at line 228 of file hugetlbpage.c.

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

Definition at line 244 of file hugetlbpage.c.

struct page* follow_huge_pud ( struct mm_struct mm,
unsigned long  address,
pud_t pud,
int  write 
)
read

Definition at line 256 of file hugetlbpage.c.

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

Definition at line 124 of file hugetlbpage.c.

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

Definition at line 139 of file hugetlbpage.c.

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

Definition at line 164 of file hugetlbpage.c.

int pmd_huge ( pmd_t  pmd)

Definition at line 233 of file hugetlbpage.c.

int pud_huge ( pud_t  pud)

Definition at line 238 of file hugetlbpage.c.