|
Linux Kernel
3.7.1
|
#include <linux/list.h>#include <linux/init.h>#include <linux/module.h>#include <linux/mm.h>#include <linux/seq_file.h>#include <linux/sysctl.h>#include <linux/highmem.h>#include <linux/mmu_notifier.h>#include <linux/nodemask.h>#include <linux/pagemap.h>#include <linux/mempolicy.h>#include <linux/cpuset.h>#include <linux/mutex.h>#include <linux/bootmem.h>#include <linux/sysfs.h>#include <linux/slab.h>#include <linux/rmap.h>#include <linux/swap.h>#include <linux/swapops.h>#include <asm/page.h>#include <asm/pgtable.h>#include <asm/tlb.h>#include <linux/io.h>#include <linux/hugetlb.h>#include <linux/hugetlb_cgroup.h>#include <linux/node.h>#include "internal.h"Go to the source code of this file.
Data Structures | |
| struct | file_region |
| struct | resv_map |
Macros | |
| #define | HPAGE_RESV_OWNER (1UL << 0) |
| #define | HPAGE_RESV_UNMAPPED (1UL << 1) |
| #define | HPAGE_RESV_MASK (HPAGE_RESV_OWNER | HPAGE_RESV_UNMAPPED) |
| #define | persistent_huge_pages(h) (h->nr_huge_pages - h->surplus_huge_pages) |
| #define | HSTATE_ATTR_RO(_name) static struct kobj_attribute _name##_attr = __ATTR_RO(_name) |
| #define | HSTATE_ATTR(_name) |
Variables | |
| const unsigned long | hugetlb_zero = 0 |
| const unsigned long | hugetlb_infinity = ~0UL |
| unsigned long | hugepages_treat_as_movable |
| int hugetlb_max_hstate | __read_mostly |
| unsigned int | default_hstate_idx |
| struct hstate | hstates [HUGE_MAX_HSTATE] |
| struct vm_operations_struct | hugetlb_vm_ops |
| #define HPAGE_RESV_MASK (HPAGE_RESV_OWNER | HPAGE_RESV_UNMAPPED) |
| #define HSTATE_ATTR | ( | _name | ) |
| #define HSTATE_ATTR_RO | ( | _name | ) | static struct kobj_attribute _name##_attr = __ATTR_RO(_name) |
|
read |
read_persistent_clock - Return time from the persistent clock.
Weak dummy function for arches that do not yet support it. Reads the time from the battery backed persistent clock. Returns a timespec with tv_sec=0 and tv_nsec=0 if unsupported.
XXX - Do be sure to remove it once all arches implement it.
read_boot_clock - Return time of the system start.
Weak dummy function for arches that do not yet support it. Function to read the exact time the system has been started. Returns a timespec with tv_sec=0 and tv_nsec=0 if unsupported.
XXX - Do be sure to remove it once all arches implement it.
__iowrite32_copy - copy data to MMIO space, in 32-bit units : destination, in MMIO space (must be 32-bit aligned) : source (must be 32-bit aligned) : number of 32-bit quantities to copy
Copy data from kernel space to MMIO space, in units of 32 bits at a time. Order of access is not guaranteed, nor is a memory barrier performed afterwards.
__iowrite64_copy - copy data to MMIO space, in 64-bit or 32-bit units : destination, in MMIO space (must be 64-bit aligned) : source (must be 64-bit aligned) : number of 64-bit quantities to copy
Copy data from kernel space to MMIO space, in units of 32 or 64 bits at a time. Order of access is not guaranteed, nor is a memory barrier performed afterwards.
| __setup | ( | ) |
| void __unmap_hugepage_range | ( | struct mmu_gather * | tlb, |
| struct vm_area_struct * | vma, | ||
| unsigned long | start, | ||
| unsigned long | end, | ||
| struct page * | ref_page | ||
| ) |
| void __unmap_hugepage_range_final | ( | struct mmu_gather * | tlb, |
| struct vm_area_struct * | vma, | ||
| unsigned long | start, | ||
| unsigned long | end, | ||
| struct page * | ref_page | ||
| ) |
| DEFINE_SPINLOCK | ( | hugetlb_lock | ) |
| EXPORT_SYMBOL_GPL | ( | vma_kernel_pagesize | ) |
| EXPORT_SYMBOL_GPL | ( | PageHuge | ) |
| HSTATE_ATTR | ( | nr_hugepages | ) |
| HSTATE_ATTR | ( | nr_overcommit_hugepages | ) |
| HSTATE_ATTR_RO | ( | free_hugepages | ) |
| HSTATE_ATTR_RO | ( | resv_hugepages | ) |
| HSTATE_ATTR_RO | ( | surplus_hugepages | ) |
| int hugetlb_reserve_pages | ( | struct inode * | inode, |
| long | from, | ||
| long | to, | ||
| struct vm_area_struct * | vma, | ||
| vm_flags_t | vm_flags | ||
| ) |
| pgoff_t linear_hugepage_index | ( | struct vm_area_struct * | vma, |
| unsigned long | address | ||
| ) |
| __initdata LIST_HEAD | ( | huge_boot_pages | ) |
| module_exit | ( | hugetlb_exit | ) |
| module_init | ( | hugetlb_init | ) |
| void reset_vma_resv_huge_pages | ( | struct vm_area_struct * | vma | ) |
| unsigned long vma_kernel_pagesize | ( | struct vm_area_struct * | vma | ) |
| unsigned long vma_mmu_pagesize | ( | struct vm_area_struct * | vma | ) |
| struct hstate hstates[HUGE_MAX_HSTATE] |
| struct vm_operations_struct hugetlb_vm_ops |
1.8.2