/linux-4.1.27/include/linux/ |
D | hugetlb.h | 28 struct hstate *hstate; member 47 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, 243 struct hstate *hstate; member 292 struct hstate { struct 317 struct hstate *hstate; argument 323 struct page *alloc_huge_page_node(struct hstate *h, int nid); 328 int __init alloc_bootmem_huge_page(struct hstate *h); 331 struct hstate *size_to_hstate(unsigned long size); 337 extern struct hstate hstates[HUGE_MAX_HSTATE]; 342 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode() [all …]
|
/linux-4.1.27/mm/ |
D | hugetlb.c | 42 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() 400 static pgoff_t vma_hugecache_offset(struct hstate *h, in vma_hugecache_offset() 419 struct hstate *hstate; in vma_kernel_pagesize() local 424 hstate = hstate_vma(vma); in vma_kernel_pagesize() 426 return 1UL << huge_page_shift(hstate); in vma_kernel_pagesize() [all …]
|
D | hugetlb_cgroup.c | 148 struct hstate *h; in hugetlb_cgroup_css_offline() 339 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_init() 381 struct hstate *h; in hugetlb_cgroup_file_init() 401 struct hstate *h = page_hstate(oldhpage); in hugetlb_cgroup_migrate()
|
D | pagewalk.c | 125 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()
|
D | migrate.c | 465 struct hstate *h = page_hstate(src); in copy_huge_page()
|
D | mmap.c | 1422 struct hstate *hs; in SYSCALL_DEFINE6()
|
/linux-4.1.27/fs/hugetlbfs/ |
D | inode.c | 53 struct hstate *hstate; member 102 struct hstate *h = hstate_file(file); in hugetlbfs_file_mmap() 153 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area() 222 struct hstate *h = hstate_file(file); in hugetlbfs_read_iter() 306 struct hstate *h = hstate_inode(inode); in truncate_hugepages() 380 struct hstate *h = hstate_inode(inode); in hugetlb_vmtruncate() 397 struct hstate *h = hstate_inode(inode); in hugetlbfs_setattr() 590 struct hstate *h = hstate_inode(d_inode(dentry)); in hugetlbfs_statfs() 742 hugetlbfs_size_to_hpages(struct hstate *h, unsigned long long size_opt, in hugetlbfs_size_to_hpages() 820 pconfig->hstate = size_to_hstate(ps); in hugetlbfs_parse_options() [all …]
|
/linux-4.1.27/arch/powerpc/mm/ |
D | hugetlbpage.c | 304 int alloc_bootmem_huge_page(struct hstate *hstate) in alloc_bootmem_huge_page() argument 307 int idx = shift_to_mmu_psize(huge_page_shift(hstate)); in alloc_bootmem_huge_page() 327 m->hstate = hstate; in alloc_bootmem_huge_page() 429 int alloc_bootmem_huge_page(struct hstate *hstate) in alloc_bootmem_huge_page() argument 437 m->hstate = hstate; in alloc_bootmem_huge_page() 769 struct hstate *hstate = hstate_file(file); in hugetlb_get_unmapped_area() local 770 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
|
D | hugetlbpage-book3e.c | 149 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.1.27/arch/x86/mm/ |
D | hugetlbpage.c | 79 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.1.27/arch/tile/mm/ |
D | hugetlbpage.c | 173 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup() 189 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown() 221 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
|
/linux-4.1.27/arch/metag/mm/ |
D | hugetlbpage.c | 34 struct hstate *h = hstate_file(file); in prepare_hugepage_range() 204 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
|
/linux-4.1.27/arch/arm/include/asm/ |
D | hugetlb.h | 48 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | hugetlb.h | 22 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | hugetlb.h | 81 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | kvm_book3s_asm.h | 128 struct kvmppc_host_state hstate;
|
D | hugetlb.h | 107 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | hugetlb.h | 28 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/linux-4.1.27/arch/tile/include/asm/ |
D | hugetlb.h | 35 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/linux-4.1.27/ipc/ |
D | shm.c | 557 struct hstate *hs; in newseg() 762 struct hstate *h = hstate_file(shp->shm_file); in shm_add_rss_swap()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | asm-offsets.c | 604 # define HSTATE_FIELD(x, f) DEFINE(x, offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.f)) in main()
|