Searched refs:hstate (Results 1 – 19 of 19) sorted by relevance
13 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_page() local15 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_page()22 struct hstate *hstate = hstate_file(vma->vm_file); in radix__local_flush_hugetlb_page() local24 psize = hstate_get_psize(hstate); in radix__local_flush_hugetlb_page()32 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_tlb_range() local34 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_tlb_range()
794 struct hstate *hstate = hstate_file(file); in file_to_psize() local795 return shift_to_mmu_psize(huge_page_shift(hstate)); in file_to_psize()
19 static inline int hstate_get_psize(struct hstate *hstate) in hstate_get_psize() argument23 shift = huge_page_shift(hstate); in hstate_get_psize()
53 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()76 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()116 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
190 struct hstate *hstate = hstate_file(vma->vm_file); in flush_hugetlb_page() local191 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
222 static int __init pseries_alloc_bootmem_huge_page(struct hstate *hstate) in pseries_alloc_bootmem_huge_page() argument230 m->hstate = hstate; in pseries_alloc_bootmem_huge_page()241 int __init alloc_bootmem_huge_page(struct hstate *h, int nid) in alloc_bootmem_huge_page()
278 struct hstate *h = hstate_vma(vma); in huge_ptep_set_access_flags()
15 bool arch_hugetlb_migration_supported(struct hstate *h);
260 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()276 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()308 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
20 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
19 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
18 extern bool arch_hugetlb_migration_supported(struct hstate *h);
140 struct kvmppc_host_state hstate; member
32 struct hstate *h = hstate_file(filp); in hugetlb_get_unmapped_area_bottomup()63 struct hstate *h = hstate_file(filp); in hugetlb_get_unmapped_area_topdown()100 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
33 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
28 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
128 unsigned long hugetlb_mask_last_page(struct hstate *h) in hugetlb_mask_last_page()430 bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()
76 bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()356 unsigned long hugetlb_mask_last_page(struct hstate *h) in hugetlb_mask_last_page()
526 # define HSTATE_FIELD(x, f) DEFINE(x, offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.f)) in main()