Home
last modified time | relevance | path

Searched refs:hstate (Results 1 – 16 of 16) sorted by relevance

/linux-3.4.99/include/linux/
Dhugetlb.h150 struct hstate *hstate; member
196 struct hstate { struct
216 struct hstate *hstate; argument
222 struct page *alloc_huge_page_node(struct hstate *h, int nid);
225 int __init alloc_bootmem_huge_page(struct hstate *h);
228 struct hstate *size_to_hstate(unsigned long size);
234 extern struct hstate hstates[HUGE_MAX_HSTATE];
239 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
243 return hsb->hstate; in hstate_inode()
246 static inline struct hstate *hstate_file(struct file *f) in hstate_file()
[all …]
/linux-3.4.99/mm/
Dhugetlb.c39 struct hstate hstates[HUGE_MAX_HSTATE];
44 static struct hstate * __initdata parsed_hstate;
297 static pgoff_t vma_hugecache_offset(struct hstate *h, in vma_hugecache_offset()
316 struct hstate *hstate; in vma_kernel_pagesize() local
321 hstate = hstate_vma(vma); in vma_kernel_pagesize()
323 return 1UL << (hstate->order + PAGE_SHIFT); in vma_kernel_pagesize()
439 static void decrement_hugepage_resv_vma(struct hstate *h, in decrement_hugepage_resv_vma()
478 struct hstate *h = page_hstate(src); in copy_gigantic_page()
495 struct hstate *h = page_hstate(src); in copy_huge_page()
509 static void enqueue_huge_page(struct hstate *h, struct page *page) in enqueue_huge_page()
[all …]
Dpagewalk.c101 static unsigned long hugetlb_entry_end(struct hstate *h, unsigned long addr, in hugetlb_entry_end()
112 struct hstate *h = hstate_vma(vma); in walk_hugetlb_range()
Dmincore.c27 struct hstate *h; in mincore_hugetlb_page_range()
/linux-3.4.99/fs/hugetlbfs/
Dinode.c50 struct hstate *hstate; member
103 struct hstate *h = hstate_file(file); in hugetlbfs_file_mmap()
155 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
258 struct hstate *h = hstate_file(filp); in hugetlbfs_read()
359 struct hstate *h = hstate_inode(inode); in truncate_hugepages()
428 struct hstate *h = hstate_inode(inode); in hugetlb_vmtruncate()
445 struct hstate *h = hstate_inode(inode); in hugetlbfs_setattr()
622 struct hstate *h = hstate_inode(dentry->d_inode); in hugetlbfs_statfs()
824 pconfig->hstate = size_to_hstate(ps); in hugetlbfs_parse_options()
825 if (!pconfig->hstate) { in hugetlbfs_parse_options()
[all …]
/linux-3.4.99/arch/powerpc/mm/
Dhugetlbpage.c240 int alloc_bootmem_huge_page(struct hstate *hstate) in alloc_bootmem_huge_page() argument
243 int idx = shift_to_mmu_psize(hstate->order + PAGE_SHIFT); in alloc_bootmem_huge_page()
263 m->hstate = hstate; in alloc_bootmem_huge_page()
357 int alloc_bootmem_huge_page(struct hstate *hstate) in alloc_bootmem_huge_page() argument
365 m->hstate = hstate; in alloc_bootmem_huge_page()
741 struct hstate *hstate = hstate_file(file); in hugetlb_get_unmapped_area() local
742 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
Dhugetlbpage-book3e.c117 struct hstate *hstate = hstate_file(vma->vm_file); in flush_hugetlb_page() local
118 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
/linux-3.4.99/arch/tile/mm/
Dhugetlbpage.c159 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
202 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
296 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/linux-3.4.99/arch/x86/mm/
Dhugetlbpage.c277 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
320 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
406 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/linux-3.4.99/arch/tile/include/asm/
Dhugetlb.h34 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux-3.4.99/arch/x86/include/asm/
Dhugetlb.h20 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux-3.4.99/arch/powerpc/include/asm/
Dkvm_book3s_asm.h111 struct kvmppc_host_state hstate; member
Dhugetlb.h76 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux-3.4.99/arch/mips/include/asm/
Dhugetlb.h27 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux-3.4.99/arch/powerpc/kernel/
Dasm-offsets.c496 # define HSTATE_FIELD(x, f) DEFINE(x, offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.f)) in main()
/linux-3.4.99/ipc/
Dshm.c674 struct hstate *h = hstate_file(shp->shm_file); in shm_add_rss_swap()