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>

Go to the source code of this file.

Functions

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)
 
int is_aligned_hugepage_range (unsigned long addr, unsigned long len)
 
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)
 

Function Documentation

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

Definition at line 73 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 89 of file hugetlbpage.c.

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

Definition at line 55 of file hugetlbpage.c.

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

Definition at line 25 of file hugetlbpage.c.

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

Definition at line 40 of file hugetlbpage.c.

int is_aligned_hugepage_range ( unsigned long  addr,
unsigned long  len 
)

Definition at line 63 of file hugetlbpage.c.

int pmd_huge ( pmd_t  pmd)

Definition at line 78 of file hugetlbpage.c.

int pud_huge ( pud_t  pud)

Definition at line 83 of file hugetlbpage.c.