Home
last modified time | relevance | path

Searched refs:hstate_vma (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/mm/damon/
H A Dvaddr.c344 unsigned long psize = huge_page_size(hstate_vma(vma)); in damon_hugetlb_mkold()
356 addr + huge_page_size(hstate_vma(vma)))) in damon_hugetlb_mkold()
371 struct hstate *h = hstate_vma(walk->vma); in damon_mkold_hugetlb_entry()
506 struct hstate *h = hstate_vma(walk->vma); in damon_young_hugetlb_entry()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dradix_hugetlbpage.c50 unsigned long psize = huge_page_size(hstate_vma(vma)); in radix__huge_ptep_modify_prot_commit()
H A Dhugetlbpage.c152 psize = huge_page_size(hstate_vma(vma)); in huge_ptep_modify_prot_commit()
/openbmc/linux/arch/arm64/include/asm/
H A Dhugetlb.h69 unsigned long stride = huge_page_size(hstate_vma(vma)); in flush_hugetlb_tlb_range()
/openbmc/linux/mm/
H A Dhugetlb.c3030 struct hstate *h = hstate_vma(vma); in alloc_hugetlb_folio()
4863 struct hstate *h = hstate_vma(vma); in hugetlb_vm_op_close()
5214 struct hstate *h = hstate_vma(vma); in move_huge_pte()
5242 struct hstate *h = hstate_vma(vma); in move_hugetlb_page_tables()
5311 struct hstate *h = hstate_vma(vma); in __unmap_hugepage_range()
5499 struct hstate *h = hstate_vma(vma); in unmap_ref_private()
5558 struct hstate *h = hstate_vma(vma); in hugetlb_wp()
5843 struct hstate *h = hstate_vma(vma); in hugetlb_no_page()
6081 struct hstate *h = hstate_vma(vma); in hugetlb_fault()
6484 struct hstate *h = hstate_vma(vma); in hugetlb_follow_page_mask()
[all …]
H A Dhmm.c487 ptl = huge_pte_lock(hstate_vma(vma), walk->mm, pte); in hmm_vma_walk_hugetlb_entry()
493 hmm_pfn_flags_order(huge_page_order(hstate_vma(vma))); in hmm_vma_walk_hugetlb_entry()
H A Dpage_vma_mapped.c189 struct hstate *hstate = hstate_vma(vma); in page_vma_mapped_walk()
H A Dmadvise.c845 if (start & ~huge_page_mask(hstate_vma(vma))) in madvise_dontneed_free_valid_vma()
854 *end = ALIGN_DOWN(*end, huge_page_size(hstate_vma(vma))); in madvise_dontneed_free_valid_vma()
H A Dpagewalk.c313 struct hstate *h = hstate_vma(vma); in walk_hugetlb_range()
H A Dmempolicy.c578 ptl = huge_pte_lock(hstate_vma(walk->vma), walk->mm, pte); in queue_folios_hugetlb()
1754 !hugepage_migration_supported(hstate_vma(vma))) in vma_migratable()
2046 huge_page_shift(hstate_vma(vma))); in huge_node()
H A Drmap.c1517 hsz = huge_page_size(hstate_vma(vma)); in try_to_unmap_one()
1866 hsz = huge_page_size(hstate_vma(vma)); in try_to_migrate_one()
H A Dmigrate.c246 struct hstate *h = hstate_vma(vma); in remove_migration_pte()
340 spinlock_t *ptl = huge_pte_lockptr(hstate_vma(vma), vma->vm_mm, ptep); in migration_entry_wait_huge()
H A Dmremap.c971 struct hstate *h __maybe_unused = hstate_vma(vma); in SYSCALL_DEFINE5()
H A Dmemory-failure.c829 struct hstate *h = hstate_vma(walk->vma); in hwpoison_hugetlb_range()
/openbmc/linux/arch/x86/include/asm/
H A Dtlbflush.h243 ? huge_page_shift(hstate_vma(vma)) \
/openbmc/linux/include/linux/
H A Dhugetlb.h803 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma() function
1019 unsigned long psize = huge_page_size(hstate_vma(vma)); in huge_ptep_modify_prot_commit()
1085 static inline struct hstate *hstate_vma(struct vm_area_struct *vma)
/openbmc/linux/arch/riscv/kvm/
H A Dmmu.c642 vma_pageshift = huge_page_shift(hstate_vma(vma)); in kvm_riscv_gstage_map()
650 gfn = (gpa & huge_page_mask(hstate_vma(vma))) >> PAGE_SHIFT; in kvm_riscv_gstage_map()
/openbmc/linux/arch/powerpc/mm/
H A Dpgtable.c281 struct hstate *h = hstate_vma(vma); in huge_ptep_set_access_flags()
/openbmc/linux/arch/arm64/mm/
H A Dhugetlbpage.c563 unsigned long psize = huge_page_size(hstate_vma(vma)); in huge_ptep_modify_prot_commit()
/openbmc/linux/fs/proc/
H A Dtask_mmu.c739 mss->shared_hugetlb += huge_page_size(hstate_vma(vma)); in smaps_hugetlb_range()
741 mss->private_hugetlb += huge_page_size(hstate_vma(vma)); in smaps_hugetlb_range()
/openbmc/linux/arch/arm64/kvm/
H A Dmmu.c1337 return huge_page_shift(hstate_vma(vma)); in get_vma_page_shift()
/openbmc/linux/fs/hugetlbfs/
H A Dinode.c447 ptep = hugetlb_walk(vma, addr, huge_page_size(hstate_vma(vma))); in hugetlb_vma_maps_page()
/openbmc/linux/arch/sparc/mm/
H A Dinit_64.c427 hugepage_size = huge_page_size(hstate_vma(vma)); in update_mmu_cache_range()