Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/pagemap.h>
#include <linux/module.h>
#include <linux/sysctl.h>
#include <linux/log2.h>
#include <asm/mman.h>
#include <asm/pgalloc.h>
#include <asm/tlb.h>
#include <asm/tlbflush.h>
Go to the source code of this file.
Macros | |
#define | mk_pte_huge(entry) { pte_val(entry) |= _PAGE_P; } |
Functions | |
EXPORT_SYMBOL (hpage_shift) | |
pte_t * | huge_pte_alloc (struct mm_struct *mm, unsigned long addr, unsigned long sz) |
pte_t * | huge_pte_offset (struct mm_struct *mm, unsigned long addr) |
int | huge_pmd_unshare (struct mm_struct *mm, unsigned long *addr, pte_t *ptep) |
int | prepare_hugepage_range (struct file *file, unsigned long addr, unsigned long len) |
struct page * | follow_huge_addr (struct mm_struct *mm, unsigned long addr, int write) |
int | pmd_huge (pmd_t pmd) |
int | pud_huge (pud_t pud) |
struct page * | follow_huge_pmd (struct mm_struct *mm, unsigned long address, pmd_t *pmd, int write) |
void | hugetlb_free_pgd_range (struct mmu_gather *tlb, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) |
unsigned long | hugetlb_get_unmapped_area (struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) |
early_param ("hugepagesz", hugetlb_setup_sz) | |
Variables | |
unsigned int | hpage_shift = HPAGE_SHIFT_DEFAULT |
Definition at line 73 of file hugetlbpage.c.
early_param | ( | "hugepagesz" | , |
hugetlb_setup_sz | |||
) |
EXPORT_SYMBOL | ( | hpage_shift | ) |
Definition at line 92 of file hugetlbpage.c.
|
read |
Definition at line 118 of file hugetlbpage.c.
Definition at line 68 of file hugetlbpage.c.
Definition at line 28 of file hugetlbpage.c.
Definition at line 47 of file hugetlbpage.c.
void hugetlb_free_pgd_range | ( | struct mmu_gather * | tlb, |
unsigned long | addr, | ||
unsigned long | end, | ||
unsigned long | floor, | ||
unsigned long | ceiling | ||
) |
Definition at line 123 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 148 of file hugetlbpage.c.
Definition at line 107 of file hugetlbpage.c.
Definition at line 79 of file hugetlbpage.c.
Definition at line 112 of file hugetlbpage.c.
unsigned int hpage_shift = HPAGE_SHIFT_DEFAULT |
Definition at line 24 of file hugetlbpage.c.