Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
hugetlb.h File Reference
#include <linux/mm_types.h>
#include <linux/fs.h>
#include <linux/hugetlb_inline.h>
#include <linux/cgroup.h>

Go to the source code of this file.

Data Structures

struct  hstate
 

Macros

#define follow_hugetlb_page(m, v, p, vs, a, b, i, w)   ({ BUG(); 0; })
 
#define follow_huge_addr(mm, addr, write)   ERR_PTR(-EINVAL)
 
#define copy_hugetlb_page_range(src, dst, vma)   ({ BUG(); 0; })
 
#define hugetlb_prefault(mapping, vma)   ({ BUG(); 0; })
 
#define hugetlb_report_node_meminfo(n, buf)   0
 
#define follow_huge_pmd(mm, addr, pmd, write)   NULL
 
#define follow_huge_pud(mm, addr, pud, write)   NULL
 
#define prepare_hugepage_range(file, addr, len)   (-EINVAL)
 
#define pmd_huge(x)   0
 
#define pud_huge(x)   0
 
#define is_hugepage_only_range(mm, addr, len)   0
 
#define hugetlb_free_pgd_range(tlb, addr, end, floor, ceiling)   ({BUG(); 0; })
 
#define hugetlb_fault(mm, vma, addr, flags)   ({ BUG(); 0; })
 
#define huge_pte_offset(mm, address)   0
 
#define hugetlb_change_protection(vma, address, end, newprot)
 
#define HUGETLB_ANON_FILE   "anon_hugepage"
 
#define is_file_hugepages(file)   0
 
#define alloc_huge_page_node(h, nid)   NULL
 
#define alloc_bootmem_huge_page(h)   NULL
 
#define hstate_file(f)   NULL
 
#define hstate_vma(v)   NULL
 
#define hstate_inode(i)   NULL
 
#define huge_page_size(h)   PAGE_SIZE
 
#define huge_page_mask(h)   PAGE_MASK
 
#define vma_kernel_pagesize(v)   PAGE_SIZE
 
#define vma_mmu_pagesize(v)   PAGE_SIZE
 
#define huge_page_order(h)   0
 
#define huge_page_shift(h)   PAGE_SHIFT
 
#define hstate_index_to_shift(index)   0
 
#define hstate_index(h)   0
 

Enumerations

enum  { HUGETLB_SHMFS_INODE = 1, HUGETLB_ANONHUGE_INODE = 2 }
 

Macro Definition Documentation

#define alloc_bootmem_huge_page (   h)    NULL

Definition at line 347 of file hugetlb.h.

#define alloc_huge_page_node (   h,
  nid 
)    NULL

Definition at line 346 of file hugetlb.h.

#define copy_hugetlb_page_range (   src,
  dst,
  vma 
)    ({ BUG(); 0; })

Definition at line 111 of file hugetlb.h.

#define follow_huge_addr (   mm,
  addr,
  write 
)    ERR_PTR(-EINVAL)

Definition at line 110 of file hugetlb.h.

#define follow_huge_pmd (   mm,
  addr,
  pmd,
  write 
)    NULL

Definition at line 117 of file hugetlb.h.

#define follow_huge_pud (   mm,
  addr,
  pud,
  write 
)    NULL

Definition at line 118 of file hugetlb.h.

#define follow_hugetlb_page (   m,
  v,
  p,
  vs,
  a,
  b,
  i,
  w 
)    ({ BUG(); 0; })

Definition at line 109 of file hugetlb.h.

#define hstate_file (   f)    NULL

Definition at line 348 of file hugetlb.h.

#define hstate_index (   h)    0

Definition at line 362 of file hugetlb.h.

#define hstate_index_to_shift (   index)    0

Definition at line 361 of file hugetlb.h.

#define hstate_inode (   i)    NULL

Definition at line 350 of file hugetlb.h.

#define hstate_vma (   v)    NULL

Definition at line 349 of file hugetlb.h.

#define huge_page_mask (   h)    PAGE_MASK

Definition at line 352 of file hugetlb.h.

#define huge_page_order (   h)    0

Definition at line 355 of file hugetlb.h.

#define huge_page_shift (   h)    PAGE_SHIFT

Definition at line 356 of file hugetlb.h.

#define huge_page_size (   h)    PAGE_SIZE

Definition at line 351 of file hugetlb.h.

#define huge_pte_offset (   mm,
  address 
)    0

Definition at line 125 of file hugetlb.h.

#define HUGETLB_ANON_FILE   "anon_hugepage"

Definition at line 153 of file hugetlb.h.

#define hugetlb_change_protection (   vma,
  address,
  end,
  newprot 
)

Definition at line 135 of file hugetlb.h.

#define hugetlb_fault (   mm,
  vma,
  addr,
  flags 
)    ({ BUG(); 0; })

Definition at line 124 of file hugetlb.h.

#define hugetlb_free_pgd_range (   tlb,
  addr,
  end,
  floor,
  ceiling 
)    ({BUG(); 0; })

Definition at line 123 of file hugetlb.h.

#define hugetlb_prefault (   mapping,
  vma 
)    ({ BUG(); 0; })

Definition at line 112 of file hugetlb.h.

#define hugetlb_report_node_meminfo (   n,
  buf 
)    0

Definition at line 116 of file hugetlb.h.

#define is_file_hugepages (   file)    0

Definition at line 200 of file hugetlb.h.

#define is_hugepage_only_range (   mm,
  addr,
  len 
)    0

Definition at line 122 of file hugetlb.h.

#define pmd_huge (   x)    0

Definition at line 120 of file hugetlb.h.

#define prepare_hugepage_range (   file,
  addr,
  len 
)    (-EINVAL)

Definition at line 119 of file hugetlb.h.

#define pud_huge (   x)    0

Definition at line 121 of file hugetlb.h.

#define vma_kernel_pagesize (   v)    PAGE_SIZE

Definition at line 353 of file hugetlb.h.

#define vma_mmu_pagesize (   v)    PAGE_SIZE

Definition at line 354 of file hugetlb.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
HUGETLB_SHMFS_INODE 
HUGETLB_ANONHUGE_INODE 

Definition at line 155 of file hugetlb.h.