Home
last modified time | relevance | path

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

/arch/powerpc/mm/book3s64/
Dradix_hugetlbpage.c13 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_page() local
15 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() local
24 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() local
34 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_tlb_range()
Dslice.c794 struct hstate *hstate = hstate_file(file); in file_to_psize() local
795 return shift_to_mmu_psize(huge_page_shift(hstate)); in file_to_psize()
/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h19 static inline int hstate_get_psize(struct hstate *hstate) in hstate_get_psize() argument
23 shift = huge_page_shift(hstate); in hstate_get_psize()
/arch/x86/mm/
Dhugetlbpage.c53 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()
/arch/powerpc/mm/nohash/
De500_hugetlbpage.c190 struct hstate *hstate = hstate_file(vma->vm_file); in flush_hugetlb_page() local
191 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
/arch/powerpc/mm/
Dhugetlbpage.c222 static int __init pseries_alloc_bootmem_huge_page(struct hstate *hstate) in pseries_alloc_bootmem_huge_page() argument
230 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()
Dpgtable.c278 struct hstate *h = hstate_vma(vma); in huge_ptep_set_access_flags()
/arch/riscv/include/asm/
Dhugetlb.h15 bool arch_hugetlb_migration_supported(struct hstate *h);
/arch/s390/mm/
Dhugetlbpage.c260 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()
/arch/mips/include/asm/
Dhugetlb.h20 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/arch/loongarch/include/asm/
Dhugetlb.h19 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/arch/arm64/include/asm/
Dhugetlb.h18 extern bool arch_hugetlb_migration_supported(struct hstate *h);
/arch/powerpc/include/asm/
Dkvm_book3s_asm.h140 struct kvmppc_host_state hstate; member
/arch/sparc/mm/
Dhugetlbpage.c32 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()
/arch/s390/include/asm/
Dhugetlb.h33 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/arch/parisc/mm/
Dhugetlbpage.c28 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/arch/riscv/mm/
Dhugetlbpage.c128 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()
/arch/arm64/mm/
Dhugetlbpage.c76 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()
/arch/powerpc/kernel/
Dasm-offsets.c526 # define HSTATE_FIELD(x, f) DEFINE(x, offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.f)) in main()