Home
last modified time | relevance | path

Searched refs:huge_page_shift (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/fs/hugetlbfs/
Dinode.c157 len >> huge_page_shift(h), vma, in hugetlbfs_file_mmap()
316 unsigned long index = iocb->ki_pos >> huge_page_shift(h); in hugetlbfs_read_iter()
331 end_index = (isize - 1) >> huge_page_shift(h); in hugetlbfs_read_iter()
381 index += offset >> huge_page_shift(h); in hugetlbfs_read_iter()
384 iocb->ki_pos = ((loff_t)index << huge_page_shift(h)) + offset; in hugetlbfs_read_iter()
682 lstart >> huge_page_shift(h), in remove_inode_hugepages()
728 pgoff_t idx = start >> huge_page_shift(h); in hugetlbfs_zero_partial_page()
809 unsigned long hpage_shift = huge_page_shift(h); in hugetlbfs_fallocate()
1154 unsigned hpage_shift = huge_page_shift(sbinfo->hstate); in hugetlbfs_show_options()
1350 size_opt <<= huge_page_shift(h); in hugetlbfs_size_to_hpages()
[all …]
/linux-6.12.1/include/linux/
Dhugetlb.h772 static inline unsigned huge_page_shift(struct hstate *h) in huge_page_shift() function
854 if ((huge_page_shift(h) == PMD_SHIFT) || in arch_hugetlb_migration_supported()
855 (huge_page_shift(h) == PUD_SHIFT) || in arch_hugetlb_migration_supported()
856 (huge_page_shift(h) == PGDIR_SHIFT)) in arch_hugetlb_migration_supported()
1135 static inline unsigned int huge_page_shift(struct hstate *h)
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h23 shift = huge_page_shift(hstate); in hstate_get_psize()
/linux-6.12.1/arch/powerpc/mm/nohash/
De500_hugetlbpage.c190 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
/linux-6.12.1/arch/x86/include/asm/
Dtlbflush.h243 ? huge_page_shift(hstate_vma(vma)) \
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dslice.c795 return shift_to_mmu_psize(huge_page_shift(hstate)); in file_to_psize()
/linux-6.12.1/arch/riscv/kvm/
Dmmu.c622 vma_pageshift = huge_page_shift(hstate_vma(vma)); in kvm_riscv_gstage_map()
/linux-6.12.1/mm/
Dhugetlb.c994 return ((address - vma->vm_start) >> huge_page_shift(h)) + in vma_hugecache_offset()
5140 unsigned int shift = huge_page_shift(hstate_vma(vma)); in make_huge_pte()
6085 size = i_size_read(mapping->host) >> huge_page_shift(h); in hugetlb_no_page()
6664 if (idx >= (i_size_read(mapping->host) >> huge_page_shift(h))) in hugetlb_mfill_atomic_pte()
6849 unsigned int shift = huge_page_shift(hstate_vma(vma)); in hugetlb_change_protection()
Dmemory-failure.c841 return check_hwpoisoned_entry(pte, addr, huge_page_shift(h), in hwpoison_hugetlb_range()
Dmigrate.c318 unsigned int shift = huge_page_shift(h); in remove_migration_pte()
Dgup.c3678 pgshift = huge_page_shift(h); in memfd_pin_folios()
/linux-6.12.1/arch/arm64/kvm/
Dmmu.c1365 return huge_page_shift(hstate_vma(vma)); in get_vma_page_shift()