Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | 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/sysctl.h>
#include <asm/mman.h>
#include <asm/pgalloc.h>
#include <asm/tlb.h>
#include <asm/tlbflush.h>
#include <asm/cacheflush.h>
#include <asm/mmu_context.h>

Go to the source code of this file.

Macros

#define VA_EXCLUDE_START   (0x0000080000000000UL - (1UL << 32UL))
 
#define VA_EXCLUDE_END   (0xfffff80000000000UL + (1UL << 32UL))
 

Functions

unsigned long hugetlb_get_unmapped_area (struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags)
 
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)
 
void set_huge_pte_at (struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t entry)
 
pte_t huge_ptep_get_and_clear (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 *pmd, int write)
 

Macro Definition Documentation

#define VA_EXCLUDE_END   (0xfffff80000000000UL + (1UL << 32UL))

Definition at line 25 of file hugetlbpage.c.

#define VA_EXCLUDE_START   (0x0000080000000000UL - (1UL << 32UL))

Definition at line 24 of file hugetlbpage.c.

Function Documentation

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

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

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

Definition at line 242 of file hugetlbpage.c.

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

Definition at line 196 of file hugetlbpage.c.

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

Definition at line 221 of file hugetlbpage.c.

pte_t huge_ptep_get_and_clear ( struct mm_struct mm,
unsigned long  addr,
pte_t ptep 
)

Definition at line 264 of file hugetlbpage.c.

unsigned long hugetlb_get_unmapped_area ( struct file file,
unsigned long  addr,
unsigned long  len,
unsigned long  pgoff,
unsigned long  flags 
)

Definition at line 160 of file hugetlbpage.c.

int pmd_huge ( pmd_t  pmd)

Definition at line 291 of file hugetlbpage.c.

int pud_huge ( pud_t  pud)

Definition at line 296 of file hugetlbpage.c.

void set_huge_pte_at ( struct mm_struct mm,
unsigned long  addr,
pte_t ptep,
pte_t  entry 
)

Definition at line 247 of file hugetlbpage.c.