Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dhugetlb.h28 struct hstate *hstate; member
50 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
94 u32 hugetlb_fault_mutex_hash(struct hstate *h, struct mm_struct *mm,
253 struct hstate *hstate; member
302 struct hstate { struct
327 struct hstate *hstate; argument
335 struct page *alloc_huge_page_node(struct hstate *h, int nid);
342 int __init alloc_bootmem_huge_page(struct hstate *h);
345 struct hstate *size_to_hstate(unsigned long size);
351 extern struct hstate hstates[HUGE_MAX_HSTATE];
[all …]
/linux-4.4.14/mm/
Dhugetlb.c42 struct hstate hstates[HUGE_MAX_HSTATE];
52 static struct hstate * __initdata parsed_hstate;
70 static int hugetlb_acct_memory(struct hstate *h, long delta);
83 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool()
89 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool()
101 spool->hstate = h; in hugepage_new_subpool()
575 struct hstate *h = hstate_inode(inode); in hugetlb_fix_reserve_counts()
616 static pgoff_t vma_hugecache_offset(struct hstate *h, in vma_hugecache_offset()
635 struct hstate *hstate; in vma_kernel_pagesize() local
640 hstate = hstate_vma(vma); in vma_kernel_pagesize()
[all …]
Dhugetlb_cgroup.c148 struct hstate *h; in hugetlb_cgroup_css_offline()
340 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_init()
382 struct hstate *h; in hugetlb_cgroup_file_init()
402 struct hstate *h = page_hstate(oldhpage); in hugetlb_cgroup_migrate()
Dpagewalk.c125 static unsigned long hugetlb_entry_end(struct hstate *h, unsigned long addr, in hugetlb_entry_end()
136 struct hstate *h = hstate_vma(vma); in walk_hugetlb_range()
Dmigrate.c502 struct hstate *h = page_hstate(src); in copy_huge_page()
Dmmap.c1433 struct hstate *hs; in SYSCALL_DEFINE6()
/linux-4.4.14/fs/hugetlbfs/
Dinode.c54 struct hstate *hstate; member
126 struct hstate *h = hstate_file(file); in hugetlbfs_file_mmap()
176 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
245 struct hstate *h = hstate_file(file); in hugetlbfs_read_iter()
352 struct hstate *h = hstate_inode(inode); in remove_inode_hugepages()
497 struct hstate *h = hstate_inode(inode); in hugetlb_vmtruncate()
513 struct hstate *h = hstate_inode(inode); in hugetlbfs_punch_hole()
546 struct hstate *h = hstate_inode(inode); in hugetlbfs_fallocate()
663 struct hstate *h = hstate_inode(inode); in hugetlbfs_setattr()
856 struct hstate *h = hstate_inode(d_inode(dentry)); in hugetlbfs_statfs()
[all …]
/linux-4.4.14/arch/powerpc/mm/
Dhugetlbpage.c323 int alloc_bootmem_huge_page(struct hstate *hstate) in alloc_bootmem_huge_page() argument
326 int idx = shift_to_mmu_psize(huge_page_shift(hstate)); in alloc_bootmem_huge_page()
346 m->hstate = hstate; in alloc_bootmem_huge_page()
448 int alloc_bootmem_huge_page(struct hstate *hstate) in alloc_bootmem_huge_page() argument
456 m->hstate = hstate; in alloc_bootmem_huge_page()
784 struct hstate *hstate = hstate_file(file); in hugetlb_get_unmapped_area() local
785 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
Dhugetlbpage-book3e.c149 struct hstate *hstate = hstate_file(vma->vm_file); in flush_hugetlb_page() local
150 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
/linux-4.4.14/arch/x86/mm/
Dhugetlbpage.c79 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
95 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
128 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/linux-4.4.14/arch/tile/mm/
Dhugetlbpage.c168 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
184 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
216 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/linux-4.4.14/arch/arm/include/asm/
Dhugetlb.h48 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux-4.4.14/arch/metag/mm/
Dhugetlbpage.c34 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
199 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/linux-4.4.14/arch/arm64/include/asm/
Dhugetlb.h77 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux-4.4.14/arch/x86/include/asm/
Dhugetlb.h22 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux-4.4.14/arch/tile/include/asm/
Dhugetlb.h35 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux-4.4.14/arch/mips/include/asm/
Dhugetlb.h28 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux-4.4.14/arch/powerpc/include/asm/
Dkvm_book3s_asm.h148 struct kvmppc_host_state hstate;
Dhugetlb.h107 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux-4.4.14/arch/parisc/mm/
Dhugetlbpage.c27 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/linux-4.4.14/ipc/
Dshm.c557 struct hstate *hs; in newseg()
762 struct hstate *h = hstate_file(shp->shm_file); in shm_add_rss_swap()
/linux-4.4.14/arch/powerpc/kernel/
Dasm-offsets.c605 # define HSTATE_FIELD(x, f) DEFINE(x, offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.f)) in main()