Home
last modified time | relevance | path

Searched refs:HPAGE_PMD_MASK (Results 1 – 13 of 13) sorted by relevance

/linux/mm/
H A Dpgtable-generic.c116 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_set_access_flags()
130 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_clear_flush_young()
143 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_huge_clear_flush()
228 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_collapse_flush()
H A Dkhugepaged.c1105 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in collapse_huge_page()
1262 VM_BUG_ON(start_addr & ~HPAGE_PMD_MASK); in hpage_collapse_scan_pmd()
1497 unsigned long haddr = addr & HPAGE_PMD_MASK; in collapse_pte_mapped_thp()
1764 if (addr & ~HPAGE_PMD_MASK || in retract_page_tables()
2453 VM_BUG_ON(khugepaged_scan.address & ~HPAGE_PMD_MASK); in khugepaged_scan_mm_slot()
2784 hstart = (start + ~HPAGE_PMD_MASK) & HPAGE_PMD_MASK; in madvise_collapse()
2785 hend = end & HPAGE_PMD_MASK; in madvise_collapse()
2801 hend = min(hend, vma->vm_end & HPAGE_PMD_MASK); in madvise_collapse()
H A Dhuge_memory.c1260 folio = vma_alloc_folio(gfp, order, vma, addr & HPAGE_PMD_MASK); in vma_alloc_anon_folio_pmd()
1322 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in __do_huge_pmd_anonymous_page()
1461 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_huge_pmd_anonymous_page()
1781 if (pmdp_set_access_flags(vma, addr & HPAGE_PMD_MASK, in touch_pmd()
2027 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_huge_zero_wp_pmd()
2063 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_huge_pmd_wp_page()
2186 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_huge_pmd_numa_page()
2723 if (WARN_ON_ONCE(!pmd_none(dst_pmdval)) || WARN_ON_ONCE(src_addr & ~HPAGE_PMD_MASK) || in move_pages_huge_pmd()
2724 WARN_ON_ONCE(dst_addr & ~HPAGE_PMD_MASK)) { in move_pages_huge_pmd()
2998 VM_BUG_ON(haddr & ~HPAGE_PMD_MASK); in __split_huge_pmd_locked()
[all …]
H A Duserfaultfd.c1521 return (src_addr & ~HPAGE_PMD_MASK) || (dst_addr & ~HPAGE_PMD_MASK) || in move_splits_huge_pmd()
H A Ddebug_vm_pgtable.c241 vaddr &= HPAGE_PMD_MASK; in pmd_advanced_tests()
H A Dgup.c740 page += (addr & ~HPAGE_PMD_MASK) >> PAGE_SHIFT; in follow_huge_pmd()
H A Dmemory.c5370 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_set_pmd()
/linux/arch/riscv/mm/
H A Dpgtable.c142 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_collapse_flush()
/linux/arch/powerpc/mm/book3s64/
H A Dpgtable.c205 VM_BUG_ON(addr & ~HPAGE_PMD_MASK); in pmdp_huge_get_and_clear_full()
224 VM_BUG_ON(addr & ~HPAGE_PMD_MASK); in pudp_huge_get_and_clear_full()
H A Dradix_pgtable.c1469 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in radix__pmdp_collapse_flush()
H A Dhash_utils.c2232 s_addr = addr & HPAGE_PMD_MASK; in flush_hash_hugepage()
/linux/arch/x86/mm/
H A Dpgtable.c410 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_set_access_flags()
511 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_clear_flush_young()
/linux/include/linux/
H A Dhuge_mm.h119 #define HPAGE_PMD_MASK (~(HPAGE_PMD_SIZE - 1)) macro